开发者

How to let gdi/gid+ object (pen\brush\rect\region etc.) semi-transparent?

I want draw multi layer in DC. each 开发者_Go百科layer have some gdi/gdi+ object and semi-transparent with the underlayer.


Using the function SetROP2 with the argument R2_MASKPEN is a very simple way to get a transparent pen effect.


you need to use the ARGB system for coloring. A represents transparency, it takes a value between 0 and 255. a value of 125 is semi transparant

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜