Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(526)

Side by Side Diff: core/fpdfapi/render/cpdf_renderoptions.h

Issue 2608663003: Pdfium Patch to restore PS Path (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/fpdfapi/render/cpdf_imagerenderer.cpp ('k') | core/fxcodec/codec/ccodec_basicmodule.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_RENDER_CPDF_RENDEROPTIONS_H_ 7 #ifndef CORE_FPDFAPI_RENDER_CPDF_RENDEROPTIONS_H_
8 #define CORE_FPDFAPI_RENDER_CPDF_RENDEROPTIONS_H_ 8 #define CORE_FPDFAPI_RENDER_CPDF_RENDEROPTIONS_H_
9 9
10 #include "core/fxcrt/fx_system.h" 10 #include "core/fxcrt/fx_system.h"
(...skipping 10 matching lines...) Expand all
21 #define RENDER_FORCE_DOWNSAMPLE 0x00000004 21 #define RENDER_FORCE_DOWNSAMPLE 0x00000004
22 #define RENDER_PRINTPREVIEW 0x00000008 22 #define RENDER_PRINTPREVIEW 0x00000008
23 #define RENDER_BGR_STRIPE 0x00000010 23 #define RENDER_BGR_STRIPE 0x00000010
24 #define RENDER_NO_NATIVETEXT 0x00000020 24 #define RENDER_NO_NATIVETEXT 0x00000020
25 #define RENDER_FORCE_HALFTONE 0x00000040 25 #define RENDER_FORCE_HALFTONE 0x00000040
26 #define RENDER_RECT_AA 0x00000080 26 #define RENDER_RECT_AA 0x00000080
27 #define RENDER_FILL_FULLCOVER 0x00000100 27 #define RENDER_FILL_FULLCOVER 0x00000100
28 #define RENDER_PRINTIMAGETEXT 0x00000200 28 #define RENDER_PRINTIMAGETEXT 0x00000200
29 #define RENDER_OVERPRINT 0x00000400 29 #define RENDER_OVERPRINT 0x00000400
30 #define RENDER_THINLINE 0x00000800 30 #define RENDER_THINLINE 0x00000800
31 #define RENDER_COMPRESS_IMAGES 0x00001000
31 #define RENDER_NOTEXTSMOOTH 0x10000000 32 #define RENDER_NOTEXTSMOOTH 0x10000000
32 #define RENDER_NOPATHSMOOTH 0x20000000 33 #define RENDER_NOPATHSMOOTH 0x20000000
33 #define RENDER_NOIMAGESMOOTH 0x40000000 34 #define RENDER_NOIMAGESMOOTH 0x40000000
34 #define RENDER_LIMITEDIMAGECACHE 0x80000000 35 #define RENDER_LIMITEDIMAGECACHE 0x80000000
35 36
36 class CPDF_RenderOptions { 37 class CPDF_RenderOptions {
37 public: 38 public:
38 CPDF_RenderOptions(); 39 CPDF_RenderOptions();
39 CPDF_RenderOptions(const CPDF_RenderOptions& rhs); 40 CPDF_RenderOptions(const CPDF_RenderOptions& rhs);
40 FX_ARGB TranslateColor(FX_ARGB argb) const; 41 FX_ARGB TranslateColor(FX_ARGB argb) const;
41 42
42 int m_ColorMode; 43 int m_ColorMode;
43 FX_COLORREF m_BackColor; 44 FX_COLORREF m_BackColor;
44 FX_COLORREF m_ForeColor; 45 FX_COLORREF m_ForeColor;
45 uint32_t m_Flags; 46 uint32_t m_Flags;
46 int m_Interpolation; 47 int m_Interpolation;
47 uint32_t m_AddFlags; 48 uint32_t m_AddFlags;
48 CPDF_OCContext* m_pOCContext; 49 CPDF_OCContext* m_pOCContext;
49 uint32_t m_dwLimitCacheSize; 50 uint32_t m_dwLimitCacheSize;
50 int m_HalftoneLimit; 51 int m_HalftoneLimit;
51 bool m_bDrawAnnots; 52 bool m_bDrawAnnots;
52 }; 53 };
53 54
54 #endif // CORE_FPDFAPI_RENDER_CPDF_RENDEROPTIONS_H_ 55 #endif // CORE_FPDFAPI_RENDER_CPDF_RENDEROPTIONS_H_
OLDNEW
« no previous file with comments | « core/fpdfapi/render/cpdf_imagerenderer.cpp ('k') | core/fxcodec/codec/ccodec_basicmodule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698