Re: NSRegion
Re: NSRegion
- Subject: Re: NSRegion
- From: Allan Odgaard <email@hidden>
- Date: Tue, 23 Mar 2004 10:03:05 +0100
On 23. Mar 2004, at 8:49, Tom Bernard wrote:
What is the status of NSRegion?
Pure speculation, but Panther did introduce the optimized refresh
discussed in the posts you linked to, so most likely they have done so
by creating the NSRegion class.
They also did add a few methods to work with rectangle lists, although
nothing fancy like AND, OR, and XOR of regions. In my experience such
stuff is mostly needed by the implementation of the window/view/layer
system and not really useful in application code, so the NSRegion class
will probably remain private.
Interestingly I needed such functions myself not long ago, and did
exhaustive searching on the net before writing my own, and did not find
any source at all which implemented it -- maybe I was just bad at
searching, or my thesis holds that this is really a rare requirement ;)
** Cocoa FAQ: <
http://www.alastairs-place.net/cocoa/faq.txt> **
_______________________________________________
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.
References: | |
| >NSRegion (From: Tom Bernard <email@hidden>) |