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