| void CxImage::Enable | ( | bool | enable = true |
) | [inherited] |
Enables/disables the image.
| BYTE * CxImage::GetBits | ( | DWORD | row = 0 |
) | [inherited] |
| WORD CxImage::GetBpp | ( | ) | const [inherited] |
| DWORD CxImage::GetClrImportant | ( | ) | const [inherited] |
| DWORD CxImage::GetCodecOption | ( | DWORD | imagetype = 0 |
) | [inherited] |
| BYTE CxImage::GetColorType | ( | ) | [inherited] |
| void * CxImage::GetDIB | ( | ) | const [inherited] |
| BYTE CxImage::GetDisposalMethod | ( | ) | const [inherited] |
Gets the method for drawing the frame related to others Values : 0 - No disposal specified. The decoder is not required to take any action. 1 - Do not dispose. The graphic is to be left in place. 2 - Restore to background color. The area used by the graphic must be restored to the background color. 3 - Restore to previous. The decoder is required to restore the area overwritten by the graphic with what was there prior to rendering the graphic. 4-7 - To be defined.
| DWORD CxImage::GetEffWidth | ( | ) | const [inherited] |
| long CxImage::GetEscape | ( | ) | const [inherited] |
| DWORD CxImage::GetFlags | ( | ) | const [inherited] |
| long CxImage::GetFrame | ( | ) | const [inherited] |
| CxImage * CxImage::GetFrame | ( | long | nFrame | ) | const [inherited] |
| DWORD CxImage::GetFrameDelay | ( | ) | const [inherited] |
| DWORD CxImage::GetHeight | ( | ) | const [inherited] |
| BYTE CxImage::GetJpegQuality | ( | ) | const [inherited] |
| float CxImage::GetJpegQualityF | ( | ) | const [inherited] |
| BYTE CxImage::GetJpegScale | ( | ) | const [inherited] |
| const char * CxImage::GetLastError | ( | ) | [inherited] |
Returns the last reported error.
| DWORD CxImage::GetNumColors | ( | ) | const [inherited] |
| long CxImage::GetNumFrames | ( | ) | const [inherited] |
This function must be used after a Decode() / Load() call. Use the sequence SetFrame(-1); Load(...); GetNumFrames(); to get the number of images without loading the first image.
| DWORD CxImage::GetNumTypes | ( | ) | [static, inherited] |
| void CxImage::GetOffset | ( | long * | x, | |
| long * | y | |||
| ) | [inherited] |
| long CxImage::GetProgress | ( | ) | const [inherited] |
| bool CxImage::GetRetreiveAllFrames | ( | ) | const [inherited] |
| long CxImage::GetSize | ( | ) | [inherited] |
| RGBQUAD CxImage::GetTransColor | ( | ) | [inherited] |
| long CxImage::GetTransIndex | ( | ) | const [inherited] |
Gets the index used for transparency. Returns -1 for no transparancy.
| DWORD CxImage::GetType | ( | ) | const [inherited] |
| DWORD CxImage::GetTypeIdFromIndex | ( | const DWORD | index | ) | [static, inherited] |
| DWORD CxImage::GetTypeIdFromName | ( | const TCHAR * | ext | ) | [static, inherited] |
| DWORD CxImage::GetTypeIndexFromId | ( | const DWORD | id | ) | [static, inherited] |
| const TCHAR * CxImage::GetVersion | ( | ) | [static, inherited] |
| const float CxImage::GetVersionNumber | ( | ) | [static, inherited] |
| DWORD CxImage::GetWidth | ( | ) | const [inherited] |
| long CxImage::GetXDPI | ( | ) | const [inherited] |
| long CxImage::GetYDPI | ( | ) | const [inherited] |
| bool CxImage::IsEnabled | ( | ) | const [inherited] |
True if the image is enabled for painting.
| bool CxImage::IsTransparent | ( | ) | const [inherited] |
| bool CxImage::IsValid | ( | ) | const [inherited] |
Checks if the image is correctly initializated.
| void CxImage::SetClrImportant | ( | DWORD | ncolors = 0 |
) | [inherited] |
sets the maximum number of colors that some functions like DecreaseBpp() or GetNearestIndex() will use on indexed images
| ncolors | should be less than 2^bpp, or 0 if all the colors are important. |
| bool CxImage::SetCodecOption | ( | DWORD | opt, | |
| DWORD | imagetype = 0 | |||
| ) | [inherited] |
Encode option for GIF, TIF and JPG.
| void CxImage::SetDisposalMethod | ( | BYTE | dm | ) | [inherited] |
Sets the method for drawing the frame related to others
| void CxImage::SetEscape | ( | long | i | ) | [inherited] |
Used to quit the slow loops or the codecs.
| void CxImage::SetFlags | ( | DWORD | flags, | |
| bool | bLockReservedFlags = true | |||
| ) | [inherited] |
Image flags, for future use
| flags |
| |
| bLockReservedFlags | protects the "reserved" and "blend modes" flags |
| void CxImage::SetFrame | ( | long | nFrame | ) | [inherited] |
| void CxImage::SetFrameDelay | ( | DWORD | d | ) | [inherited] |
Sets current frame delay. Only for GIF format.
| d | = delay in milliseconds |
| void CxImage::SetJpegQuality | ( | BYTE | q | ) | [inherited] |
quality level for JPEG and JPEG2000
| q,: | can be from 0 to 100 |
| void CxImage::SetJpegQualityF | ( | float | q | ) | [inherited] |
quality level for JPEG and JPEG2000 necessary for JPEG2000 when quality is between 0.0 and 1.0
| q,: | can be from 0.0 to 100.0 |
| void CxImage::SetJpegScale | ( | BYTE | q | ) | [inherited] |
scaling down during JPEG decoding valid numbers are 1, 2, 4, 8
| void CxImage::SetOffset | ( | long | x, | |
| long | y | |||
| ) | [inherited] |
| void CxImage::SetProgress | ( | long | p | ) | [inherited] |
Forces the value of the internal progress variable.
| p | should be from 0 to 100. |
| void CxImage::SetRetreiveAllFrames | ( | bool | flag | ) | [inherited] |
| void CxImage::SetTransColor | ( | RGBQUAD | rgb | ) | [inherited] |
Sets the color used for transparency with 24 bpp images. You must call SetTransIndex(0) to enable the effect, SetTransIndex(-1) to disable it.
| void CxImage::SetTransIndex | ( | long | idx | ) | [inherited] |
Sets the index used for transparency with 1, 4 and 8 bpp images. Set to -1 to remove the effect.
| bool CxImage::SetType | ( | DWORD | type | ) | [inherited] |
change image format identifier
| void CxImage::SetXDPI | ( | long | dpi | ) | [inherited] |
Set resolution for TIFF, JPEG, PNG and BMP formats.
| void CxImage::SetYDPI | ( | long | dpi | ) | [inherited] |
Set resolution for TIFF, JPEG, PNG and BMP formats.
1.5.4