playing with arcs
playing with arcs
- Subject: playing with arcs
- From: Giovanni Donelli <email@hidden>
- Date: Thu, 15 Sep 2005 23:43:33 +0200
Dear Everyone,
does anybody have any knowledge on how to use this function of
NSBezierPath to draw arcs:
- (void)appendBezierPathWithArcFromPoint:(NSPoint)fromPoint toPoint:
(NSPoint)toPoint radius:(float)radius
I have 2 points and I am trying to draw an arc in between. it simply
doesn't work and I get an exception if I call solely the method above
and then I try to stoke the resulting path.
Somehow if I use before that:
- (void)moveToPoint:(NSPoint)aPoint
the exception disappears but the arc is simply not drawn on the view.
any idea???
thanks for your help!!!
Giovanni Donelli
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden