[Top][All Lists]

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

[bugs #10236] NSContainsRect on equal rects.

From: anonymous
Subject: [bugs #10236] NSContainsRect on equal rects.
Date: Thu, 02 Sep 2004 09:37:49 -0400
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7) Gecko/20040623 Camino/0.8

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

[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 17:25

Category:  Base/Foundation
Severity:  5 - Average
Item Group:  Bug
Resolution:  None
Privacy:  Public
Assigned to:  None
Status:  Open

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.

For detailed info, follow this link:

  Message sent via/by Savannah

reply via email to

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