Added Image::FlipHorizontally and Image::FlipVertically

This commit is contained in:
Laurent Gomila 2011-07-29 22:04:59 +02:00
parent e509f01180
commit f5294d5342
2 changed files with 57 additions and 0 deletions

View file

@ -252,6 +252,18 @@ public :
////////////////////////////////////////////////////////////
const Uint8* GetPixelsPtr() const;
////////////////////////////////////////////////////////////
/// \brief Flip the image horizontally (left <-> right)
///
////////////////////////////////////////////////////////////
void FlipHorizontally();
////////////////////////////////////////////////////////////
/// \brief Flip the image vertically (top <-> bottom)
///
////////////////////////////////////////////////////////////
void FlipVertically();
private :
////////////////////////////////////////////////////////////