Re: NSUnionRect
Subject : Re: NSUnionRect
From: Shawn Erickson <email@hidden >
Date: Sat, 03 Mar 2007 07:40:49 -0800
Delivered-to: email@hidden
Delivered-to: email@hidden
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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to email@hidden
References:
>NSUnionRect (From: Gordon Apple <email@hidden>)
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.