#include <Surface.h>
Public Member Functions | |
Surface () | |
(*** add brief description here ***) | |
virtual | ~Surface () |
(*** add brief description here ***) | |
int | Create (int w, int h) |
(*** add brief description here ***) | |
int | Load (const std::string &rPath, const std::string &rName) |
(*** add brief description here ***) | |
int | Load (const std::string &rName) |
(*** add brief description here ***) | |
int | SetColorKey (int r, int g, int b) |
(*** add brief description here ***) | |
int | DisplayFormat () |
(*** add brief description here ***) | |
int | DisplayFormatAlpha () |
(*** add brief description here ***) | |
int | Blit (Surface *surface, Rect *src, int x, int y) |
(*** add brief description here ***) | |
int | LowerBlit (Surface *surface, Rect *src, int x, int y) |
(*** add brief description here ***) | |
int | FillRect (const Rect &rRect, const Color &rColor) |
(*** add brief description here ***) | |
int | Transparent (int x, int y) |
(*** add brief description here ***) | |
Uint32 | GetPixel (int x, int y) |
(*** add brief description here ***) | |
int | Width () |
(*** add brief description here ***) | |
int | Height () |
(*** add brief description here ***) | |
int | Depth () |
(*** add brief description here ***) | |
int | Pitch () |
(*** add brief description here ***) | |
void * | Pixels () |
(*** add brief description here ***) | |
int | Lock () |
(*** add brief description here ***) | |
int | Unlock () |
(*** add brief description here ***) | |
int | GetPalette (Surface *surface) |
(*** add brief description here ***) | |
void | SetSurface (SDL_Surface *pSurface) |
Sets surface. | |
Uint32 | MapRGB (Uint8 red, Uint8 green, Uint8 blue) const |
(*** add brief description here ***) | |
Uint32 | MapRGBA (Uint8 red, Uint8 green, Uint8 blue, Uint8 alpha) const |
(*** add brief description here ***) | |
Protected Attributes | |
SDL_Surface * | m_pSurface |
(*** add brief description here ***) |
Surface | ( | ) |
(*** add brief description here ***)
~Surface | ( | ) | [virtual] |
(*** add brief description here ***)
int Create | ( | int | w, | |
int | h | |||
) |
(*** add brief description here ***)
int Load | ( | const std::string & | rPath, | |
const std::string & | rName | |||
) |
(*** add brief description here ***)
int Load | ( | const std::string & | rName | ) |
(*** add brief description here ***)
int SetColorKey | ( | int | r, | |
int | g, | |||
int | b | |||
) |
(*** add brief description here ***)
int DisplayFormat | ( | ) |
(*** add brief description here ***)
int DisplayFormatAlpha | ( | ) |
(*** add brief description here ***)
(*** add brief description here ***)
(*** add brief description here ***)
(*** add brief description here ***)
int Transparent | ( | int | x, | |
int | y | |||
) |
(*** add brief description here ***)
Uint32 GetPixel | ( | int | x, | |
int | y | |||
) |
(*** add brief description here ***)
int Width | ( | ) |
(*** add brief description here ***)
int Height | ( | ) |
(*** add brief description here ***)
int Depth | ( | ) |
(*** add brief description here ***)
int Pitch | ( | ) |
(*** add brief description here ***)
void * Pixels | ( | ) |
(*** add brief description here ***)
int Lock | ( | ) |
(*** add brief description here ***)
int Unlock | ( | ) |
(*** add brief description here ***)
int GetPalette | ( | Surface * | surface | ) |
(*** add brief description here ***)
void SetSurface | ( | SDL_Surface * | pSurface | ) | [inline] |
Sets surface.
Uint32 MapRGB | ( | Uint8 | red, | |
Uint8 | green, | |||
Uint8 | blue | |||
) | const [inline] |
(*** add brief description here ***)
Uint32 MapRGBA | ( | Uint8 | red, | |
Uint8 | green, | |||
Uint8 | blue, | |||
Uint8 | alpha | |||
) | const [inline] |
(*** add brief description here ***)
SDL_Surface* m_pSurface [protected] |
(*** add brief description here ***)
Navigation
Home Page
Screen Shots
Developers
Documentation
Doxygen
Namespace List
Class List
Class Hierarchy
File List
Todo List
Links
SDL Library
License
SourceForge Project
Forums
Download
Regimental Command
Copyright © 2008
Randi J. Relander