摘自msdn:函数原形
BOOL BitBlt( int x, int y, int nWidth, int nHeight, CDC* pSrcDC, int xSrc, int ySrc, DWORD dwRop );
解释:
x//画图初始位置横坐标
Specifies the logical x-coordinate of the upper-left corner of the destination rectangle.
y//画图初始位置纵坐标
Specifies the logical y-coordinate of the upper-left corner of the destination rectangle.
nWidth//显示图片宽
Specifies the width (in logical units) of the destination rectangle and source bitmap.
nHeight//显示图片高度
Specifies the height (in logical units) of the destination rectangle and source bitmap.
pSrcDC//cdc指针
Pointer to a CDC object that identifies the device context from which the bitmap will be copied. It must be NULL if dwRop specifies a raster operation that does not include a source.
xSrc//原始图片取横坐标
Specifies the logical x-coordinate of the upper-left corner of the source bitmap.
ySrc//原始图片取纵坐标
Specifies the logical y-coordinate of the upper-left corner of the source bitmap.
dwRop//类型
Specifies the raster operation to be performed. Raster-operation codes define how the GDI combines colors in output operations that involve a current brush, a possible source bitmap, and a destination bitmap. The following lists raster-operation codes for dwRop and their descriptions: