/src/xpdf-4.06/xpdf/LocalParams.h
Line | Count | Source |
1 | | //======================================================================== |
2 | | // |
3 | | // LocalParams.h |
4 | | // |
5 | | // Copyright 2024 Glyph & Cog, LLC |
6 | | // |
7 | | //======================================================================== |
8 | | |
9 | | #ifndef LOCALPARAMS_H |
10 | | #define LOCALPARAMS_H |
11 | | |
12 | | #include <aconf.h> |
13 | | |
14 | | #include "GfxState.h" |
15 | | |
16 | | //------------------------------------------------------------------------ |
17 | | |
18 | | class LocalParams { |
19 | | public: |
20 | | |
21 | | LocalParams(); |
22 | | ~LocalParams(); |
23 | | |
24 | | GfxRenderingIntent getDefaultRenderingIntent() |
25 | 0 | { return defaultRenderingIntent; } |
26 | | void setDefaultRenderingIntent(GfxRenderingIntent ri) |
27 | 0 | { defaultRenderingIntent = ri; } |
28 | | |
29 | | GBool getForceRenderingIntent() |
30 | 0 | { return forceRenderingIntent; } |
31 | | void setForceRenderingIntent(GBool force) |
32 | 0 | { forceRenderingIntent = force; } |
33 | | |
34 | | private: |
35 | | |
36 | | GfxRenderingIntent defaultRenderingIntent; |
37 | | GBool forceRenderingIntent; |
38 | | }; |
39 | | |
40 | | #endif |