1 #ifndef DEVICES_PRTGFX_H
2 #define DEVICES_PRTGFX_H
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
8 Desc: graphics printer driver structures
12 #ifndef GRAPHICS_RASTPORT_H
13 # include <graphics/rastport.h>
20 #define PCMBLUE PCMYELLOW
21 #define PCMGREEN PCMMAGENTA
22 #define PCMRED PCMCYAN
23 #define PCMWHITE PCMBLACK
32 /****************************************************************************/
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 */
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 */