|
|
1.1 ! root 1: /* $Header: Xprotostr.h,v 1.1 87/09/11 06:37:58 toddb Exp $ */ ! 2: #ifndef XPROTOSTRUCTS_H ! 3: #define XPROTOSTRUCTS_H ! 4: ! 5: /*********************************************************** ! 6: Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts, ! 7: and the Massachusetts Institute of Technology, Cambridge, Massachusetts. ! 8: ! 9: All Rights Reserved ! 10: ! 11: Permission to use, copy, modify, and distribute this software and its ! 12: documentation for any purpose and without fee is hereby granted, ! 13: provided that the above copyright notice appear in all copies and that ! 14: both that copyright notice and this permission notice appear in ! 15: supporting documentation, and that the names of Digital or MIT not be ! 16: used in advertising or publicity pertaining to distribution of the ! 17: software without specific, written prior permission. ! 18: ! 19: DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ! 20: ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL ! 21: DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ! 22: ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, ! 23: WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ! 24: ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS ! 25: SOFTWARE. ! 26: ! 27: ******************************************************************/ ! 28: #include "Xmd.h" ! 29: ! 30: /* Used by PolySegment */ ! 31: ! 32: typedef struct _xSegment { ! 33: INT16 x1, y1, x2, y2; ! 34: } xSegment; ! 35: ! 36: /* POINT */ ! 37: ! 38: typedef struct _xPoint { ! 39: INT16 x,y; ! 40: } xPoint; ! 41: ! 42: typedef struct _xRectangle { ! 43: INT16 x, y; ! 44: CARD16 width, height; ! 45: } xRectangle; ! 46: ! 47: /* ARC */ ! 48: ! 49: typedef struct _xArc { ! 50: INT16 x, y; ! 51: CARD16 width, height; ! 52: INT16 angle1, angle2; ! 53: } xArc; ! 54: ! 55: #endif /* XPROTOSTRUCTS_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.