• 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
NSBezierPath containsPoint?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSBezierPath containsPoint?


  • Subject: NSBezierPath containsPoint?
  • From: "Brian O'Brien" <email@hidden>
  • Date: Thu, 20 Oct 2005 15:25:34 -0600

Hi I've been drawing shapes with NSBezierPath and have been been using containsPoint
to determine if the mouse is inside a shape.


This seems to work well for polygons, rectangles and ovals but doesn't work for
a straight line.


How can i tell if the mouse is on top of a line?


_______________________________________________ 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: NSBezierPath containsPoint?
      • From: glenn andreas <email@hidden>
  • Prev by Date: detecting removable media
  • Next by Date: Authenticate a user
  • Previous by thread: detecting removable media
  • Next by thread: Re: NSBezierPath containsPoint?
  • Index(es):
    • Date
    • Thread