~ubuntu-branches/ubuntu/intrepid/xserver-xgl/intrepid

« back to all changes in this revision

Viewing changes to Xprint/pcl/Pclmap.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthew Garrett
  • Date: 2006-02-13 14:21:43 UTC
  • Revision ID: james.westby@ubuntu.com-20060213142143-mad6z9xzem7hzxz9
Tags: upstream-7.0.0
ImportĀ upstreamĀ versionĀ 7.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Xorg: Pclmap.h,v 1.3 2000/08/17 19:48:08 cpqbld Exp $ */
 
2
/*
 
3
(c) Copyright 1996 Hewlett-Packard Company
 
4
(c) Copyright 1996 International Business Machines Corp.
 
5
(c) Copyright 1996 Sun Microsystems, Inc.
 
6
(c) Copyright 1996 Novell, Inc.
 
7
(c) Copyright 1996 Digital Equipment Corp.
 
8
(c) Copyright 1996 Fujitsu Limited
 
9
(c) Copyright 1996 Hitachi, Ltd.
 
10
 
 
11
Permission is hereby granted, free of charge, to any person obtaining a copy
 
12
of this software and associated documentation files (the "Software"), to deal
 
13
in the Software without restriction, including without limitation the rights
 
14
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 
15
copies of the Software, and to permit persons to whom the Software is
 
16
furnished to do so, subject to the following conditions:
 
17
 
 
18
The above copyright notice and this permission notice shall be included in
 
19
all copies or substantial portions of the Software.
 
20
 
 
21
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 
22
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 
23
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
 
24
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
 
25
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 
26
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
27
 
 
28
Except as contained in this notice, the names of the copyright holders shall
 
29
not be used in advertising or otherwise to promote the sale, use or other
 
30
dealings in this Software without prior written authorization from said
 
31
copyright holders.
 
32
*/
 
33
/* $XFree86: xc/programs/Xserver/Xprint/pcl/Pclmap.h,v 1.5 2001/07/25 15:05:00 dawes Exp $ */
 
34
 
 
35
#ifdef HAVE_DIX_CONFIG_H
 
36
#include <dix-config.h>
 
37
#endif
 
38
 
 
39
#ifndef _PCLMAP_H_
 
40
#define _PCLMAP_H_
 
41
 
 
42
#ifdef XP_PCL_COLOR
 
43
#ifdef CATNAME
 
44
#undef CATNAME
 
45
#endif
 
46
#if !defined(UNIXCPP) || defined(ANSICPP)
 
47
#define PCLNAME(subname) PclCr##subname
 
48
#define CATNAME(prefix,subname) prefix##Color##subname
 
49
#else
 
50
#define PCLNAME(subname) PclCr/**/subname
 
51
#define CATNAME(prefix,subname) prefix/**/Color/**/subname
 
52
#endif
 
53
#endif /* XP_PCL_COLOR */
 
54
 
 
55
#ifdef XP_PCL_MONO
 
56
#ifdef CATNAME
 
57
#undef CATNAME
 
58
#endif
 
59
#if !defined(UNIXCPP) || defined(ANSICPP)
 
60
#define PCLNAME(subname) PclMn##subname
 
61
#define CATNAME(prefix,subname) prefix##Mono##subname
 
62
#else
 
63
#define PCLNAME(subname) PclMn/**/subname
 
64
#define CATNAME(prefix,subname) prefix/**/Mono/**/subname
 
65
#endif
 
66
#endif /* XP_PCL_MONO */
 
67
 
 
68
#ifdef XP_PCL_LJ3
 
69
#ifdef CATNAME
 
70
#undef CATNAME
 
71
#endif
 
72
#if !defined(UNIXCPP) || defined(ANSICPP)
 
73
#define PCLNAME(subname) PclLj3##subname
 
74
#define CATNAME(prefix,subname) prefix##Lj3##subname
 
75
#else
 
76
#define PCLNAME(subname) PclLj3/**/subname
 
77
#define CATNAME(prefix,subname) prefix/**/Lj3/**/subname
 
78
#endif
 
79
#endif /* XP_PCL_LJ3 */
 
80
 
 
81
#ifdef PCLNAME
 
82
 
 
83
/* PclInit.c */
 
84
#define InitializePclDriver             CATNAME(Initialize, PclDriver)
 
85
#define PclCloseScreen                  PCLNAME(CloseScreen)
 
86
#define PclGetContextFromWindow         PCLNAME(GetContextFromWindow)
 
87
#define PclScreenPrivateIndex   PCLNAME(ScreenPrivateIndex)
 
88
#define PclWindowPrivateIndex   PCLNAME(WindowPrivateIndex)
 
89
#define PclContextPrivateIndex  PCLNAME(ContextPrivateIndex)
 
90
#define PclPixmapPrivateIndex   PCLNAME(PixmapPrivateIndex)
 
91
#define PclGCPrivateIndex       PCLNAME(GCPrivateIndex)
 
92
 
 
93
/* PclPrint.c */
 
94
#define PclStartJob                     PCLNAME(StartJob)
 
95
#define PclEndJob                       PCLNAME(EndJob)
 
96
#define PclStartPage                    PCLNAME(StartPage)
 
97
#define PclEndPage                      PCLNAME(EndPage)
 
98
#define PclStartDoc                     PCLNAME(StartDoc)
 
99
#define PclEndDoc                       PCLNAME(EndDoc)
 
100
#define PclDocumentData                 PCLNAME(DocumentData)
 
101
#define PclGetDocumentData              PCLNAME(GetDocumentData)
 
102
 
 
103
/* PclWindow.c */
 
104
#define PclCreateWindow                 PCLNAME(CreateWindow)
 
105
#define PclMapWindow                    PCLNAME(MapWindow)
 
106
#define PclPositionWindow               PCLNAME(PositionWindow)
 
107
#define PclUnmapWindow                  PCLNAME(UnmapWindow)
 
108
#define PclCopyWindow                   PCLNAME(CopyWindow)
 
109
#define PclChangeWindowAttributes       PCLNAME(ChangeWindowAttributes)
 
110
#define PclPaintWindow                  PCLNAME(PaintWindow)
 
111
#define PclDestroyWindow                PCLNAME(DestroyWindow)
 
112
 
 
113
/* PclGC.c */
 
114
#define PclCreateGC                     PCLNAME(CreateGC)
 
115
#define PclDestroyGC                    PCLNAME(DestroyGC)
 
116
#define PclGetDrawablePrivateStuff      PCLNAME(GetDrawablePrivateStuff)
 
117
#define PclSetDrawablePrivateGC         PCLNAME(SetDrawablePrivateGC)
 
118
#define PclSendPattern                  PCLNAME(SendPattern)
 
119
#define PclUpdateDrawableGC             PCLNAME(UpdateDrawableGC)
 
120
#define PclComputeCompositeClip         PCLNAME(ComputeCompositeClip)
 
121
#define PclValidateGC                   PCLNAME(ValidateGC)
 
122
 
 
123
/* PclAttr.c */
 
124
#define PclGetAttributes                PCLNAME(GetAttributes)
 
125
#define PclGetOneAttribute              PCLNAME(GetOneAttribute)
 
126
#define PclAugmentAttributes            PCLNAME(AugmentAttributes)
 
127
#define PclSetAttributes                PCLNAME(SetAttributes)
 
128
 
 
129
/* PclColor.c */
 
130
#define PclLookUp                       PCLNAME(LookUp)
 
131
#define PclCreateDefColormap            PCLNAME(CreateDefColormap)
 
132
#define PclCreateColormap               PCLNAME(CreateColormap)
 
133
#define PclDestroyColormap              PCLNAME(DestroyColormap)
 
134
#define PclInstallColormap              PCLNAME(InstallColormap)
 
135
#define PclUninstallColormap            PCLNAME(UninstallColormap)
 
136
#define PclListInstalledColormaps       PCLNAME(ListInstalledColormaps)
 
137
#define PclStoreColors                  PCLNAME(StoreColors)
 
138
#define PclResolveColor                 PCLNAME(ResolveColor)
 
139
#define PclFindPaletteMap               PCLNAME(FindPaletteMap)
 
140
#define PclUpdateColormap               PCLNAME(UpdateColormap)
 
141
#define PclReadMap                      PCLNAME(ReadMap)
 
142
 
 
143
/* PclPixmap.c */
 
144
#define PclCreatePixmap                 PCLNAME(CreatePixmap)
 
145
#define PclDestroyPixmap                PCLNAME(DestroyPixmap)
 
146
 
 
147
/* PclArc.c */
 
148
#define PclDoArc                        PCLNAME(DoArc)
 
149
#define PclPolyArc                      PCLNAME(PolyArc)
 
150
#define PclPolyFillArc                  PCLNAME(PolyFillArc)
 
151
 
 
152
/* PclArea.c */
 
153
#define PclPutImage                     PCLNAME(PutImage)
 
154
#define PclCopyArea                     PCLNAME(CopyArea)
 
155
#define PclCopyPlane                    PCLNAME(CopyPlane)
 
156
 
 
157
/* PclLine */
 
158
#define PclPolyLine                     PCLNAME(PolyLine)
 
159
#define PclPolySegment                  PCLNAME(PolySegment)
 
160
 
 
161
/* PclPixel.c */
 
162
#define PclPolyPoint                    PCLNAME(PolyPoint)
 
163
#define PclPushPixels                   PCLNAME(PushPixels)
 
164
 
 
165
/* PclPolygon.c */
 
166
#define PclPolyRectangle                PCLNAME(PolyRectangle)
 
167
#define PclFillPolygon                  PCLNAME(FillPolygon)
 
168
#define PclPolyFillRect                 PCLNAME(PolyFillRect)
 
169
 
 
170
/* PclSpans.c */
 
171
#define PclFillSpans                    PCLNAME(FillSpans)
 
172
#define PclSetSpans                     PCLNAME(SetSpans)
 
173
 
 
174
/* PclText.c */
 
175
#define PclPolyText8                    PCLNAME(PolyText8)
 
176
#define PclPolyText16                   PCLNAME(PolyText16)
 
177
#define PclImageText8                   PCLNAME(ImageText8)
 
178
#define PclImageText16                  PCLNAME(ImageText16)
 
179
#define PclImageGlyphBlt                PCLNAME(ImageGlyphBlt)
 
180
#define PclPolyGlyphBlt                 PCLNAME(PolyGlyphBlt)
 
181
#define PclPolyGlyphBlt                 PCLNAME(PolyGlyphBlt)
 
182
 
 
183
/* PclFonts.c */
 
184
#define PclRealizeFont                  PCLNAME(RealizeFont)
 
185
#define PclUnrealizeFont                PCLNAME(UnrealizeFont)
 
186
 
 
187
/* PclSFonts.c */
 
188
#define PclDownloadSoftFont8            PCLNAME(DownloadSoftFont8)
 
189
#define PclDownloadSoftFont16           PCLNAME(DownloadSoftFont16)
 
190
#define PclCreateSoftFontInfo           PCLNAME(CreateSoftFontInfo)
 
191
#define PclDestroySoftFontInfo          PCLNAME(DestroySoftFontInfo)
 
192
 
 
193
/* PclMisc.c */
 
194
#define PclQueryBestSize                PCLNAME(QueryBestSize)
 
195
#define GetPropString                   PCLNAME(GetPropString)
 
196
#define SystemCmd                       PCLNAME(SystemCmd)
 
197
#define PclGetMediumDimensions          PCLNAME(GetMediumDimensions)
 
198
#define PclGetReproducibleArea          PCLNAME(GetReproducibleArea)
 
199
#define PclSpoolFigs                    PCLNAME(SpoolFigs)
 
200
#define PclSendData                     PCLNAME(SendData)
 
201
 
 
202
/* PclCursor.c */
 
203
#define PclConstrainCursor              PCLNAME(ConstrainCursor)
 
204
#define PclCursorLimits                 PCLNAME(CursorLimits)
 
205
#define PclDisplayCursor                PCLNAME(DisplayCursor)
 
206
#define PclRealizeCursor                PCLNAME(RealizeCursor)
 
207
#define PclUnrealizeCursor              PCLNAME(UnrealizeCursor)
 
208
#define PclRecolorCursor                PCLNAME(RecolorCursor)
 
209
#define PclSetCursorPosition            PCLNAME(SetCursorPosition)
 
210
 
 
211
#endif
 
212
 
 
213
#endif /* _PCLMAP_H_ */