---
name: "ALLEGRO_TRANSFORM"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/ALLEGRO_TRANSFORM"
---

# ALLEGRO\_TRANSFORM(3)

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
