Cbitmap GetBitmapBits Copies the bits of the specified bitmap into the specified buffer http://msdn....

CBitmap Members 

Visual Studio 2005
 
Other Versions
 
4 out of 10 rated this helpful Rate this topic
 

 

Base Class Members

CObject Members

CGdiObject Members

Construction

CBitmap

Constructs a CBitmap object.

Initialization

CreateBitmap

Initializes the object with a device-dependent memory bitmap that has a specified width, height, and bit pattern.

CreateBitmapIndirect

Initializes the object with a bitmap with the width, height, and bit pattern (if one is specified) given in a BITMAP structure.

CreateCompatibleBitmap

Initializes the object with a bitmap so that it is compatible with a specified device.

CreateDiscardableBitmap

Initializes the object with a discardable bitmap that is compatible with a specified device.

LoadBitmap

Initializes the object by loading a named bitmap resource from the application's executable file and attaching the bitmap to the object.

LoadMappedBitmap

Loads a bitmap and maps colors to current system colors.

LoadOEMBitmap

Initializes the object by loading a predefined Windows bitmap and attaching the bitmap to the object.

Attributes

GetBitmap

Fills a BITMAP structure with information about the bitmap.

operator HBITMAP

Returns the Windows handle attached to the CBitmap object.

Operations

FromHandle

Returns a pointer to a CBitmap object when given a handle to a Windows HBITMAP bitmap.

GetBitmapBits

Copies the bits of the specified bitmap into the specified buffer.

GetBitmapDimension

Returns the width and height of the bitmap. The height and width are assumed to have been set previously by the SetBitmapDimension member function.

SetBitmapBits

Sets the bits of a bitmap to the specified bit values.

SetBitmapDimension

Assigns a width and height to a bitmap in 0.1-millimeter units.

转载于:https://www.cnblogs.com/songtzu/archive/2013/01/03/2843502.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值