31 #include <SFML/Graphics/Export.h>
32 #include <SFML/Graphics/BlendMode.h>
33 #include <SFML/Graphics/Color.h>
34 #include <SFML/Graphics/Rect.h>
35 #include <SFML/Graphics/Transform.h>
36 #include <SFML/Graphics/Types.h>
37 #include <SFML/System/Vector2.h>
46 CSFML_GRAPHICS_API sfSprite* sfSprite_create(
void);
56 CSFML_GRAPHICS_API sfSprite* sfSprite_copy(
const sfSprite* sprite);
64 CSFML_GRAPHICS_API
void sfSprite_destroy(sfSprite* sprite);
77 CSFML_GRAPHICS_API
void sfSprite_setPosition(sfSprite* sprite,
sfVector2f position);
90 CSFML_GRAPHICS_API
void sfSprite_setRotation(sfSprite* sprite,
float angle);
103 CSFML_GRAPHICS_API
void sfSprite_setScale(sfSprite* sprite,
sfVector2f scale);
119 CSFML_GRAPHICS_API
void sfSprite_setOrigin(sfSprite* sprite,
sfVector2f origin);
129 CSFML_GRAPHICS_API
sfVector2f sfSprite_getPosition(
const sfSprite* sprite);
141 CSFML_GRAPHICS_API
float sfSprite_getRotation(
const sfSprite* sprite);
151 CSFML_GRAPHICS_API
sfVector2f sfSprite_getScale(
const sfSprite* sprite);
161 CSFML_GRAPHICS_API
sfVector2f sfSprite_getOrigin(
const sfSprite* sprite);
173 CSFML_GRAPHICS_API
void sfSprite_move(sfSprite* sprite,
sfVector2f offset);
185 CSFML_GRAPHICS_API
void sfSprite_rotate(sfSprite* sprite,
float angle);
197 CSFML_GRAPHICS_API
void sfSprite_scale(sfSprite* sprite,
sfVector2f factors);
207 CSFML_GRAPHICS_API
sfTransform sfSprite_getTransform(
const sfSprite* sprite);
217 CSFML_GRAPHICS_API
sfTransform sfSprite_getInverseTransform(
const sfSprite* sprite);
237 CSFML_GRAPHICS_API
void sfSprite_setTexture(sfSprite* sprite,
const sfTexture* texture, sfBool resetRect);
250 CSFML_GRAPHICS_API
void sfSprite_setTextureRect(sfSprite* sprite,
sfIntRect rectangle);
264 CSFML_GRAPHICS_API
void sfSprite_setColor(sfSprite* sprite,
sfColor color);
278 CSFML_GRAPHICS_API
const sfTexture* sfSprite_getTexture(
const sfSprite* sprite);
288 CSFML_GRAPHICS_API
sfIntRect sfSprite_getTextureRect(
const sfSprite* sprite);
298 CSFML_GRAPHICS_API
sfColor sfSprite_getColor(
const sfSprite* sprite);
314 CSFML_GRAPHICS_API
sfFloatRect sfSprite_getLocalBounds(
const sfSprite* sprite);
330 CSFML_GRAPHICS_API
sfFloatRect sfSprite_getGlobalBounds(
const sfSprite* sprite);
333 #endif // SFML_SPRITE_H