AL_GET_VIDEO_SCALED_WIDTH(3)
π NAME π
al_get_video_scaled_width β Allegro 5 API
okay so real quick, bestie: this page is from the Library Functions Manual, and the star of the show is al_get_video_scaled_width(3) π
β¨ SYNOPSIS β¨
include this header, then call the function, no cap:
#include <allegro5/allegro_video.h>
float al_get_video_scaled_width(ALLEGRO_VIDEO *video)
πΈ DESCRIPTION πΈ
Returns the width with which the video frame should be drawn. literally that's the whole vibe π«Ά
Videos often do not use square pixels, so this will may return a value larger than the width of the frame bitmap. not me copying the manpage's βwill mayβ β that's fr what it says ππ
β SINCE β
5.1.12 β noted, iconic, slay β¨
π¦ SEE ALSO π¦
al_get_video_frame(3)β the frame bestie right there π«Ά
Source/version: Allegro reference manual. Date: not printed in this footer, bestie, so I'm not inventing one ππ
π¦ 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