• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re:NSbezierpath segements
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Determining required physical space for a HTML segment
  • Next by Date: sleep problem when mounting a windows volume
  • Previous by thread: NSbezierpath segements
  • Next by thread: Status Item problems
  • Index(es):
    • Date
    • Thread