bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #10236] NSContainsRect on equal rects.


From: Adam Fedor
Subject: [bugs #10236] NSContainsRect on equal rects.
Date: Wed, 05 Jan 2005 23:20:38 -0500
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/125.5.5 (KHTML, like Gecko) Safari/125.12

This mail is an automated notification from the bugs tracker
 of the project: GNUstep.

/**************************************************************************/
[bugs #10236] Latest Modifications:

Changes by: 
                Adam Fedor <fedor@gnu.org>
'Date: 
                Thu 01/06/2005 at 03:35 (US/Mountain)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
         Assigned to | None                      | fedor
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Fixed.
2004-12-30  Adam Fedor  <fedor@gnu.org>

        * Headers/Foundation/NSGeometry.h (NSContainsRect): Change behavior
        to match Cocoa (sides of rects CAN touch).








/**************************************************************************/
[bugs #10236] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10236>
Project: GNUstep
Submitted by: 0
On: Wed 09/01/2004 at 21:25

Category:  Base/Foundation
Severity:  5 - Average
Item Group:  Bug
Resolution:  Fixed
Privacy:  Public
Assigned to:  fedor
Status:  Closed


Summary:  NSContainsRect on equal rects.

Original Submission:  It seems the Cocoa specs has been changed and this 
doesn't match
GNUstep's behavior

"bRect cannot be empty and must not extend beyond aRect in any direction."

The old one based on Jaguar says

"its sides must not touch the sides of aRect"

But even that is not Jaguar's Cocoa's behavior and this
really make a trouble on me.

In my opinion, I think this is a right move. NSContainsRect
is pretty useless if it can't check the rects that are equal.
I ain't sure about others' opinion but I think that most of
the time, if someone wants to know if aRect is containing
bRect, she would want to get the result if one or more sides
of aRect reach bRect's.

Follow-up Comments
------------------


-------------------------------------------------------
Date: Thu 01/06/2005 at 03:35       By: Adam Fedor <fedor>
Fixed.
2004-12-30  Adam Fedor  <fedor@gnu.org>

        * Headers/Foundation/NSGeometry.h (NSContainsRect): Change behavior
        to match Cocoa (sides of rects CAN touch).














For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=10236>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/






reply via email to

[Prev in Thread] Current Thread [Next in Thread]