DOKK / manpages / debian 12 / allegro5-doc / al_transform_coordinates.3alleg5.en
al_transform_coordinates(3alleg5) al_transform_coordinates(3alleg5)

al_transform_coordinates - Allegro 5 API

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

Transform a pair of coordinates.

Parameters:

trans - Transformation to use
x, y - Pointers to the coordinates

al_use_transform(3alleg5), al_transform_coordinates_3d(3alleg5)

Allegro reference manual