This is not really a Cocoa-specific problem, but before I embark on a
long-winded quest, I just wonder if there's a solution out there
already.
Given two rectangles that overlap in some way, I need to create a list
of all the rectangles that make up the non-overlapping areas. In other
Quoting Graham Cox [EMAIL PROTECTED]:
This is not really a Cocoa-specific problem, but before I embark on a
long-winded quest, I just wonder if there's a solution out there
already.
Given two rectangles that overlap in some way, I need to create a list
of all the rectangles that make up the
Sorry, that should have gone just to the original poster.
-- Richard Kennaway
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at
Richard, thanks very much for applying yourself to this problem. You
make it seem easy, and it works a treat. I obviously haven't drunk
enough coffee today as it looked a lot harder than it turned out to be!
Here's my ready-to-use Cocoa-conversion, if anyone else wants to make
use of it.