Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:14:35

0001 #ifndef XPROTOSTRUCTS_H
0002 #define XPROTOSTRUCTS_H
0003 
0004 /***********************************************************
0005 
0006 Copyright 1987, 1998  The Open Group
0007 
0008 Permission to use, copy, modify, distribute, and sell this software and its
0009 documentation for any purpose is hereby granted without fee, provided that
0010 the above copyright notice appear in all copies and that both that
0011 copyright notice and this permission notice appear in supporting
0012 documentation.
0013 
0014 The above copyright notice and this permission notice shall be included in
0015 all copies or substantial portions of the Software.
0016 
0017 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0018 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0019 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
0020 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
0021 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
0022 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0023 
0024 Except as contained in this notice, the name of The Open Group shall not be
0025 used in advertising or otherwise to promote the sale, use or other dealings
0026 in this Software without prior written authorization from The Open Group.
0027 
0028 
0029 Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
0030 
0031                         All Rights Reserved
0032 
0033 Permission to use, copy, modify, and distribute this software and its 
0034 documentation for any purpose and without fee is hereby granted, 
0035 provided that the above copyright notice appear in all copies and that
0036 both that copyright notice and this permission notice appear in 
0037 supporting documentation, and that the name of Digital not be
0038 used in advertising or publicity pertaining to distribution of the
0039 software without specific, written prior permission.  
0040 
0041 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
0042 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
0043 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
0044 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
0045 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
0046 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
0047 SOFTWARE.
0048 
0049 ******************************************************************/
0050 #include <X11/Xmd.h>
0051 
0052 /* Used by PolySegment */
0053 
0054 typedef struct _xSegment {
0055     INT16 x1 B16, y1 B16, x2 B16, y2 B16;
0056 } xSegment;
0057 
0058 /* POINT */
0059 
0060 typedef struct _xPoint {
0061     INT16       x B16, y B16;
0062 } xPoint;
0063 
0064 typedef struct _xRectangle {
0065     INT16 x B16, y B16;
0066     CARD16  width B16, height B16;
0067 } xRectangle;
0068 
0069 /*  ARC  */
0070 
0071 typedef struct _xArc {
0072     INT16 x B16, y B16;
0073     CARD16   width B16, height B16;
0074     INT16   angle1 B16, angle2 B16;
0075 } xArc;
0076 
0077 #endif /* XPROTOSTRUCTS_H */