| OLD | NEW |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | 6 |
| 7 #ifndef CORE_FPDFAPI_FPDF_RENDER_INCLUDE_CPDF_RENDEROPTIONS_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_RENDER_INCLUDE_CPDF_RENDEROPTIONS_H_ |
| 8 #define CORE_FPDFAPI_FPDF_RENDER_INCLUDE_CPDF_RENDEROPTIONS_H_ | 8 #define CORE_FPDFAPI_FPDF_RENDER_INCLUDE_CPDF_RENDEROPTIONS_H_ |
| 9 | 9 |
| 10 #include "core/fxcrt/include/fx_system.h" | 10 #include "core/fxcrt/include/fx_system.h" |
| 11 #include "core/include/fxge/fx_dib.h" | 11 #include "core/fxge/include/fx_dib.h" |
| 12 | 12 |
| 13 class IPDF_OCContext; | 13 class IPDF_OCContext; |
| 14 | 14 |
| 15 #define RENDER_COLOR_NORMAL 0 | 15 #define RENDER_COLOR_NORMAL 0 |
| 16 #define RENDER_COLOR_GRAY 1 | 16 #define RENDER_COLOR_GRAY 1 |
| 17 #define RENDER_COLOR_TWOCOLOR 2 | 17 #define RENDER_COLOR_TWOCOLOR 2 |
| 18 #define RENDER_COLOR_ALPHA 3 | 18 #define RENDER_COLOR_ALPHA 3 |
| 19 #define RENDER_CLEARTYPE 0x00000001 | 19 #define RENDER_CLEARTYPE 0x00000001 |
| 20 #define RENDER_PRINTGRAPHICTEXT 0x00000002 | 20 #define RENDER_PRINTGRAPHICTEXT 0x00000002 |
| 21 #define RENDER_FORCE_DOWNSAMPLE 0x00000004 | 21 #define RENDER_FORCE_DOWNSAMPLE 0x00000004 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 43 FX_COLORREF m_ForeColor; | 43 FX_COLORREF m_ForeColor; |
| 44 uint32_t m_Flags; | 44 uint32_t m_Flags; |
| 45 int m_Interpolation; | 45 int m_Interpolation; |
| 46 uint32_t m_AddFlags; | 46 uint32_t m_AddFlags; |
| 47 IPDF_OCContext* m_pOCContext; | 47 IPDF_OCContext* m_pOCContext; |
| 48 uint32_t m_dwLimitCacheSize; | 48 uint32_t m_dwLimitCacheSize; |
| 49 int m_HalftoneLimit; | 49 int m_HalftoneLimit; |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 #endif // CORE_FPDFAPI_FPDF_RENDER_INCLUDE_CPDF_RENDEROPTIONS_H_ | 52 #endif // CORE_FPDFAPI_FPDF_RENDER_INCLUDE_CPDF_RENDEROPTIONS_H_ |
| OLD | NEW |