本文介绍了GDI:创造油漆/水刷的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,



我想创造一个画笔,它会给我一个像油画/水画的效果。 Microsoft Paint提供了不同的画笔,其中一个是Oil Brush。





经过敏锐的观察,我注意到了microsoft中使用的完整模式油漆是硬编码的。对于每个冲程(任何颜色)它都会重复。



我的要求很灵活。



我想知道,使用哪种API,以便我的实心填充线看起来像油画颜料或水彩颜料。

Hello,

I wanted to create a brush which will give me a effect like oil/water painting. Microsoft Paint provides different brushes and one of them is Oil Brush.


After keen observation, I noticed that the complete pattern used in microsoft paint is hard-coded. For every stoke(with any color) it gets repeated.

My requirement are flexible.

I wanted to know, which API to use so that my solid fill line will look like a oil paint or water color painting.

推荐答案


这篇关于GDI:创造油漆/水刷的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 13:43
查看更多