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)
- 2d camera
- Scaling look likes junk.
- why is my code failing
- How can I scale an object from the array of coordinates?
- In full screen mode, the display stretches to full screen
- ak_create_display problem in Android
- git format-patch: troubles with white space trailing
Other recent discussions:
- how to make a game menu
- Bitmap Font doesn't draw any character after try to write a not defined char
- Can I Draw Scaled Text?
- Creating executable files in Visual Studio
- video & physfs problems in the same file
- Flickering border artifacts when using "al_set_clipping_rectangle"
- [A5] Trying to understand transformations
- How can I map mouse coordinates to world coordinates using allegro transofrms?
- Getting keystrokes for display high scores
- Transformations in allegro