ALLEGRO_TRANSFORM
typedef struct ALLEGRO_TRANSFORM ALLEGRO_TRANSFORM;
Introduced in 5.0.0
Defines the generic transformation type, a 4x4 matrix. 2D transforms use only a small subsection of this matrix, namely the top left 2x2 matrix, and the right most 2x1 matrix, for a total of 6 values.
Fields:
- m - A 4x4 float matrix
Examples: ex_gp2xwiz, ex_prim, ex_threads, ex_transform
Most helpful discussions:
- Drawing Scaled Bitmaps Or Using Transformations (1)
- [A5] Copying a bitmap from a transformed screen (1)
- [a5] best way to scale/stretch screen? (1)
- Convert *bitmap to char buffer
- Allegro5 and OpenGL. Problem with drawing Allegro primitives
- 2d camera
- Rotating Cube Problem
- Scaling look likes junk.
- why is my code failing
- using transform
Other recent discussions:
- 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
- Stepping Into the Third Dimension
- Isometric Sprites with Depth Buffer
- git format-patch: troubles with white space trailing
- how to make a game menu
- Bitmap Font doesn't draw any character after try to write a not defined char
- Coordinate systems and allegro transformations
- Can I Draw Scaled Text?