vim: update to 9.1.0969
[oi-userland.git] / components / x11 / sun-ext-protos / files / include / allplanes.h
blobde53b05f191e0c5f1e2449d504ee01b8ea19905a
1 /* Copyright (c) 1990, 2011, Oracle and/or its affiliates. All rights reserved.
3 * Permission is hereby granted, free of charge, to any person obtaining a
4 * copy of this software and associated documentation files (the "Software"),
5 * to deal in the Software without restriction, including without limitation
6 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
7 * and/or sell copies of the Software, and to permit persons to whom the
8 * Software is furnished to do so, subject to the following conditions:
10 * The above copyright notice and this permission notice (including the next
11 * paragraph) shall be included in all copies or substantial portions of the
12 * Software.
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20 * DEALINGS IN THE SOFTWARE.
21 */
25 #ifndef _ALLPLANES_H_
26 #define _ALLPLANES_H_
28 #define X_AllPlanesQueryVersion 0
29 #define X_AllPlanesPolyPoint 1
30 #define X_AllPlanesPolyLine 2
31 #define X_AllPlanesPolySegment 3
32 #define X_AllPlanesPolyRectangle 4
33 #define X_AllPlanesPolyFillRectangle 5
35 #define AllPlanesNumberEvents 0
37 #ifndef _ALLPLANES_SERVER_
39 extern Bool XAllPlanesQueryExtension(Display *dpy, int *event_basep,
40 int *error_basep);
41 extern Status XAllPlanesQueryVersion(Display *dpy, int *major_versionp,
42 int *minor_versionp);
43 extern void XAllPlanesDrawPoints(Display *dpy, Drawable d,
44 XPoint *points, int n_points, int mode);
45 extern void XAllPlanesDrawLines(Display *dpy, Drawable d,
46 XPoint *points, int n_points, int mode);
47 extern void XAllPlanesDrawSegments(Display *dpy, Drawable d,
48 XSegment *segments, int nsegment);
49 extern void XAllPlanesDrawRectangles(Display *dpy, Drawable d,
50 XRectangle *rects, int n_rects);
51 extern void XAllPlanesFillRectangles(Display *dpy, Drawable d,
52 XRectangle *rectangles, int n_rects);
54 #endif /* _ALLPLANES_SERVER_ */
56 #endif /* _ALLPLANES_H_ */