CImage Members
Operators
Returns the Windows handle attached to the CImage object. |
Construction
The constructor. |
Operations
Displays bitmaps that have transparent or semitransparent pixels. |
|
Attaches an HBITMAP to a CImage object. Can be used with either non-DIB section bitmaps or DIB section bitmaps. |
|
Copies a bitmap from the source device context to this current device context. |
|
Creates a DIB section bitmap and attaches it to the previously constructed CImage object. |
|
Creates a DIB section bitmap (with additional parameters) and attaches it to the previously constructed CImage object. |
|
Detaches the bitmap from the CImage object and destroys the bitmap. |
|
Detaches the bitmap from a CImage object. |
|
Copies a bitmap from a source rectangle into a destination rectangle. Draw stretches or compresses the bitmap to fit the dimensions of the destination rectangle, if necessary, and handles alpha blending and transparent colors. |
|
Retrieves a pointer to the actual pixel values of the bitmap. |
|
Retrieves the bits per pixel. |
|
Retrieves red, green, blue (RGB) color values from a range of entries in the color table. |
|
Retrieves the device context into which the current bitmap is selected. |
|
Finds the available image formats and their descriptions. |
|
Finds the available image formats and their descriptions. |
|
Retrieves the height of the current image in pixels. |
|
Retrieves the maximum number of entries in the color table. |
|
Retrieves the pitch of the current image, in bytes. |
|
Retrieves the address of a given pixel. |
|
Retrieves the color of the pixel specified by x and y. |
|
Retrieves the position of the transparent color in the color table. |
|
Retrieves the width of the current image in pixels. |
|
Determines if the attached bitmap is a DIB section. |
|
Indicates that a bitmap's colors are mapped to an indexed palette. |
|
Indicates if a source bitmap is currently loaded. |
|
Indicates whether the application supports transparent bitmaps and was compiled for Windows 2000 or later. |
|
Loads an image from the specified resource. |
|
Loads an image from the specified file. |
|
Combines the color data for the source and destination bitmaps using the specified mask and raster operation. |
|
Performs a bit-block transfer from a rectangle in a source device context into a parallelogram in a destination device context. |
|
Releases the device context that was retrieved with CImage::GetDC. |
|
Releases resources used by GDI+. Must be called to free resources created by a global CImage object. |
|
Saves an image as the specified type. Save cannot specify image options. |
|
Sets red, green, blue RGB) color values in a range of entries in the color table of the DIB section. |
|
Sets the pixel at the specified coordinates to the color at the specified index of the palette. |
|
Sets the pixel at the specified coordinates to the specified red, green, blue (RGB) value. |
|
Sets the pixel at the specified coordinates to the specified color. |
|
Sets the index of the color to be treated as transparent. Only one color in a palette can be transparent. |
|
Copies a bitmap from a source rectangle into a destination rectangle, stretching or compressing the bitmap to fit the dimensions of the destination rectangle, if necessary. |
|
Copies a bitmap with transparent color from the source device context to this current device context. |