home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / UNIX / Mail / appnmail-1.8-Solaris / mailapp-utilities / Foundation / NSGeometry.h
Encoding:
C/C++ Source or Header  |  1997-05-05  |  573 b   |  27 lines

  1. /* Extracted from a file with the following copyright information:
  2.  
  3. #ident "@(#) NSGeometry.h, Rev 1.8, 96/08/02"
  4. //
  5. //      Copyright (c) 1995-1996, Sun Microsystems, Inc.
  6. //      portions (c) Copyright 1994, NeXT Computer, Inc.
  7. //      All rights reserved.
  8. //
  9. //      Basic definitions for 2-D Geometry
  10.  
  11. */
  12.  
  13. typedef struct _NSPoint {
  14.     float x;
  15.     float y;
  16. } NSPoint;
  17.  
  18. typedef struct _NSSize {
  19.     float width;    // should never be negative
  20.     float height;    // should never be negative
  21. } NSSize;
  22.  
  23. typedef struct _NSRect {
  24.     NSPoint origin;
  25.     NSSize size;
  26. } NSRect;
  27.