home *** CD-ROM | disk | FTP | other *** search
- /* Extracted from a file with the following copyright information:
-
- #ident "@(#) NSGeometry.h, Rev 1.8, 96/08/02"
- //
- // Copyright (c) 1995-1996, Sun Microsystems, Inc.
- // portions (c) Copyright 1994, NeXT Computer, Inc.
- // All rights reserved.
- //
- // Basic definitions for 2-D Geometry
-
- */
-
- typedef struct _NSPoint {
- float x;
- float y;
- } NSPoint;
-
- typedef struct _NSSize {
- float width; // should never be negative
- float height; // should never be negative
- } NSSize;
-
- typedef struct _NSRect {
- NSPoint origin;
- NSSize size;
- } NSRect;
-