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

Side by Side Diff: core/fxge/agg/fx_agg_driver.h

Issue 2010813003: Remove default arguments from CFX_FxgeDevice. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@fxgeclean2_textrenderer
Patch Set: rebase Created 4 years, 6 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/fpdf_render/render_int.h ('k') | core/fxge/agg/fx_agg_driver.cpp » ('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 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 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_FXGE_AGG_FX_AGG_DRIVER_H_ 7 #ifndef CORE_FXGE_AGG_FX_AGG_DRIVER_H_
8 #define CORE_FXGE_AGG_FX_AGG_DRIVER_H_ 8 #define CORE_FXGE_AGG_FX_AGG_DRIVER_H_
9 9
10 #include "core/fxge/include/fx_ge.h" 10 #include "core/fxge/include/fx_ge.h"
(...skipping 10 matching lines...) Expand all
21 ~CAgg_PathData() {} 21 ~CAgg_PathData() {}
22 void BuildPath(const CFX_PathData* pPathData, 22 void BuildPath(const CFX_PathData* pPathData,
23 const CFX_Matrix* pObject2Device); 23 const CFX_Matrix* pObject2Device);
24 24
25 agg::path_storage m_PathData; 25 agg::path_storage m_PathData;
26 }; 26 };
27 27
28 class CFX_AggDeviceDriver : public IFX_RenderDeviceDriver { 28 class CFX_AggDeviceDriver : public IFX_RenderDeviceDriver {
29 public: 29 public:
30 CFX_AggDeviceDriver(CFX_DIBitmap* pBitmap, 30 CFX_AggDeviceDriver(CFX_DIBitmap* pBitmap,
31 int dither_bits,
32 FX_BOOL bRgbByteOrder, 31 FX_BOOL bRgbByteOrder,
33 CFX_DIBitmap* pOriDevice, 32 CFX_DIBitmap* pOriDevice,
34 FX_BOOL bGroupKnockout); 33 FX_BOOL bGroupKnockout);
35 ~CFX_AggDeviceDriver() override; 34 ~CFX_AggDeviceDriver() override;
36 35
37 void InitPlatform(); 36 void InitPlatform();
38 void DestroyPlatform(); 37 void DestroyPlatform();
39 38
40 // IFX_RenderDeviceDriver 39 // IFX_RenderDeviceDriver
41 int GetDeviceCaps(int caps_id) override; 40 int GetDeviceCaps(int caps_id) override;
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 const CFX_DIBitmap* GetBitmap() const { return m_pBitmap; } 136 const CFX_DIBitmap* GetBitmap() const { return m_pBitmap; }
138 137
139 private: 138 private:
140 CFX_DIBitmap* m_pBitmap; 139 CFX_DIBitmap* m_pBitmap;
141 CFX_ClipRgn* m_pClipRgn; 140 CFX_ClipRgn* m_pClipRgn;
142 CFX_ArrayTemplate<CFX_ClipRgn*> m_StateStack; 141 CFX_ArrayTemplate<CFX_ClipRgn*> m_StateStack;
143 void* m_pPlatformGraphics; 142 void* m_pPlatformGraphics;
144 void* m_pPlatformBitmap; 143 void* m_pPlatformBitmap;
145 void* m_pDwRenderTartget; 144 void* m_pDwRenderTartget;
146 int m_FillFlags; 145 int m_FillFlags;
147 int m_DitherBits;
148 FX_BOOL m_bRgbByteOrder; 146 FX_BOOL m_bRgbByteOrder;
149 CFX_DIBitmap* m_pOriDevice; 147 CFX_DIBitmap* m_pOriDevice;
150 FX_BOOL m_bGroupKnockout; 148 FX_BOOL m_bGroupKnockout;
151 }; 149 };
152 150
153 #endif // CORE_FXGE_AGG_FX_AGG_DRIVER_H_ 151 #endif // CORE_FXGE_AGG_FX_AGG_DRIVER_H_
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_render/render_int.h ('k') | core/fxge/agg/fx_agg_driver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698