AL_GET_VIDEO_SCALED_WIDTH(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

πŸŽ€ 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 πŸ¦‹


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