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)
- Transform / Translate
- Using Sine And Cosine For Rotation
- Display Mode removes window controls
- Convert *bitmap to char buffer
- Allegro5 and OpenGL. Problem with drawing Allegro primitives
- 2d camera
- Rotating Cube Problem
Other recent discussions:
- Scaling look likes junk.
- why is my code failing
- using transform
- 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