关于一个函数的用法,急啊。。。。。。
有谁知道BitBlt如何用吗,最好给出详细的解答。谢谢。 问题点数:20、回复次数:2Top
1 楼lxpbuaa(桂枝香在故国晚秋)回复于 2004-07-01 14:51:33 得分 20
BOOL BitBlt(
HDC hdcDest, // handle to destination device context
int nXDest, // x-coordinate of destination rectangle's upper-left corner
int nYDest, // y-coordinate of destination rectangle's upper-left corner
int nWidth, // width of destination rectangle
int nHeight, // height of destination rectangle
HDC hdcSrc, // handle to source device context
int nXSrc, // x-coordinate of source rectangle's upper-left corner
int nYSrc, // y-coordinate of source rectangle's upper-left corner
DWORD dwRop // raster operation code
);
BitBlt 从一个设备(由hdcSrc指定)上截取指定矩形区域(nXSrc、nYSrc、nWidth、nHeight)的象素,经过颜色变换(dwRop),然后复制到另一个设备(hdcDest)的指定区域(nXDest、nYDest、nWidth、nHeight)。
————————————————————————————————————
宠辱不惊,看庭前花开花落,去留无意;毁誉由人,望天上云卷云舒,聚散任风。
————————————————————————————————————
Top
2 楼yleiou(单刀匹马)回复于 2004-07-01 14:58:47 得分 0
查看微软的API帮助哟
Top




