|
|
| TeImage (const TeImage &other) |
| |
|
void | copy (TeImage &dest, const TeVector2s32 &vec1, const TeVector2s32 &vec2, const TeVector2s32 &vec3) const |
| |
|
uint64 | countPixelsOfColor (const TeColor &col) const |
| |
|
void | createImg (uint xsize, uint ysize, Common::SharedPtr< TePalette > &palette, const Graphics::PixelFormat &newformat) |
| |
|
void | createImg (uint xsize, uint ysize, Common::SharedPtr< TePalette > &pal, const Graphics::PixelFormat &format, uint bufxsize, uint bufysize) |
| |
|
void | deserialize (Common::ReadStream &stream) |
| |
|
void | destroy () |
| |
|
void | drawPlot (int x, int y, const TeColor &col) |
| |
|
void | drawPlot (void *outbuf, int x, int y, const TeVector2s32 &bufsize, const TeColor &col) |
| |
|
void | fill (byte val) |
| |
|
void | fill (byte r, byte g, byte b, byte a) |
| |
|
void | getBuff (uint x, uint y, byte *pout, uint w, uint h) |
| |
|
bool | isExtensionSupported (const Common::Path &path) |
| |
|
bool | load (const TetraedgeFSNode &node) |
| |
|
bool | load (Common::SeekableReadStream &stream, const Common::String &type) |
| |
|
bool | save (const Common::Path &path, enum SaveType type) |
| |
|
int | serialize (Common::WriteStream &stream) |
| |
|
TeVector2s32 | bufSize () const |
| |
|
void | generateAccessName () |
| |
|
const Common::Path & | getAccessName () const |
| |
|
void | setAccessName (const Common::Path &name) |
| |
| void | deleteLater () |
| |
|
bool | decrementCounter () |
| |
|
void | incrementCounter () |
| |
|
void | resetCounter () |
| |
| bool | clip (Common::Rect &srcBounds, Common::Rect &destBounds, uint src_w=0, uint src_h=0, byte flip=FLIP_NONE) const |
| |
| | ManagedSurface () |
| |
| | ManagedSurface (const ManagedSurface &surf) |
| |
| | ManagedSurface (ManagedSurface &&surf) |
| |
| | ManagedSurface (int width, int height) |
| |
| | ManagedSurface (int width, int height, const Graphics::PixelFormat &pixelFormat) |
| |
| | ManagedSurface (ManagedSurface &surf, const Common::Rect &bounds) |
| |
| virtual | ~ManagedSurface () |
| |
| | operator const Surface & () const |
| |
| const Surface & | rawSurface () const |
| |
|
Surface * | surfacePtr () |
| |
| ManagedSurface & | operator= (const ManagedSurface &surf) |
| |
| ManagedSurface & | operator= (ManagedSurface &&surf) |
| |
| bool | empty () const |
| |
| DisposeAfterUse::Flag | disposeAfterUse () const |
| |
| uint32 | getPixel (int x, int y) const |
| |
| void | setPixel (int x, int y, uint32 pixel) |
| |
| const void * | getBasePtr (int x, int y) const |
| |
| void * | getBasePtr (int x, int y) |
| |
| void * | getPixels () |
| |
| const void * | getPixels () const |
| |
| virtual void | setPixels (void *newPixels) |
| |
| virtual void | create (int16 width, int16 height) |
| |
| virtual void | create (int16 width, int16 height, const PixelFormat &pixelFormat) |
| |
| virtual void | create (ManagedSurface &surf, const Common::Rect &bounds) |
| |
| virtual void | free () |
| |
| virtual void | clearDirtyRects () |
| |
| virtual void | addDirtyRect (const Common::Rect &r) |
| |
| const Common::Point | getOffsetFromOwner () const |
| |
| const Common::Rect | getBounds () const |
| |
| void | simpleBlitFrom (const Surface &src, byte flip=FLIP_NONE, bool alpha=false, byte aMod=0xff, const Palette *srcPalette=nullptr) |
| |
| void | simpleBlitFrom (const Surface &src, const Common::Point &destPos, byte flip=FLIP_NONE, bool alpha=false, byte aMod=0xff, const Palette *srcPalette=nullptr) |
| |
| void | simpleBlitFrom (const Surface &src, const Common::Rect &srcRect, const Common::Point &destPos, byte flip=FLIP_NONE, bool alpha=false, byte aMod=0xff, const Palette *srcPalette=nullptr) |
| |
| void | simpleBlitFrom (const ManagedSurface &src, byte flip=FLIP_NONE, bool alpha=false, byte aMod=0xff) |
| |
| void | simpleBlitFrom (const ManagedSurface &src, const Common::Point &destPos, byte flip=FLIP_NONE, bool alpha=false, byte aMod=0xff) |
| |
| void | simpleBlitFrom (const ManagedSurface &src, const Common::Rect &srcRect, const Common::Point &destPos, byte flip=FLIP_NONE, bool alpha=false, byte aMod=0xff) |
| |
| void | maskBlitFrom (const Surface &src, const Surface &mask, byte flip=FLIP_NONE, bool alpha=false, byte aMod=0xff, const Palette *srcPalette=nullptr) |
| |
| void | maskBlitFrom (const Surface &src, const Surface &mask, const Common::Point &destPos, byte flip=FLIP_NONE, bool alpha=false, byte aMod=0xff, const Palette *srcPalette=nullptr) |
| |
| void | maskBlitFrom (const Surface &src, const Surface &mask, const Common::Rect &srcRect, const Common::Point &destPos, byte flip=FLIP_NONE, bool alpha=false, byte aMod=0xff, const Palette *srcPalette=nullptr) |
| |
| void | maskBlitFrom (const ManagedSurface &src, const ManagedSurface &mask, byte flip=FLIP_NONE, bool alpha=false, byte aMod=0xff) |
| |
| void | maskBlitFrom (const ManagedSurface &src, const ManagedSurface &mask, const Common::Point &destPos, byte flip=FLIP_NONE, bool alpha=false, byte aMod=0xff) |
| |
| void | maskBlitFrom (const ManagedSurface &src, const ManagedSurface &mask, const Common::Rect &srcRect, const Common::Point &destPos, byte flip=FLIP_NONE, bool alpha=false, byte aMod=0xff) |
| |
| void | blitFrom (const Surface &src, const Palette *srcPalette=nullptr) |
| |
| void | blitFrom (const Surface &src, const Common::Point &destPos, const Palette *srcPalette=nullptr) |
| |
| void | blitFrom (const Surface &src, const Common::Rect &srcRect, const Common::Point &destPos, const Palette *srcPalette=nullptr) |
| |
| void | blitFrom (const Surface &src, const Common::Rect &srcRect, const Common::Rect &destRect, const Palette *srcPalette=nullptr) |
| |
| void | blitFrom (const ManagedSurface &src, const Common::Rect &srcRect, const Common::Rect &destRect) |
| |
| void | blitFrom (const ManagedSurface &src) |
| |
| void | blitFrom (const ManagedSurface &src, const Common::Point &destPos) |
| |
| void | blitFrom (const ManagedSurface &src, const Common::Rect &srcRect, const Common::Point &destPos) |
| |
| void | transBlitFrom (const Surface &src, uint32 transColor=0, bool flipped=false, uint32 srcAlpha=0xff, const Palette *srcPalette=nullptr) |
| |
| void | transBlitFrom (const Surface &src, const Common::Point &destPos, uint32 transColor=0, bool flipped=false, uint32 srcAlpha=0xff, const Palette *srcPalette=nullptr) |
| |
| void | transBlitFrom (const Surface &src, const Common::Rect &srcRect, const Common::Point &destPos, uint32 transColor=0, bool flipped=false, uint32 srcAlpha=0xff, const Palette *srcPalette=nullptr) |
| |
| void | transBlitFrom (const Surface &src, const Common::Rect &srcRect, const Common::Rect &destRect, const Palette *srcPalette) |
| |
| void | transBlitFrom (const Surface &src, const Common::Rect &srcRect, const Common::Rect &destRect, uint32 transColor=0, bool flipped=false, uint32 srcAlpha=0xff, const Palette *srcPalette=nullptr) |
| |
| void | transBlitFrom (const ManagedSurface &src, uint32 transColor=0, bool flipped=false, uint32 srcAlpha=0xff) |
| |
| void | transBlitFrom (const ManagedSurface &src, const Common::Point &destPos, uint32 transColor=0, bool flipped=false, uint32 srcAlpha=0xff) |
| |
| void | transBlitFrom (const ManagedSurface &src, const Common::Rect &srcRect, const Common::Point &destPos, uint32 transColor=0, bool flipped=false, uint32 srcAlpha=0xff) |
| |
| void | transBlitFrom (const ManagedSurface &src, const Common::Rect &srcRect, const Common::Rect &destRect, uint32 transColor=0, bool flipped=false, uint32 srcAlpha=0xff) |
| |
| void | rawBlitFrom (const ManagedSurface &src, const Common::Rect &srcRect, const Common::Point &destPos) |
| |
| void | blendBlitFrom (const Surface &src, const int flipping=FLIP_NONE, const uint colorMod=(uint32)(((255)<< 24)|((255)<< 16)|((255)<< 8)|(255)), const TSpriteBlendMode blend=BLEND_NORMAL, const AlphaType alphaType=ALPHA_FULL) |
| |
| void | blendBlitFrom (const Surface &src, const Common::Point &destPos, const int flipping=FLIP_NONE, const uint colorMod=(uint32)(((255)<< 24)|((255)<< 16)|((255)<< 8)|(255)), const TSpriteBlendMode blend=BLEND_NORMAL, const AlphaType alphaType=ALPHA_FULL) |
| |
| void | blendBlitFrom (const Surface &src, const Common::Rect &srcRect, const Common::Point &destPos, const int flipping=FLIP_NONE, const uint colorMod=(uint32)(((255)<< 24)|((255)<< 16)|((255)<< 8)|(255)), const TSpriteBlendMode blend=BLEND_NORMAL, const AlphaType alphaType=ALPHA_FULL) |
| |
| void | blendBlitFrom (const Surface &src, const Common::Rect &srcRect, const Common::Rect &destRect, const int flipping=FLIP_NONE, const uint colorMod=(uint32)(((255)<< 24)|((255)<< 16)|((255)<< 8)|(255)), const TSpriteBlendMode blend=BLEND_NORMAL, const AlphaType alphaType=ALPHA_FULL) |
| |
| void | blendBlitFrom (const ManagedSurface &src, const int flipping=FLIP_NONE, const uint colorMod=(uint32)(((255)<< 24)|((255)<< 16)|((255)<< 8)|(255)), const TSpriteBlendMode blend=BLEND_NORMAL, const AlphaType alphaType=ALPHA_FULL) |
| |
| void | blendBlitFrom (const ManagedSurface &src, const Common::Point &destPos, const int flipping=FLIP_NONE, const uint colorMod=(uint32)(((255)<< 24)|((255)<< 16)|((255)<< 8)|(255)), const TSpriteBlendMode blend=BLEND_NORMAL, const AlphaType alphaType=ALPHA_FULL) |
| |
| void | blendBlitFrom (const ManagedSurface &src, const Common::Rect &srcRect, const Common::Point &destPos, const int flipping=FLIP_NONE, const uint colorMod=(uint32)(((255)<< 24)|((255)<< 16)|((255)<< 8)|(255)), const TSpriteBlendMode blend=BLEND_NORMAL, const AlphaType alphaType=ALPHA_FULL) |
| |
| void | blendBlitFrom (const ManagedSurface &src, const Common::Rect &srcRect, const Common::Rect &destRect, const int flipping=FLIP_NONE, const uint colorMod=(uint32)(((255)<< 24)|((255)<< 16)|((255)<< 8)|(255)), const TSpriteBlendMode blend=BLEND_NORMAL, const AlphaType alphaType=ALPHA_FULL) |
| |
| Common::Rect | blendBlitTo (ManagedSurface &target, const int posX=0, const int posY=0, const int flipping=FLIP_NONE, const Common::Rect *srcRect=nullptr, const uint colorMod=(uint32)(((255)<< 24)|((255)<< 16)|((255)<< 8)|(255)), const int width=-1, const int height=-1, const TSpriteBlendMode blend=BLEND_NORMAL, const AlphaType alphaType=ALPHA_FULL) |
| | Renders this surface onto target. More...
|
| |
|
Common::Rect | blendBlitTo (Surface &target, const int posX=0, const int posY=0, const int flipping=FLIP_NONE, const Common::Rect *srcRect=nullptr, const uint colorMod=(uint32)(((255)<< 24)|((255)<< 16)|((255)<< 8)|(255)), const int width=-1, const int height=-1, const TSpriteBlendMode blend=BLEND_NORMAL, const AlphaType alphaType=ALPHA_FULL) |
| |
| void | blendFillRect (const Common::Rect r, const uint colorMod, const TSpriteBlendMode blend) |
| |
| void | clear (uint32 color=0) |
| |
| void | markAllDirty () |
| |
| void | copyRectToSurface (const void *buffer, int srcPitch, int destX, int destY, int width, int height) |
| |
| void | copyRectToSurface (const Graphics::Surface &srcSurface, int destX, int destY, const Common::Rect &subRect) |
| |
| void | copyRectToSurfaceWithKey (const void *buffer, int srcPitch, int destX, int destY, int width, int height, uint32 key) |
| |
| void | copyRectToSurfaceWithKey (const Graphics::Surface &srcSurface, int destX, int destY, const Common::Rect &subRect, uint32 key) |
| |
| void | copyFrom (const ManagedSurface &surf) |
| |
| void | copyFrom (const Surface &surf) |
| |
| void | convertFrom (const ManagedSurface &surf, const PixelFormat &fmt) |
| |
| void | convertFrom (const Surface &surf, const PixelFormat &fmt) |
| |
| ManagedSurface * | scale (int16 newWidth, int16 newHeight, bool filtering=false) const |
| |
| ManagedSurface * | rotoscale (const TransformStruct &transform, bool filtering=false) const |
| | Rotoscale function; this returns a transformed version of this surface after rotation and scaling. Please do not use this if angle == 0, use plain old scaling function. More...
|
| |
| void | drawLine (int x0, int y0, int x1, int y1, uint32 color) |
| |
| void | drawThickLine (int x0, int y0, int x1, int y1, int penX, int penY, uint32 color) |
| |
| void | drawRoundRect (const Common::Rect &rect, int arc, uint32 color, bool filled) |
| |
| void | drawPolygonScan (const int *polyX, const int *polyY, int npoints, const Common::Rect &bbox, uint32 color) |
| |
| void | drawEllipse (int x0, int y0, int x1, int y1, uint32 color, bool filled) |
| |
| void | hLine (int x, int y, int x2, uint32 color) |
| |
| void | vLine (int x, int y, int y2, uint32 color) |
| |
| void | fillRect (const Common::Rect &r, uint32 color) |
| |
| void | frameRect (const Common::Rect &r, uint32 color) |
| |
| AlphaType | detectAlpha () const |
| |
| Surface | getSubArea (const Common::Rect &area) |
| |
| const Surface | getSubArea (const Common::Rect &area) const |
| |
| void | convertToInPlace (const PixelFormat &dstFormat) |
| |
| void | convertToInPlace (const PixelFormat &dstFormat, const byte *palette, uint16 paletteCount) |
| |
| uint | getTransparentColor () const |
| |
| void | setTransparentColor (uint32 color) |
| |
| void | clearTransparentColor () |
| |
| bool | hasTransparentColor () const |
| |
| void | clearPalette () |
| |
| bool | hasPalette () const |
| |
| void | grabPalette (byte *colors, uint start, uint num) const |
| |
|
const Graphics::Palette * | grabPalette () const |
| |
| void | setPalette (const byte *colors, uint start, uint num) |
| |