269N/A/* Copyright (c) 1990, Oracle and/or its affiliates. All rights reserved.
269N/A *
851N/A * Permission is hereby granted, free of charge, to any person obtaining a
269N/A * copy of this software and associated documentation files (the "Software"),
1345N/A * to deal in the Software without restriction, including without limitation
269N/A * the rights to use, copy, modify, merge, publish, distribute, sublicense,
269N/A * and/or sell copies of the Software, and to permit persons to whom the
919N/A * Software is furnished to do so, subject to the following conditions:
919N/A *
919N/A * The above copyright notice and this permission notice (including the next
919N/A * paragraph) shall be included in all copies or substantial portions of the
919N/A * Software.
919N/A *
919N/A * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
919N/A * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
919N/A * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
919N/A * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
919N/A * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
919N/A * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
919N/A * DEALINGS IN THE SOFTWARE.
919N/A */
919N/A
919N/A
919N/A#ifndef _ALLPLANESSTR_H_
269N/A#define _ALLPLANESSTR_H_
269N/A
269N/A#include "allplanes.h"
269N/A
493N/A#define ALLPLANESNAME "SUN_ALLPLANES"
269N/A#define ALLPLANES_MAJOR_VERSION 1 /* current version numbers */
269N/A#define ALLPLANES_MINOR_VERSION 0
1351N/A
269N/Atypedef struct {
911N/A CARD8 reqType; /* always AllPlanesReqCode */
1351N/A CARD8 allplanesReqType; /* always X_AllPlanesQueryVersion */
1351N/A CARD16 length B16;
1351N/A} xAllPlanesQueryVersionReq;
911N/A#define sz_xAllPlanesQueryVersionReq 4
269N/A
1215N/Atypedef struct {
1215N/A BYTE type; /* X_Reply */
1345N/A CARD8 unused;
1179N/A CARD16 sequenceNumber B16;
1179N/A CARD32 length B32;
1179N/A CARD16 majorVersion B16;
851N/A CARD16 minorVersion B16;
269N/A CARD32 pad0 B32;
269N/A CARD32 pad1 B32;
269N/A CARD32 pad2 B32;
970N/A CARD32 pad3 B32;
970N/A CARD32 pad4 B32;
970N/A} xAllPlanesQueryVersionReply;
970N/A#define sz_xAllPlanesQueryVersionReply 32
970N/A
970N/Atypedef struct {
970N/A CARD8 reqType; /* always AllPlanesReqCode */
1351N/A CARD8 allplanesReqType; /* always X_AllPlanesPolySegment */
1351N/A CARD16 length B16;
970N/A Drawable drawable B32;
269N/A} xAllPlanesPolySegmentReq;
269N/A#define sz_xAllPlanesPolySegmentReq 8
493N/A
969N/Atypedef xAllPlanesPolySegmentReq xAllPlanesPolyRectangleReq;
269N/A#define sz_xAllPlanesPolyRectangleReq 8
920N/A
920N/Atypedef xAllPlanesPolySegmentReq xAllPlanesPolyFillRectangleReq;
284N/A#define sz_xAllPlanesPolyFillRectangleReq 8
269N/A
269N/Atypedef struct {
269N/A CARD8 reqType; /* always AllPlanesReqCode */
851N/A CARD8 allplanesReqType; /* always X_AllPlanesPolyPoint */
851N/A CARD16 length B16;
851N/A Drawable drawable B32;
851N/A BYTE coordMode;
851N/A CARD8 pad0;
970N/A CARD16 pad1 B16;
970N/A} xAllPlanesPolyPointReq;
970N/A#define sz_xAllPlanesPolyPointReq 12
269N/A
typedef xAllPlanesPolyPointReq xAllPlanesPolyLineReq;
#define sz_xAllPlanesPolyLineReq 12
#endif /* _ALLPLANESSTR_H_ */