如何在MFC中创建半透明笔刷 [英] how create a translucence brush in MFC

查看:459
本文介绍了如何在MFC中创建半透明笔刷的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一个半透明画笔,我该如何创建它,您能给我一些建议吗?

I need a translucence brush ,how can i create it,can you give me some suggestion

推荐答案

GDI +允许您执行此操作,只需创建一个画笔并设置Alpha.

Doodle-GDI +中的基本绘画包 [
GDI+ allows you to do this, just create a brush and set the alpha.

Doodle - a basic paint package in GDI+[^] has brushes with soft edges in it, you can use that for a template.


这篇关于如何在MFC中创建半透明笔刷的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆