25 #ifndef SFML_SPRITE_HPP
26 #define SFML_SPRITE_HPP
31 #include <SFML/System/Resource.hpp>
32 #include <SFML/Graphics/Drawable.hpp>
33 #include <SFML/Graphics/Rect.hpp>
72 void SetImage(
const Image& Img);
81 void SetSubRect(
const IntRect& SubRect);
91 void Resize(
float Width,
float Height);
108 void FlipX(
bool Flipped);
116 void FlipY(
bool Flipped);
124 const Image* GetImage()
const;
132 const IntRect& GetSubRect()
const;
152 Color GetPixel(
unsigned int X,
unsigned int Y)
const;
176 #endif // SFML_SPRITE_HPP