[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Help on Bezier curves
- From: Lars Clausen <lrclause cs uiuc edu>
- To: dia-list gnome org
- Subject: Re: Help on Bezier curves
- Date: 13 Dec 2002 17:12:53 -0600
On Fri, 13 Dec 2002, Christophe Ponsard wrote:
>
> Could anyone point me to some ref/example on how to program
> a Bezier curve, especially wrt to the use of BezPoint in the fill_bezier
> and draw_bezier function of the diarenderer ?
> (I am trying to render "cloud" figure ;-)
It's a bit funky. There's some explanation in lib/geometry.h, and a
generic implementation using lines in lib/diarenderer.c. To create a new
bezier object, look at the example in plug-ins/xfig/xfig-import.c, which
creates a bezier curve from xfig format.
-Lars
--
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor
"I do not agree with a word that you say, but I |----------------------------
will defend to the death your right to say it." | Where are we going, and
--Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket?
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Mail converted by Mofo Magic and the Flying D
All trademarks and copyrights are the property of
their respective owners.
Related Sites:
eBay Registration |
Bakie Directory |
Directory Owners Forum |
eLoan |
Cash Advance |
OPEN |
OPEN |
OPEN |
FreeCreditReport.com |
Powered by: vBulletin Version 3.5.3,
Copyright ©2000 - 2003, Jelsoft Enterprises Limited.
GuideSMACK