DOKK / manpages / debian 11 / allegro5-doc / al_get_monitor_dpi.3alleg5.en
al_get_monitor_dpi(3alleg5) al_get_monitor_dpi(3alleg5)

al_get_monitor_dpi - Allegro 5 API

#include <allegro5/allegro.h>
int al_get_monitor_dpi(int adapter)
    

Get the dots per inch of a monitor attached to the display adapter.

5.2.5

al_get_num_video_adapters(3alleg5)

Allegro reference manual