vs2005中的类CImage可以很方便处理图像

来源:互联网 发布:演唱汇软件下载 编辑:程序博客网 时间:2024/04/30 23:13

 

 

Operators

operator HBITMAP

Returns the Windows handle attached to the CImage object.

Construction

CImage

The constructor.

Operations

AlphaBlend

Displays bitmaps that have transparent or semitransparent pixels.

Attach

Attaches an HBITMAP to a CImage object. Can be used with either non-DIB section bitmaps or DIB section bitmaps.

BitBlt

Copies a bitmap from the source device context to this current device context.

Create

Creates a DIB section bitmap and attaches it to the previously constructed CImage object.

CreateEx

Creates a DIB section bitmap (with additional parameters) and attaches it to the previously constructed CImage object.

Destroy

Detaches the bitmap from the CImage object and destroys the bitmap.

Detach

Detaches the bitmap from a CImage object.

Draw

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.

GetBits

Retrieves a pointer to the actual pixel values of the bitmap.

GetBPP

Retrieves the bits per pixel.

GetColorTable

Retrieves red, green, blue (RGB) color values from a range of entries in the color table.

GetDC

Retrieves the device context into which the current bitmap is selected.

GetExporterFilterString

Finds the available image formats and their descriptions.

GetImporterFilterString

Finds the available image formats and their descriptions.

GetHeight

Retrieves the height of the current image in pixels.

GetMaxColorTableEntries

Retrieves the maximum number of entries in the color table.

原创粉丝点击