revert between 56095 -> 55830 in arch
[AROS.git] / compiler / include / prefs / printergfx.h
blob9d41bd18adaf73dbf50563b90a9541fabc6c39ab
1 #ifndef PREFS_PRINTERGFX_H
2 #define PREFS_PRINTERGFX_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Printergfx prefs definitions
9 Lang: english
12 #ifndef EXEC_TYPES_H
13 # include <exec/types.h>
14 #endif
16 #ifndef LIBRARIES_IFFPARSE_H
17 # include <libraries/iffparse.h>
18 #endif
21 #define ID_PGFX MAKE_ID('P','G','F','X')
24 struct PrinterGfxPrefs
26 LONG pg_Reserved[4];
27 UWORD pg_Aspect;
28 UWORD pg_Shade;
29 UWORD pg_Image;
30 WORD pg_Threshold;
31 UBYTE pg_ColorCorrect;
32 UBYTE pg_Dimensions;
33 UBYTE pg_Dithering;
34 UWORD pg_GraphicFlags;
35 UBYTE pg_PrintDensity;
36 UWORD pg_PrintMaxWidth; /* in 1/10 of an inch */
37 UWORD pg_PrintMaxHeight; /* in 1/10 of an inch */
38 UBYTE pg_PrintXOffset; /* in 1/10 of an inch */
39 UBYTE pg_PrintYOffset; /* in 1/10 of an inch */
42 #define PA_HORIZONTAL 0 /* Portrait */
43 #define PA_VERTICAL 1 /* Landscape */
45 #define PS_BW 0
46 #define PS_GREYSCALE 1
47 #define PS_COLOR 2
48 #define PS_GREY_SCALE2 3
50 #define PI_POSITIVE 0
51 #define PI_NEGATIVE 1
53 #define PCCB_RED 1
54 #define PCCB_GREEN 2
55 #define PCCB_BLUE 3
57 #define PCCF_RED (1<<0)
58 #define PCCF_GREEN (1<<1)
59 #define PCCF_BLUE (1<<2)
61 #define PD_IGNORE 0
62 #define PD_BOUNDED 1
63 #define PD_ABSOLUTE 2
64 #define PD_PIXEL 3
65 #define PD_MULTIPLY 4
67 #define PD_ORDERED 0
68 #define PD_HALFTONE 1
69 #define PD_FLOYD 2
71 #define PGFB_CENTER_IMAGE 0
72 #define PGFB_INTEGER_SCALING 1
73 #define PGFB_ANTI_ALIAS 2
75 #define PGFF_CENTER_IMAGE (1<<0)
76 #define PGFF_INTEGER_SCALING (1<<1)
77 #define PGFF_ANTI_ALIAS (1<<2)
79 #endif /* PREFS_PRINTERGFX_H */