一样的 要用GDI的API函数SetROP2 The SetROP2 function sets the current foreground mix mode. GDI uses the foreground mix mode to combine pens and interiors of filled objects with the colors already on the screen. The foreground mix mode defines how colors from the brush or pen and the colors in the existing image are to be combined. int SetROP2( HDC hdc, // handle to DC int fnDrawMode // drawing mode );
to viena(维也纳nn) 能给个小例子吗,谢谢! to Knight94(愚翁) 没有这样的功能,那要想实现一边画一边擦,有什么好的解决思路吗?
to 没有这样的功能,那要想实现一边画一边擦,有什么好的解决思路吗?没有特别好的,用Graphics.Clear或者用底图来刷新区域。
要用GDI的API函数SetROP2
The SetROP2 function sets the current foreground mix mode. GDI uses the foreground mix mode to combine pens and interiors of filled objects with the colors already on the screen. The foreground mix mode defines how colors from the brush or pen and the colors in the existing image are to be combined. int SetROP2(
HDC hdc, // handle to DC
int fnDrawMode // drawing mode
);
能给个小例子吗,谢谢!
to Knight94(愚翁)
没有这样的功能,那要想实现一边画一边擦,有什么好的解决思路吗?
用底图刷新是什么意思,直接整图刷新吗?这样似乎显得笨拙了点,而且我的程序里可能有20多个这样的线程同时在运行,效率估计是个问题。哎,不知道怎么办好了……
http://topic.csdn.net/t/20050510/21/3996350.html