#include "../libs/sdlmm/src/sdlmm.h"#include "../basestreaminterface.h"Include dependency graph for surface.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| class | DI_Color |
| A Device Independent color. Shamelessly pinched from Paragui to reduce coupling. More... | |
| class | Surface |
| class | TypedSurfaceBase |
| class | TypedSurface< colorDepth > |
| class | SurfaceLock |
Typedefs | |
| typedef SDLmm::SPoint | SPoint |
| typedef TypedSurface< 1 > | Surface8 |
| typedef TypedSurface< 4 > | Surface32 |
Functions | |
| template<int depth> | |
| TypedSurface< depth > & | castSurface (Surface &s) |
| void | applyFieldMask (Surface &s, int x=0, int y=0, bool detectColorKey=true) |
| void | applyLegacyFieldMask (Surface &s, int x=0, int y=0, bool detectColorKey=false) |
| applies a field mask that uses FEFEFE Color as Colorkey to load old images | |
| Surface | rotateSurface (Surface &s, int degrees) |
| typedef SDLmm::SPoint SPoint |
| typedef TypedSurface<4> Surface32 |
| typedef TypedSurface<1> Surface8 |
| void applyFieldMask | ( | Surface & | s, | |
| int | x = 0, |
|||
| int | y = 0, |
|||
| bool | detectColorKey = true | |||
| ) |
Definition at line 593 of file surface.cpp.
References MegaBlitter< BytesPerSourcePixel, BytesPerTargetPixel, SourceColorTransform, ColorMerger, SourcePixelSelector, TargetPixelSelector, MyColorConverter >::blit(), Surface::detectColorKey(), and getFieldMask().
Referenced by loadASCFieldImage(), loadASCFieldImageArray(), and BuildingType::runTextIO().
| void applyLegacyFieldMask | ( | Surface & | s, | |
| int | x = 0, |
|||
| int | y = 0, |
|||
| bool | detectColorKey = false | |||
| ) |
applies a field mask that uses FEFEFE Color as Colorkey to load old images
Definition at line 611 of file surface.cpp.
References Surface::createSurface(), Surface::detectColorKey(), getFieldMask(), and Surface::hasAlpha().
Referenced by loadASCFieldImageArray().
| TypedSurface<depth>& castSurface | ( | Surface & | s | ) |
Definition at line 674 of file surface.cpp.
References Surface::detectColorKey(), Surface::Duplicate(), and getPixelRotationLocation().
1.5.1