Re: NSUnionRect
Re: NSUnionRect
- Subject: Re: NSUnionRect
- From: Shawn Erickson <email@hidden>
- Date: Sat, 03 Mar 2007 07:40:49 -0800
On Mar 2, 2007, at 11:23 PM, Gordon Apple wrote:
The list search is dead tonight.
What's with NSUnionRect? I am getting a result of (0,0,0,0) when
evaluating NSUnionRect with (0,600,0,0) and (400,600,0,0). The
correct
result should be (0,600,400,0). I was trying to use it to compute the
bounding rect of a polygon. I wrote my own to make it work right.
You read the docs for NSUnionRect?
<http://developer.apple.com/documentation/Cocoa/Reference/Foundation/
Miscellaneous/Foundation_Functions/Reference/reference.html#//
apple_ref/c/func/NSUnionRect>
-Shawn
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >NSUnionRect (From: Gordon Apple <email@hidden>) |