Stroke changing size!

Dear all,i am now facing this problem: i have a quadratic curve and i want that the stroke size decreases from example from 8pt from P1 to 6pt to P2.Is it possible in your opinion?Thanks a lot.Giorgio
[235 byte] By [J_newBiea] at [2007-11-27 8:09:41]
# 1

Yes, it is my opinion that that is possible :-)

You can divide your quadratic curve into two quadratic curves; see deCasteljau's subdivision algorithm (http://www.cubic.org/docs/bezier.htm). Continue subdividing until you have enough pieces, and render each piece with decreasing stroke size.

James_Vagabonda at 2007-7-12 19:52:50 > top of Java-index,Security,Cryptography...
# 2
it is not such a great idea...not such that effective...
J_newBiea at 2007-7-12 19:52:50 > top of Java-index,Security,Cryptography...
# 3
[url= http://forum.java.sun.com/thread.jspa?threadID=5175944]Drawing line from thin to thick[/url]
crwooda at 2007-7-12 19:52:50 > top of Java-index,Security,Cryptography...