1 /* Copyright (c) 1990, 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
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.
24 #ifndef _ALLPLANESSTR_H_
25 #define _ALLPLANESSTR_H_
27 #include "allplanes.h"
29 #define ALLPLANESNAME "SUN_ALLPLANES"
30 #define ALLPLANES_MAJOR_VERSION 1 /* current version numbers */
31 #define ALLPLANES_MINOR_VERSION 0
34 CARD8 reqType
; /* always AllPlanesReqCode */
35 CARD8 allplanesReqType
; /* always X_AllPlanesQueryVersion */
37 } xAllPlanesQueryVersionReq
;
38 #define sz_xAllPlanesQueryVersionReq 4
41 BYTE type
; /* X_Reply */
43 CARD16 sequenceNumber B16
;
45 CARD16 majorVersion B16
;
46 CARD16 minorVersion B16
;
52 } xAllPlanesQueryVersionReply
;
53 #define sz_xAllPlanesQueryVersionReply 32
56 CARD8 reqType
; /* always AllPlanesReqCode */
57 CARD8 allplanesReqType
; /* always X_AllPlanesPolySegment */
59 Drawable drawable B32
;
60 } xAllPlanesPolySegmentReq
;
61 #define sz_xAllPlanesPolySegmentReq 8
63 typedef xAllPlanesPolySegmentReq xAllPlanesPolyRectangleReq
;
64 #define sz_xAllPlanesPolyRectangleReq 8
66 typedef xAllPlanesPolySegmentReq xAllPlanesPolyFillRectangleReq
;
67 #define sz_xAllPlanesPolyFillRectangleReq 8
70 CARD8 reqType
; /* always AllPlanesReqCode */
71 CARD8 allplanesReqType
; /* always X_AllPlanesPolyPoint */
73 Drawable drawable B32
;
77 } xAllPlanesPolyPointReq
;
78 #define sz_xAllPlanesPolyPointReq 12
80 typedef xAllPlanesPolyPointReq xAllPlanesPolyLineReq
;
81 #define sz_xAllPlanesPolyLineReq 12
82 #endif /* _ALLPLANESSTR_H_ */