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

Side by Side Diff: xfa/fde/fde_gedevice.h

Issue 2223213002: Refactor fx_ge part 3 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 4 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
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 XFA_FDE_FDE_GEDEVICE_H_ 7 #ifndef XFA_FDE_FDE_GEDEVICE_H_
8 #define XFA_FDE_FDE_GEDEVICE_H_ 8 #define XFA_FDE_FDE_GEDEVICE_H_
9 9
10 #include "core/fxge/include/fx_ge.h" 10 #include "core/fxge/include/cfx_renderdevice.h"
11 #include "xfa/fgas/crt/fgas_memory.h" 11 #include "xfa/fgas/crt/fgas_memory.h"
12 12
13 class CFDE_Brush; 13 class CFDE_Brush;
14 class CFDE_Path; 14 class CFDE_Path;
15 class CFDE_Pen; 15 class CFDE_Pen;
16 class CFGAS_GEFont; 16 class CFGAS_GEFont;
17 class CFX_GraphStateData;
17 18
18 class CFDE_RenderDevice : public CFX_Target { 19 class CFDE_RenderDevice : public CFX_Target {
19 public: 20 public:
20 CFDE_RenderDevice(CFX_RenderDevice* pDevice, FX_BOOL bOwnerDevice); 21 CFDE_RenderDevice(CFX_RenderDevice* pDevice, FX_BOOL bOwnerDevice);
21 ~CFDE_RenderDevice() override; 22 ~CFDE_RenderDevice() override;
22 23
23 int32_t GetWidth() const; 24 int32_t GetWidth() const;
24 int32_t GetHeight() const; 25 int32_t GetHeight() const;
25 void SaveState(); 26 void SaveState();
26 void RestoreState(); 27 void RestoreState();
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 FX_FLOAT fPenWidth, 117 FX_FLOAT fPenWidth,
117 CFX_GraphStateData& graphState); 118 CFX_GraphStateData& graphState);
118 119
119 CFX_RenderDevice* const m_pDevice; 120 CFX_RenderDevice* const m_pDevice;
120 CFX_RectF m_rtClip; 121 CFX_RectF m_rtClip;
121 FX_BOOL m_bOwnerDevice; 122 FX_BOOL m_bOwnerDevice;
122 int32_t m_iCharCount; 123 int32_t m_iCharCount;
123 }; 124 };
124 125
125 #endif // XFA_FDE_FDE_GEDEVICE_H_ 126 #endif // XFA_FDE_FDE_GEDEVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698