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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #10236: NSContainsRect on equal rects.

Submitted by:  None
Submitted on:  Wed 01 Sep 2004 09:25:37 PM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: Adam Fedor <fedor>
Open/Closed: Closed

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>
Project AdministratorIn charge of this item.
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

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 06 Jan 2005 03:35:05 AM UTCfedorStatusNone=>Fixed
  Assigned toNone=>fedor
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1