• 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: Tracking rectangles and bezier paths (Wagner Truppel)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tracking rectangles and bezier paths (Wagner Truppel)


  • Subject: Re: Tracking rectangles and bezier paths (Wagner Truppel)
  • From: Dave Budde <email@hidden>
  • Date: Sat, 9 Sep 2006 19:43:49 -0700

Wagner, thanks for all that information. Unfortunately (or fortunately depending on your point of view) I already know how to compute the bezier function and see an approach to get what I want. But I was trying to actually avoid writing any code to do this if in fact there was some built-in mechanism that works like tracking rects. Apparently there isn't so either I'll do the brute force or just implement control point tracking which is trivial.

If anyone from Apple is monitoring this, please implement a tracking curve mechanism in a future version.

On Sep 9, 2006, at 7:24 PM, email@hidden wrote:

a) Upon checking the documentation for NSBezierPath <http://=20
developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/=20
Classes/NSBezierPath_Class/NSBezierPath_Class.pdf>, I learned of the =20
method -containsPoint:, which "Returns a Boolean value indicating =20
whether the receiver contains the specified point". Maybe that's all =20
you need, that is, check whether the path contains the mouse point =20
and, if so, redraw the path with a thicker stroke and/or a different =20
color, so as to highlight the path. The documentation is actually not =20=
.....
_______________________________________________
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


  • Follow-Ups:
    • Re: Re: Tracking rectangles and bezier paths (Wagner Truppel)
      • From: "Michael Ash" <email@hidden>
    • Re: Tracking rectangles and bezier paths (Wagner Truppel)
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: Re: NSTableView using Square Button for image
  • Next by Date: Speaking of tracking rects...
  • Previous by thread: Re: FolderItem equivalent?
  • Next by thread: Re: Tracking rectangles and bezier paths (Wagner Truppel)
  • Index(es):
    • Date
    • Thread