xref: /plan9/sys/src/cmd/gs/src/gdevpxat.h (revision 593dc095aefb2a85c828727bbfa9da139a49bdf4)
1 /* Copyright (C) 1997, 1998, 2000 Aladdin Enterprises.  All rights reserved.
2 
3   This software is provided AS-IS with no warranty, either express or
4   implied.
5 
6   This software is distributed under license and may not be copied,
7   modified or distributed except as expressly authorized under the terms
8   of the license contained in the file LICENSE in this distribution.
9 
10   For more information about licensing, please refer to
11   http://www.ghostscript.com/licensing/. For information on
12   commercial licensing, go to http://www.artifex.com/licensing/ or
13   contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14   San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15 */
16 
17 /* $Id: gdevpxat.h,v 1.6 2004/08/04 19:36:12 stefan Exp $ */
18 /* Attribute ID definitions for PCL XL */
19 
20 #ifndef gdevpxat_INCLUDED
21 #  define gdevpxat_INCLUDED
22 
23 typedef enum {
24 
25     pxaPaletteDepth = 2,
26     pxaColorSpace,
27     pxaNullBrush,
28     pxaNullPen,
29     pxaPaletteData,
30 
31     pxaPatternSelectID = 8,
32     pxaGrayLevel,
33     pxaLightness,		/* 2.0 */
34     pxaRGBColor,
35     pxaPatternOrigin,
36     pxaNewDestinationSize,
37     pxaPrimaryArray,		/* 2.0 */
38     pxaPrimaryDepth,		/* 2.0 */
39     pxaSaturation,		/* 2.0 */
40     pxaColorimetricColorSpace,	/* 2.0 */
41     pxaXYChromaticities,	/* 2.0 */
42     pxaWhiteReferencePoint,	/* 2.0 */
43     pxaCRGBMinMax,		/* 2.0 */
44     pxaGammaGain,		/* 2.0 */
45 
46     pxaAllObjectTypes = 29,     /* 3.0 */
47     pxaTextObjects,             /* 3.0 */
48     pxaVectorObjects,           /* 3.0 */
49     pxaRasterObjects,           /* 3.0 */
50     pxaDeviceMatrix,
51     pxaDitherMatrixDataType,
52     pxaDitherOrigin,
53     pxaMediaDestination,
54     pxaMediaSize,
55     pxaMediaSource,
56     pxaMediaType,
57     pxaOrientation,
58     pxaPageAngle,
59     pxaPageOrigin,
60     pxaPageScale,
61     pxaROP3,
62     pxaTxMode,
63 
64     pxaCustomMediaSize = 47,
65     pxaCustomMediaSizeUnits,
66     pxaPageCopies,
67     pxaDitherMatrixSize,
68     pxaDitherMatrixDepth,
69     pxaSimplexPageMode,
70     pxaDuplexPageMode,
71     pxaDuplexPageSide,
72 
73     pxaArcDirection = 65,
74     pxaBoundingBox,
75     pxaDashOffset,
76     pxaEllipseDimension,
77     pxaEndPoint,
78     pxaFillMode,
79     pxaLineCapStyle,
80     pxaLineJoinStyle,
81     pxaMiterLength,
82     pxaLineDashStyle,
83     pxaPenWidth,
84     pxaPoint,
85     pxaNumberOfPoints,
86     pxaSolidLine,
87     pxaStartPoint,
88     pxaPointType,
89     pxaControlPoint1,
90     pxaControlPoint2,
91     pxaClipRegion,
92     pxaClipMode,
93 
94     pxaColorDepth = 98,
95     pxaBlockHeight,
96     pxaColorMapping,
97     pxaCompressMode,
98     pxaDestinationBox,
99     pxaDestinationSize,
100     pxaPatternPersistence,
101     pxaPatternDefineID,
102 
103     pxaSourceHeight = 107,
104     pxaSourceWidth,
105     pxaStartLine,
106     pxaPadBytesMultiple,	/* 2.0 */
107     pxaBlockByteLength,		/* 2.0 */
108 
109     pxaNumberOfScanLines = 115,
110 
111     pxaColorTreatment = 120,
112 
113     pxaCommentData = 129,
114     pxaDataOrg,
115 
116     pxaMeasure = 134,
117 
118     pxaSourceType = 136,
119     pxaUnitsPerMeasure,
120 
121     pxaStreamName = 139,
122     pxaStreamDataLength,
123 
124     pxaErrorReport = 143,
125     pxaVUExtension = 145,
126     pxaVUAttr1 = 147,
127 
128     pxaCharAngle = 161,
129     pxaCharCode,
130     pxaCharDataSize,
131     pxaCharScale,
132     pxaCharShear,
133     pxaCharSize,
134     pxaFontHeaderLength,
135     pxaFontName,
136     pxaFontFormat,
137     pxaSymbolSet,
138     pxaTextData,
139     pxaCharSubModeArray,
140     pxaWritingMode,
141     pxaXSpacingData = 175,
142     pxaYSpacingData,
143     pxaCharBoldValue,
144 
145     px_attribute_next
146 
147 } px_attribute_t;
148 
149 #endif /* gdevpxat_INCLUDED */
150