Re:NSbezierpath segements
Re:NSbezierpath segements
- Subject: Re:NSbezierpath segements
- From: Gordon Apple <email@hidden>
- Date: Sat, 12 May 2007 13:32:23 -0500
Look at the documentation for NSBezierPath under "Accessing elements of
a path" and find "elementAtIndex:associatedPoints" and
"setAssociatedPoints:atIndex". You can step through the points to get
locations and type of segment plus control points. You can place handles on
points and control points as needed. You will have to write a little code
to select and track them, but it will not take much.
> i am developing a small drawing application in cocoa .now i am
> inplementing freehand drawing tool. i am doin it with nsbezierpath.
> once the drawing is complete it should be edited by using control
> points.so the nsbezierpath should show points at segments of
> curves.so i want to know how to identify segments in a bezierpath.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden