im_dib.h File Reference
Detailed Description
See Copyright Notice in im_lib.h- Id
- im_dib.h,v 1.2 2006/11/20 13:18:51 scuri Exp
Go to the source code of this file.
Data Structures | |
struct | _imDib |
Windows DIB Structure. More... | |
Typedefs | |
typedef _imDib | imDib |
typedef unsigned int(* | imDibLineGetPixel )(unsigned char *line, int col) |
typedef void(* | imDibLineSetPixel )(unsigned char *line, int col, unsigned int pixel) |
Functions | |
imDib * | imDibCreate (int width, int height, int bpp) |
imDib * | imDibCreateCopy (const imDib *dib) |
imDib * | imDibCreateReference (BYTE *bmi, BYTE *bits) |
imDib * | imDibCreateSection (HDC hDC, HBITMAP *image, int width, int height, int bpp) |
void | imDibDestroy (imDib *dib) |
imDibLineGetPixel | imDibLineGetPixelFunc (int bpp) |
imDibLineSetPixel | imDibLineSetPixelFunc (int bpp) |
imDib * | imDibFromHBitmap (const HBITMAP image, const HPALETTE hPalette) |
HBITMAP | imDibToHBitmap (const imDib *dib) |
HPALETTE | imDibLogicalPalette (const imDib *dib) |
imDib * | imDibCaptureScreen (int x, int y, int width, int height) |
void | imDibCopyClipboard (imDib *dib) |
imDib * | imDibPasteClipboard (void) |
int | imDibIsClipboardAvailable (void) |
int | imDibSaveFile (const imDib *dib, const char *filename) |
imDib * | imDibLoadFile (const char *filename) |
void | imDibDecodeToRGBA (const imDib *dib, unsigned char *red, unsigned char *green, unsigned char *blue, unsigned char *alpha) |
void | imDibDecodeToMap (const imDib *dib, unsigned char *map, long *palette) |
void | imDibEncodeFromRGBA (imDib *dib, const unsigned char *red, const unsigned char *green, const unsigned char *blue, const unsigned char *alpha) |
void | imDibEncodeFromMap (imDib *dib, const unsigned char *map, const long *palette, int palette_count) |
void | imDibEncodeFromBitmap (imDib *dib, const unsigned char *data) |
void | imDibDecodeToBitmap (const imDib *dib, unsigned char *data) |