• 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
Accessing points within an NSBezierPath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Accessing points within an NSBezierPath


  • Subject: Accessing points within an NSBezierPath
  • From: Marco Binder <email@hidden>
  • Date: Mon, 29 Jul 2002 23:03:35 +0200

Hello list!

Does anyone know a fast way to enumerate the points contained within an
NSBezierPath? The first (and up to now only) was I could think of is to get
its bounds and scan the whole bounding rectangle, testing
NSBezierPath.containsPoint() for each single pixel. I would guess, this is
very time consuming (and extremely inefficient if the path is for example
just a narrow box, but diagonal to the current coordinate system...)

If anyone knows a handy method, I4d we very grateful if you would let me
know!

Thanks in advance,

marco
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: detect control key
  • Next by Date: Knowing when window closed
  • Previous by thread: Re: Display vs. LockFocus and draw
  • Next by thread: Knowing when window closed
  • Index(es):
    • Date
    • Thread