---
name: "ALLEGRO_TRANSFORM"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ALLEGRO_TRANSFORM/3alleg5"
---

# ALLEGRO\_TRANSFORM(3alleg5)

Allegro 5 API

## NAME

ALLEGRO\_TRANSFORM - Allegro 5 API

## SYNOPSIS

-

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

## DESCRIPTION

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
