.\" Automatically generated by Pandoc 2.17.1.1 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "ALLEGRO_MONITOR_INFO" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP ALLEGRO_MONITOR_INFO - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include typedef struct ALLEGRO_MONITOR_INFO \f[R] .fi .SH DESCRIPTION .PP Describes a monitor\[cq]s size and position relative to other monitors. x1, y1 will be 0, 0 on the primary display. Other monitors can have negative values if they are to the left or above the primary display. x2, y2 are the coordinates one beyond the bottom right pixel, so that x2-x1 gives the width and y2-y1 gives the height of the display. .IP .nf \f[C] typedef struct ALLEGRO_MONITOR_INFO { int x1; int y1; int x2; int y2; } ALLEGRO_MONITOR_INFO; \f[R] .fi .SH SEE ALSO .PP al_get_monitor_info(3alleg5)