---
name: "al_transform_coordinates"
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/al_transform_coordinates/3alleg5"
---

# al\_transform\_coordinates(3alleg5)

Allegro 5 API

## NAME

al\_transform\_coordinates - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  void al_transform_coordinates(const ALLEGRO_TRANSFORM *trans, float *x, float *y)
  ```

## DESCRIPTION

Transform a pair of coordinates.

*Parameters:*

- •

  trans - Transformation to use

- •

  x, y - Pointers to the coordinates

## SEE ALSO

al\_use\_transform(3alleg5), al\_transform\_coordinates\_3d(3alleg5)
