al_get_monitor_dpi(3)
β¨ NAME β¨
Bestie, welcome to the Library Functions Manual β section 3, where the Allegro 5 API lives β and today's main character is al_get_monitor_dpi π
. She gets the dots per inch of a monitor attached to the display adapter, and that's the whole vibe π₯οΈβ¨.
π SYNOPSIS π
#include <allegro5/allegro.h>
int al_get_monitor_dpi(int adapter)
π DESCRIPTION π
Okay so al_get_monitor_dpi gets the dots per inch of a monitor attached to the display adapter πΈ. That's the tea β.
πΈ SINCE πΈ
Available since 5.2.5, periodt π.
π¦ SEE ALSO π¦
al_get_num_video_adapters(3)β go check on the other adapter-related bestie π«Ά
Signing off from the Allegro reference manual β¨ β the footer didn't give me a date, so no date bestie, just source credit and vibes π π«Ά
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms