9 #import <Foundation/Foundation.h> 
   22 #define NSPointZero NSZeroPoint 
   29 #define NSSizeZero NSZeroSize 
   36 #define NSRectZero NSZeroRect 
   49     return NSMakePoint(x, y);
 
   58     return NSMakeSize(w, h);
 
   66 NS_INLINE NSRect 
NSRectMake(CGFloat x, CGFloat y, CGFloat w, CGFloat h) {
 
   67     return NSMakeRect(x, y, w, h);
 
   80     return NSEqualPoints(aPoint, bPoint);
 
   89     return NSEqualSizes(aSize, bSize);
 
   98     return NSEqualRects(aRect, bRect);
 
  107     return NSIsEmptyRect(aRect);
 
NS_INLINE BOOL NSRectIsEmpty(NSRect aRect)
Returns a Boolean value that indicates whether a given rectangle is empty. 
Definition: NSGeometry.h:106
 
NS_INLINE BOOL NSSizeEqualToSize(NSSize aSize, NSSize bSize)
Returns a Boolean value that indicates whether two size values are equal. 
Definition: NSGeometry.h:88
 
NS_INLINE NSPoint NSPointMake(CGFloat x, CGFloat y)
Creates a new NSPoint from the specified values. 
Definition: NSGeometry.h:48
 
NS_INLINE NSRect NSRectMake(CGFloat x, CGFloat y, CGFloat w, CGFloat h)
Creates a new NSRect from the specified values. 
Definition: NSGeometry.h:66
 
NS_INLINE BOOL NSPointEqualToPoint(NSPoint aPoint, NSPoint bPoint)
Returns a Boolean value that indicates whether two points are equal. 
Definition: NSGeometry.h:79
 
NS_INLINE NSSize NSSizeMake(CGFloat w, CGFloat h)
Creates a new NSSize from the specified values. 
Definition: NSGeometry.h:57
 
NS_INLINE BOOL NSRectEqualToRect(NSRect aRect, NSRect bRect)
Returns a Boolean value that indicates whether the two rectangles are equal. 
Definition: NSGeometry.h:97