al_draw_scaled_bitmap(3)
π NAME π
okay so bestie, this page is al_draw_scaled_bitmap(3), and it comes from the Library Functions Manual β Allegro 5 API. It's literally the "draw a bitmap, but scaled" function, and yes, it ate. β¨
π¦ SYNOPSIS π¦
#include <allegro5/allegro.h>
void al_draw_scaled_bitmap(ALLEGRO_BITMAP *bitmap,
float sx, float sy, float sw, float sh,
float dx, float dy, float dw, float dh, int flags)
πΈ DESCRIPTION πΈ
Draws a scaled version of the given bitmap to the target bitmap. That's the whole vibe: source bitmap in, scaled version onto the target bitmap out. π
Args, from the group chat:
sxβ source x, iykyk. πsyβ source y.swβ source width.shβ source height.dxβ destination x.dyβ destination y.dwβ destination width.dhβ destination height.flagsβ same as foral_draw_bitmap(3), no cap. π«Ά
Heads up, bestie: see al_draw_bitmap(3) for a note on restrictions on which bitmaps can be drawn where. Not every bitmap gets to be the main character in every spot, so check that note. π«Ά
π SEE ALSO π
al_draw_bitmap(3)al_draw_bitmap_region(3)al_draw_rotated_bitmap(3)al_draw_scaled_rotated_bitmap(3)
source: Allegro reference manual Β· date: not printed on the original page, bestie β but this whole thing is giving Allegro 5 API energy, periodt. ππ
π¦ 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