Fixed compatibility of output.
[AROS.git] / compiler / include / devices / prtgfx.h
blobc4018b8f2b03486f165fa296cdc36531bbeb24e6
1 #ifndef DEVICES_PRTGFX_H
2 #define DEVICES_PRTGFX_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: graphics printer driver structures
9 Lang: english
12 #ifndef GRAPHICS_RASTPORT_H
13 # include <graphics/rastport.h>
14 #endif
16 #define PCMYELLOW 0
17 #define PCMMAGENTA 1
18 #define PCMCYAN 2
19 #define PCMBLACK 3
20 #define PCMBLUE PCMYELLOW
21 #define PCMGREEN PCMMAGENTA
22 #define PCMRED PCMCYAN
23 #define PCMWHITE PCMBLACK
25 union colorEntry
27 ULONG colorLong;
28 UBYTE colorByte[4];
29 BYTE colorSByte[4];
32 /****************************************************************************/
34 struct PrtInfo
36 LONG (*pi_render)(); /* PRIVATE */
37 struct RastPort *pi_rp; /* PRIVATE */
38 struct RastPort *pi_temprp; /* PRIVATE */
39 UWORD *pi_RowBuf; /* PRIVATE */
40 UWORD *pi_HamBuf; /* PRIVATE */
41 union colorEntry *pi_ColorMap; /* PRIVATE */
42 union colorEntry *pi_ColorInt; /* Colors for the row */
43 union colorEntry *pi_HamInt; /* PRIVATE */
44 union colorEntry *pi_Dest1Int; /* PRIVATE */
45 union colorEntry *pi_Dest2Int; /* PRIVATE */
46 UWORD *pi_ScaleX; /* Array of X scale values */
47 UWORD *pi_ScaleXAlt; /* PRIVATE */
48 UBYTE *pi_dmatrix; /* Pointer to dither matrix */
49 UWORD *pi_TopBuf; /* PRIVATE */
50 UWORD *pi_BotBuf; /* PRIVATE */
52 UWORD pi_RowBufSize; /* PRIVATE */
53 UWORD pi_HamBufSize; /* PRIVATE */
54 UWORD pi_ColorMapSize; /* PRIVATE */
55 UWORD pi_ColorIntSize; /* PRIVATE */
56 UWORD pi_HamIntSize; /* PRIVATE */
57 UWORD pi_Dest1IntSize; /* PRIVATE */
58 UWORD pi_Dest2IntSize; /* PRIVATE */
59 UWORD pi_ScaleXSize; /* PRIVATE */
60 UWORD pi_ScaleXAltSize; /* PRIVATE */
62 UWORD pi_PrefsFlags; /* PRIVATE */
63 ULONG pi_special; /* PRIVATE */
64 UWORD pi_xstart; /* PRIVATE */
65 UWORD pi_ystart; /* PRIVATE */
66 UWORD pi_width; /* Source width */
67 UWORD pi_height; /* Source height */
68 ULONG pi_pc; /* PRIVATE */
69 ULONG pi_pr; /* PRIVATE */
70 UWORD pi_ymult; /* PRIVATE */
71 UWORD pi_ymod; /* PRIVATE */
72 WORD pi_ety; /* PRIVATE */
73 UWORD pi_xpos; /* Offset of the line */
74 UWORD pi_threshold; /* Theshold from Preferences */
75 UWORD pi_tempwidth; /* PRIVATE */
76 UWORD pi_flags; /* PRIVATE */
78 /* New in V44 */
79 UWORD *pi_ReduceBuf; /* PRIVATE */
80 UWORD pi_ReduceBufSize; /* PRIVATE */
81 struct Hook *pi_SourceHook; /* PRIVATE */
82 ULONG *pi_InvertHookBuf; /* PRIVATE */
86 #endif /* DEVICES_PRTGFX_H */