BOOL StretchBlt(
int x,
int y,
int nWidth,
int nHeight,
CDC* pSrcDC,
int xSrc,
int ySrc,
int nSrcWidth,
int nSrcHeight,
DWORD dwRop
); //可以根据目标dc的矩形大小和原dc矩形大小比例对位图进行伸缩处理
BOOL TransparentBlt(
int xDest,
int yDest,
int nDestWidth,
int nDestHeight,
CDC* pSrcDC,
int xSrc,
int ySrc,
int nSrcWidth,
int nSrcHeight,
UINT clrTransparent
); //可以根据目标dc的矩形大小和原dc矩形大小比例对位图进行伸缩处理,可设置掩码色,也就是实现透明贴图 ,该函数为系统API函数
BOOL BitBlt(
int x,
int y,
int nWidth,
int nHeight,
CDC* pSrcDC,
int xSrc,
int ySrc,
DWORD dwRop
); //不可对图片进行拉伸操作