How to let gdi/gid+ object (pen\brush\rect\region

2019-08-29 01:23发布

I want draw multi layer in DC. each layer have some gdi/gdi+ object and semi-transparent with the underlayer.

标签: gdi+ gdi
2条回答
我只想做你的唯一
2楼-- · 2019-08-29 01:37

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

查看更多
老娘就宠你
3楼-- · 2019-08-29 01:51

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

查看更多
登录 后发表回答