|
| | CDIB (HANDLE hDib=NULL, int nBits=8) |
| |
| virtual | ~CDIB () |
| |
| CDIB & | operator= (CDIB &dib) |
| |
| BOOL | IsValid () |
| |
| void | UseGamma (float fg, BOOL bUse=TRUE) |
| |
| BOOL | CreateFromHandle (HANDLE hDib, int nBits) |
| |
| BOOL | Create (int width, int height, int bits=24) |
| |
| BOOL | Create (BITMAPINFOHEADER &bmInfo) |
| |
| BOOL | CopyDIB (CDIB &dib) |
| |
| BOOL | OpenDIB (CString &fileName) |
| |
| BOOL | SaveDIB (CString &fileName, BitmapType type) |
| |
| void | ReplaceColor (unsigned char oldColor, unsigned char newColor) |
| |
| HANDLE | GetDIBits (int nStartX=-1, int nStartY=-1, int nCx=-1, int nCy=-1) |
| |
| CBitmap * | GetBitmap (CDC &dc) |
| |
| CBitmap * | GetTempBitmap (CDC &dc) |
| |
| DWORD | GetDIBSize () |
| |
| int | GetPaletteSize (BITMAPINFOHEADER &bmInfo) |
| |
| int | GetPaletteSize () |
| |
| int | CountColors () |
| |
| int | EnumColors (BYTE *colors) |
| |
| void | InitDIB (COLORREF color) |
| |
| void | CopyLine (int source, int dest) |
| |
| void | DestroyDIB () |
| |
| void | SetPalette (unsigned char *palette) |
| |
| void | SetPalette (RGBQUAD *pRGB) |
| |
| COLORREF | PaletteColor (int index) |
| |
| void | SetPixel (int x, int y, COLORREF color) |
| |
| void | SetPixel8 (int x, int y, unsigned char color) |
| |
| COLORREF | GetPixel (int x, int y) |
| |
| void | GetPixel (UINT x, UINT y, int &pixel) |
| |
| void | BitBlt (HDC hDest, int nXDest, int nYDest, int nWidth, int nHeight, int xSrc, int ySrc) |
| |
| void | BitBlt (int nXDest, int nYDest, int nWidth, int nHeight, CDIB &dibSrc, int nSrcX, int nSrcY, BYTE *colors=NULL) |
| |
| void | StretchBlt (HDC hDest, int nXDest, int nYDest, int nDWidth, int nDHeight, int xSrc, int ySrc, int nSWidth, int nSHeight) |
| |
| void | StretchBlt (int nXDest, int nYDest, int nDWidth, int nDHeight, CDIB &dibSrc, int xSrc, int ySrc, int nSWidth, int nSHeight) |
| |
| void | ExpandBlt (int nXDest, int nYDest, int xRatio, int yRatio, CDIB &dibSrc, int xSrc, int ySrc, int nSWidth, int nSHeight) |
| |
| void | SetFlags (int flag) |
| |
| int | Height () |
| |
| int | Width () |
| |
| unsigned char * | GetLinePtr (int line) |
| |
| int | GetBitCount () |
| |
| BOOL | Make8Bit (CDIB &dib) |
| |
| BOOL | SwitchFromOne (CDIB &dib) |
| |
| BOOL | SwitchFromFour (CDIB &dib) |
| |
| BOOL | SwitchFrom24 (CDIB &dib) |
| |
| BOOL | SwitchPalette (CDIB &dib) |
| |
| int | ClosestColor (RGBQUAD *pRgb) |
| |
| LPBITMAPINFO | GetBitmapInfo () |
| |
Definition at line 35 of file CDIB.h.