Re: NSBezierPath, Accessing elements of a NSBezierPath path
Re: NSBezierPath, Accessing elements of a NSBezierPath path
- Subject: Re: NSBezierPath, Accessing elements of a NSBezierPath path
- From: Raphael Sebbe <email@hidden>
- Date: Thu, 12 Jul 2001 16:03:01 +0200
Never used that API before, but I have some question/comment for
NSBezierPath and circles. I am also interested in an answer to the
original post because I'd like to retrieve font glyphes and that is
probably a way to do it (using NSBezierPath).
NSBezierPath proposes an API for Bizier splines. But how are handled
circles and arcs which cannot represented by those ? The question is
does NSBezierPath use weighted splines (rational bezier, NURBs...)
internally or are there special drawing functions for those primitives,
or does it simply draws an approximation of a circle using traditional
bezier splines ?
Does anyone know ?
Raphael
On Thursday, July 12, 2001, at 03:12 PM, Michel Haver wrote:
How can I access the elements of the CirclePath by using these
accessors?
If I draw a Circle by using NSBezierPath how can I extract for example
12
points from the Circle, each with a 30 degrees (360/12) difference to
each
other.