al_scale_transform
void al_scale_transform(ALLEGRO_TRANSFORM *trans, float sx, float sy)
Introduced in 5.0.0
Apply a scale to a transformation.
Parameters:
- trans - Transformation to alter
- sx, sy - Scale
See also: al_translate_transform, al_rotate_transform, al_build_transform
Examples: ex_transform
Most helpful discussions:
- A5 Displays (Resize/Stretching) (2)
- [a5] best way to scale/stretch screen? (2)
- A5 - Fullscreen in Linux Mint (1)
- Transformations in allegro
- double precision for al_transform_coordinates?
- [A5] Fullscreen + keep 4:3 ratio
- Scaling doesn't work with transformation.
- Resizing the game
- Rotate text with transformations
- Allegro, Direct 3D, and OpenGL - A tale of dumb woe
Other recent discussions:
- Drawing Scaled Bitmaps Or Using Transformations
- Transformations Tutorial
- [A5] Flickering with tile map...
- [A5] Exempt Bitmap from Transform
- [A5] Screen scrolling causes tile bitmap pixel misplacement
- Getting user input in allegro 5
- Collision Detection with a rotating square.
- Resolution Independence Results in Pixel Misplacement
- Pushing allegro performance (sprites per second) to its limits
- Speeding up drawing from a tile atlas.