25 #ifndef SFML_TRANSFORM_H
26 #define SFML_TRANSFORM_H
31 #include <SFML/Graphics/Export.h>
32 #include <SFML/Graphics/Rect.h>
33 #include <SFML/Graphics/Types.h>
34 #include <SFML/System/Vector2.h>
52 CSFML_GRAPHICS_API
const sfTransform sfTransform_Identity;
70 CSFML_GRAPHICS_API
sfTransform sfTransform_fromMatrix(
float a00,
float a01,
float a02,
71 float a10,
float a11,
float a12,
72 float a20,
float a21,
float a22);
92 CSFML_GRAPHICS_API
void sfTransform_getMatrix(
const sfTransform* transform,
float* matrix);
155 CSFML_GRAPHICS_API
void sfTransform_translate(
sfTransform* transform,
float x,
float y);
164 CSFML_GRAPHICS_API
void sfTransform_rotate(
sfTransform* transform,
float angle);
180 CSFML_GRAPHICS_API
void sfTransform_rotateWithCenter(
sfTransform* transform,
float angle,
float centerX,
float centerY);
190 CSFML_GRAPHICS_API
void sfTransform_scale(
sfTransform* transform,
float scaleX,
float scaleY);
207 CSFML_GRAPHICS_API
void sfTransform_scaleWithCenter(
sfTransform* transform,
float scaleX,
float scaleY,
float centerX,
float centerY);
223 #endif // SFML_TRANSFORM_H