ALLEGRO_TRANSFORM(3)

ALLEGRO_TRANSFORM3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
typedef struct ALLEGRO_TRANSFORM ALLEGRO_TRANSFORM;

Overview

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

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.