bugGNUstep - Bugs: bug #10236, NSContainsRect on equal rects.

Group
 
 

bug #10236: NSContainsRect on equal rects.

Submitter:  None
Submitted:  Wed 01 Sep 2004 09:25:37 PM UTC
   
 
Category:  Base/Foundation Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  fedor
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 06 Jan 2005 03:35:05 AM UTC, comment #1: 

Fixed.
2004-12-30  Adam Fedor  <fedor@gnu.org>

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


Adam Fedor <fedor>
Group administrator
Wed 01 Sep 2004 09:25:37 PM UTC, 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.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-01-06 fedor StatusNone Fixed
    Assigned toNone fedor
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code