1ALLEGRO_MONITOR_INFO(3) ALLEGRO_MONITOR_INFO(3)
2
3
4
6 ALLEGRO_MONITOR_INFO - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 typedef struct ALLEGRO_MONITOR_INFO
12
14 Describes a monitor's size and position relative to other monitors.
15 x1, y1 will be 0, 0 on the primary display. Other monitors can have
16 negative values if they are to the left or above the primary display.
17 x2, y2 are the coordinates one beyond the bottom right pixel, so that
18 x2-x1 gives the width and y2-y1 gives the height of the display.
19
20 typedef struct ALLEGRO_MONITOR_INFO
21 {
22 int x1;
23 int y1;
24 int x2;
25 int y2;
26 } ALLEGRO_MONITOR_INFO;
27
29 al_get_monitor_info(3)
30
31
32
33Allegro reference manual ALLEGRO_MONITOR_INFO(3)