Enumerations | |
enum | OpenResult { OPEN_OK, OPEN_UNKNOWN_FILE_FORMAT = 1, OPEN_FATAL_ERROR = 2 } |
enum | { TRAIT_NO_TRANSPARENCY = 0x0001 } |
enum | { TRAIT_BOOL_TRANSPARENCY = 0x0002 } |
Functions | |
RageSurface * | LoadFile (const CString &sPath, CString &error, bool bHeaderOnly=false) |
bool | SaveBMP (RageSurface *surface, RageFile &f) |
bool | SaveJPEG (RageSurface *surface, RageFile &f, bool bHighQual=true) |
uint32_t | decodepixel (const uint8_t *p, int bpp) |
void | encodepixel (uint8_t *p, int bpp, uint32_t pixel) |
void | GetRawRGBAV (uint32_t pixel, const RageSurfaceFormat &fmt, uint8_t *v) |
void | GetRawRGBAV (const uint8_t *p, const RageSurfaceFormat &fmt, uint8_t *v) |
void | GetRGBAV (uint32_t pixel, const RageSurface *src, uint8_t *v) |
void | GetRGBAV (const uint8_t *p, const RageSurface *src, uint8_t *v) |
uint32_t | SetRawRGBAV (const RageSurfaceFormat *fmt, const uint8_t *v) |
void | SetRawRGBAV (uint8_t *p, const RageSurface *src, const uint8_t *v) |
uint32_t | SetRGBAV (const RageSurfaceFormat *fmt, const uint8_t *v) |
void | SetRGBAV (uint8_t *p, const RageSurface *src, const uint8_t *v) |
void | GetBitsPerChannel (const RageSurfaceFormat *fmt, uint32_t bits[4]) |
void | CopySurface (const RageSurface *src, RageSurface *dest) |
bool | ConvertSurface (RageSurface *src, RageSurface *&dst, int width, int height, int bpp, uint32_t R, uint32_t G, uint32_t B, uint32_t A) |
void | ConvertSurface (RageSurface *&image, int width, int height, int bpp, uint32_t R, uint32_t G, uint32_t B, uint32_t A) |
void | FixHiddenAlpha (RageSurface *img) |
int | FindSurfaceTraits (const RageSurface *img) |
void | BlitTransform (const RageSurface *src, RageSurface *dst, const float fCoords[8]) |
void | Blit (const RageSurface *src, RageSurface *dst, int width=-1, int height=-1) |
void | CorrectBorderPixels (RageSurface *img, int width, int height) |
bool | SaveSurface (const RageSurface *img, CString file) |
RageSurface * | LoadSurface (CString file) |
RageSurface * | PalettizeToGrayscale (const RageSurface *src_surf, int GrayBits, int AlphaBits) |
RageSurface * | MakeDummySurface (int height, int width) |
void | ApplyHotPinkColorKey (RageSurface *&img) |
void | FlipVertically (RageSurface *img) |
void | OrderedDither (const RageSurface *src, RageSurface *dst) |
void | ErrorDiffusionDither (const RageSurface *src, RageSurface *dst) |
void | Palettize (RageSurface *&pImg, int iColors=256, bool bDither=true) |
void | Zoom (RageSurface *&src, int width, int height) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|