[cairo] can cairo give me a draw pen with gradient width
Bill Baxter
wbaxter at gmail.com
Wed Dec 12 22:23:43 PST 2007
You might be interested in this work:
http://www.camtech.ntu.edu.sg/CAG/cag_proj.htm
Specifically:
Artistic brushstroke representation and animation with disk b-spline curve
http://doi.acm.org/10.1145/1178477.1178489
I'm not that familiar with it, but the lead author gave a talk at our
office recently. They have used it for oriental calligraphy which is
why your question made me think of it.
I believe the idea is basically to have a separate spline parameter
representing thickness, but then the trick I imagine is how to extract
a good outline from that description quickly.
--bb
On Dec 11, 2007 3:28 PM, glorious tao <glorioustao at gmail.com> wrote:
> Hi, I want to use cairo to draw chinese characters, but how can I get a draw pen with gradient width? In a real world, I use bush pen to do some handwriting, when I push harder and move faster, the pen width will become thinner, so I can get beautiful handwriting (like in the attachment). so can I use cairo to do that, or someone give me some suggestions?
>
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>
More information about the cairo
mailing list