Path: blob/main/system/include/X11/Xprotostr.h
6162 views
#ifndef XPROTOSTRUCTS_H1#define XPROTOSTRUCTS_H23/***********************************************************45Copyright 1987, 1998 The Open Group67Permission to use, copy, modify, distribute, and sell this software and its8documentation for any purpose is hereby granted without fee, provided that9the above copyright notice appear in all copies and that both that10copyright notice and this permission notice appear in supporting11documentation.1213The above copyright notice and this permission notice shall be included in14all copies or substantial portions of the Software.1516THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR17IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,18FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE19OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN20AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN21CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.2223Except as contained in this notice, the name of The Open Group shall not be24used in advertising or otherwise to promote the sale, use or other dealings25in this Software without prior written authorization from The Open Group.262728Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.2930All Rights Reserved3132Permission to use, copy, modify, and distribute this software and its33documentation for any purpose and without fee is hereby granted,34provided that the above copyright notice appear in all copies and that35both that copyright notice and this permission notice appear in36supporting documentation, and that the name of Digital not be37used in advertising or publicity pertaining to distribution of the38software without specific, written prior permission.3940DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING41ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL42DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR43ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,44WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,45ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS46SOFTWARE.4748******************************************************************/49#include <X11/Xmd.h>5051/* Used by PolySegment */5253typedef struct _xSegment {54INT16 x1 B16, y1 B16, x2 B16, y2 B16;55} xSegment;5657/* POINT */5859typedef struct _xPoint {60INT16 x B16, y B16;61} xPoint;6263typedef struct _xRectangle {64INT16 x B16, y B16;65CARD16 width B16, height B16;66} xRectangle;6768/* ARC */6970typedef struct _xArc {71INT16 x B16, y B16;72CARD16 width B16, height B16;73INT16 angle1 B16, angle2 B16;74} xArc;7576#endif /* XPROTOSTRUCTS_H */777879