SDL Window Engine  20200905
Открытые члены | Открытые статические члены | Защищенные данные | Полный список членов класса
Класс SWE::Surface
Граф наследования:SWE::Surface:
SWE::ObjectClass SWE::SurfaceRef

Открытые члены

 Surface (SDL_Surface *)
 
 Surface (const Size &, bool alpha=true)
 
 Surface (const Surface &)
 
 Surface (const std::string &)
 
 Surface (const BinaryBuf &)
 
Surfaceoperator= (const Surface &)
 
bool isValid (void) const
 
SDL_Surface * toSDLSurface (void) const
 
bool operator== (const Surface &sf) const
 
bool operator!= (const Surface &sf) const
 
void setSurface (const Surface &)
 
void reset (void)
 
int width (void) const
 
int height (void) const
 
Size size (void) const
 
Rect rect (void) const
 
int alphaMod (void) const
 
u32 amask (void) const
 
int flags (void) const
 
Color colorKey (void) const
 
u32 pixel (const Point &) const
 
u32 mapRGB (const Color &) const
 
Color RGBmap (u32) const
 
void blit (const Rect &, const Rect &, Surface &) const
 
void fill (const Rect &, const Color &)
 
void clear (const Color &col)
 
void drawPoint (const Point &, const Color &)
 
void drawPixel (const Point &, u32)
 
bool save (const std::string &) const
 
void swap (Surface &)
 
void setColorKey (const Color &)
 
void setAlphaMod (int)
 
void setFlags (int)
 
void resetFlags (int)
 
std::string toString (void) const
 
const char * className (void) const override
 идентификацинная метка класса
 

Открытые статические члены

static Surface copy (const Surface &, int flip=FlipNone)
 
static Surface copy (const Surface &, const Rect &)
 
static Surface scale (const Surface &, const Size &)
 
static Surface renderGrayScale (const Surface &)
 
static Surface renderSepia (const Surface &)
 

Защищенные данные

SDL_Surface * ptr
 

Объявления и описания членов классов находятся в файлах: