added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / compiler / include / devices / prtgfx.h
blob49da09d8d8c57319a29214de9efc20bd2071e767
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)();
37 struct RastPort *pi_rp;
38 struct RastPort *pi_temprp;
39 UWORD *pi_RowBuf;
40 UWORD *pi_HamBuf;
41 union colorEntry *pi_ColorMap;
42 union colorEntry *pi_ColorInt;
43 union colorEntry *pi_HamInt;
44 union colorEntry *pi_Dest1Int;
45 union colorEntry *pi_Dest2Int;
46 UWORD *pi_ScaleX;
47 UWORD *pi_ScaleXAlt;
48 UBYTE *pi_dmatrix;
49 UWORD *pi_TopBuf;
50 UWORD *pi_BotBuf;
52 UWORD pi_RowBufSize;
53 UWORD pi_HamBufSize;
54 UWORD pi_ColorMapSize;
55 UWORD pi_ColorIntSize;
56 UWORD pi_HamIntSize;
57 UWORD pi_Dest1IntSize;
58 UWORD pi_Dest2IntSize;
59 UWORD pi_ScaleXSize;
60 UWORD pi_ScaleXAltSize;
62 UWORD pi_PrefsFlags;
63 ULONG pi_special;
64 UWORD pi_xstart;
65 UWORD pi_ystart;
66 UWORD pi_width;
67 UWORD pi_height;
68 ULONG pi_pc;
69 ULONG pi_pr;
70 UWORD pi_ymult;
71 UWORD pi_ymod;
72 WORD pi_ety;
73 UWORD pi_xpos;
74 UWORD pi_threshold;
75 UWORD pi_tempwidth;
76 UWORD pi_flags;
78 /* New in V44 */
79 UWORD *pi_ReduceBuf;
80 UWORD pi_ReduceBufSize;
81 struct Hook *pi_SourceHook;
82 ULONG *pi_InvertHookBuf;
86 #endif /* DEVICES_PRTGFX_H */