home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / include / x11 / xprotostr.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-17  |  2.9 KB  |  80 lines

  1. /* $XConsortium: Xprotostr.h,v 1.5 94/04/17 20:10:53 rws Exp $ */
  2. #ifndef XPROTOSTRUCTS_H
  3. #define XPROTOSTRUCTS_H
  4.  
  5. /***********************************************************
  6.  
  7. Copyright (c) 1987  X Consortium
  8.  
  9. Permission is hereby granted, free of charge, to any person obtaining a copy
  10. of this software and associated documentation files (the "Software"), to deal
  11. in the Software without restriction, including without limitation the rights
  12. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  13. copies of the Software, and to permit persons to whom the Software is
  14. furnished to do so, subject to the following conditions:
  15.  
  16. The above copyright notice and this permission notice shall be included in
  17. all copies or substantial portions of the Software.
  18.  
  19. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  20. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  21. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
  22. X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  23. AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  24. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  25.  
  26. Except as contained in this notice, the name of the X Consortium shall not be
  27. used in advertising or otherwise to promote the sale, use or other dealings
  28. in this Software without prior written authorization from the X Consortium.
  29.  
  30.  
  31. Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
  32.  
  33.                         All Rights Reserved
  34.  
  35. Permission to use, copy, modify, and distribute this software and its 
  36. documentation for any purpose and without fee is hereby granted, 
  37. provided that the above copyright notice appear in all copies and that
  38. both that copyright notice and this permission notice appear in 
  39. supporting documentation, and that the name of Digital not be
  40. used in advertising or publicity pertaining to distribution of the
  41. software without specific, written prior permission.  
  42.  
  43. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  44. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  45. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  46. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  47. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  48. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  49. SOFTWARE.
  50.  
  51. ******************************************************************/
  52. #include <X11/Xmd.h>
  53.  
  54. /* Used by PolySegment */
  55.  
  56. typedef struct _xSegment {
  57.     INT16 x1 B16, y1 B16, x2 B16, y2 B16;
  58. } xSegment;
  59.  
  60. /* POINT */
  61.  
  62. typedef struct _xPoint {
  63.     INT16        x B16, y B16;
  64. } xPoint;
  65.  
  66. typedef struct _xRectangle {
  67.     INT16 x B16, y B16;
  68.     CARD16  width B16, height B16;
  69. } xRectangle;
  70.  
  71. /*  ARC  */
  72.  
  73. typedef struct _xArc {
  74.     INT16 x B16, y B16;
  75.     CARD16   width B16, height B16;
  76.     INT16   angle1 B16, angle2 B16;
  77. } xArc;
  78.  
  79. #endif /* XPROTOSTRUCTS_H */
  80.