typedef struct _NSSize
{
float width;
float height;
} NSSize;
Using NSSize is completely analogous to using NSPoint,
as in the following code example:
NSSize testSize; testSize = NSMakeSize (0.5, 51); NSLog (@"x coordinate: %f", testSize.width); // 0.5 NSLog (@"y coordinate: %f", testSize.height); // 51NSZeroSize is a constant equal to a size with zero width and zero height.