Public Member Functions | |
| Image () | |
| Image (Image *pImage, Colorspace nNewColorspace=COLORSPACE_UNDEFINED) | |
| Image (const String &szPath, Colorspace nNewColorspace=COLORSPACE_UNDEFINED) | |
| Image (const String &szPath, int iWidth, int iHeight, int iBPP, int iIndex, Colorspace nNewColorspace=COLORSPACE_UNDEFINED) | |
| Image (const Point &rSize, Colorspace nColorspace, void *vpData=NULL) | |
| ~Image () | |
| int | Load (const String &szPath) |
| int | LoadIndex (const String &szPath, int iIndex) |
| int | LoadIcon (const String &szPath, int iWidth, int iHeight, int iBPP, int iIndex) |
| int | Create (int iWidth, int iHeight, Colorspace nColorSpace) |
| int | Create (void *vpData, int iWidth, int iHeight, Colorspace nColorSpace) |
| void | Invalidate () |
| int | Width () |
| int | Height () |
| void * | Data () |
| int | Size () |
| int | BitsPerPixel () |
| int | BytePerPixel () |
| Rect | GetBounds () |
| Colorspace | GetColorspace () |
| bool | HasAlphaTransparency () |
| bool | IsValid () |
| bool | SetMask (void *vpMask, const Point &pSize) |
| void * | GetMask () |
| Point | GetMaskSize () |
| bool | GetMaskBit (int x, int y) |
| bool | SetPixel (int x, int y, Color color) |
| Color | GetPixel (int x, int y) |
| Image * | Scale (const Point &rNewSize, const Rect &rSourceRect, unsigned int uiImageScaleFlags=0) |
| bool | Convert (Colorspace NewColorspace, const Rect &rConvertRect, bool bIngoreMask=false) |
| bool | Colorize (Color nColor) |
| bool | ApplyTransparency (int iLevel, bool bIgnoreMask=false) |
| bool | SetTransparency (int iLevel, bool bIgnoreMask) |
| void | SetFreeMemory (bool bFree) |
| void | DumpInfo (void) |
| Image * | Extract (const Rect &rRect) |
button.cpp, dnd.cpp, listview.cpp, messagebox.cpp, progressbar.cpp, and textview.cpp.
| Image::Image | ( | ) |
| Image::Image | ( | Image * | pImage, | |
| Colorspace | nNewColorspace = COLORSPACE_UNDEFINED | |||
| ) |
| Image::Image | ( | const String & | szPath, | |
| Colorspace | nNewColorspace = COLORSPACE_UNDEFINED | |||
| ) |
Load an image from specified path
| szPath | - Path to the image | |
| nNewColorspace | - Converts Image to specified Colorspace it not equal COLORSPACE_UNDEFINED |
| Image::Image | ( | const String & | szPath, | |
| int | iWidth, | |||
| int | iHeight, | |||
| int | iBPP, | |||
| int | iIndex, | |||
| Colorspace | nNewColorspace = COLORSPACE_UNDEFINED | |||
| ) |
| Image::Image | ( | const Point & | rSize, | |
| Colorspace | nColorspace, | |||
| void * | vpData = NULL | |||
| ) |
| Image::~Image | ( | ) |
| int Image::Load | ( | const String & | szPath | ) |
Load an image from specified path
| int Image::LoadIndex | ( | const String & | szPath, | |
| int | iIndex | |||
| ) |
| int Image::LoadIcon | ( | const String & | szPath, | |
| int | iWidth, | |||
| int | iHeight, | |||
| int | iBPP, | |||
| int | iIndex | |||
| ) |
Load an image from specified path
| int Image::Create | ( | int | iWidth, | |
| int | iHeight, | |||
| Colorspace | nColorSpace | |||
| ) |
| int Image::Create | ( | void * | vpData, | |
| int | iWidth, | |||
| int | iHeight, | |||
| Colorspace | nColorSpace | |||
| ) |
| void Image::Invalidate | ( | ) |
| int SkyGI::Image::Width | ( | ) | [inline] |
| int SkyGI::Image::Height | ( | ) | [inline] |
| void* SkyGI::Image::Data | ( | ) | [inline] |
| int SkyGI::Image::Size | ( | ) | [inline] |
| int Image::BitsPerPixel | ( | ) |
| int Image::BytePerPixel | ( | ) |
| Rect SkyGI::Image::GetBounds | ( | ) | [inline] |
| Colorspace SkyGI::Image::GetColorspace | ( | ) | [inline] |
| bool Image::HasAlphaTransparency | ( | ) |
| bool Image::IsValid | ( | ) |
| bool Image::SetMask | ( | void * | vpMask, | |
| const Point & | pSize | |||
| ) |
Set an AND mask
| void * Image::GetMask | ( | ) |
| Point Image::GetMaskSize | ( | ) |
| bool Image::GetMaskBit | ( | int | x, | |
| int | y | |||
| ) |
| bool Image::SetPixel | ( | int | x, | |
| int | y, | |||
| Color | color | |||
| ) |
| Color Image::GetPixel | ( | int | x, | |
| int | y | |||
| ) |
| Image * Image::Scale | ( | const Point & | rNewSize, | |
| const Rect & | rSourceRect, | |||
| unsigned int | uiImageScaleFlags = 0 | |||
| ) |
| bool Image::Convert | ( | Colorspace | NewColorspace, | |
| const Rect & | rConvertRect, | |||
| bool | bIgnoreMask = false | |||
| ) |
Convert image colorspace
| bool Image::Colorize | ( | Color | nColor | ) |
| bool Image::ApplyTransparency | ( | int | iLevel, | |
| bool | bIgnoreMask = false | |||
| ) |
| bool Image::SetTransparency | ( | int | iLevel, | |
| bool | bIgnoreMask | |||
| ) |
| void Image::SetFreeMemory | ( | bool | bFree | ) |
| void Image::DumpInfo | ( | void | ) |
1.5.1-p1