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

Side by Side Diff: core/fpdfapi/fpdf_page/cpdf_graphicstates.h

Issue 2313083002: Make CPDF_TextStateData private to CPDF_TextState. (Closed)
Patch Set: Don't memcpy in copy ctor Created 4 years, 3 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 | « BUILD.gn ('k') | core/fpdfapi/fpdf_page/cpdf_textstate.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_FPDF_PAGE_CPDF_GRAPHICSTATES_H_ 7 #ifndef CORE_FPDFAPI_FPDF_PAGE_CPDF_GRAPHICSTATES_H_
8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_GRAPHICSTATES_H_ 8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_GRAPHICSTATES_H_
9 9
10 #include "core/fpdfapi/fpdf_page/cpdf_colorstate.h" 10 #include "core/fpdfapi/fpdf_page/cpdf_colorstate.h"
11 #include "core/fpdfapi/fpdf_page/cpdf_textstate.h"
12 #include "core/fpdfapi/fpdf_page/include/cpdf_clippath.h" 11 #include "core/fpdfapi/fpdf_page/include/cpdf_clippath.h"
13 #include "core/fpdfapi/fpdf_page/include/cpdf_generalstate.h" 12 #include "core/fpdfapi/fpdf_page/include/cpdf_generalstate.h"
13 #include "core/fpdfapi/fpdf_page/include/cpdf_textstate.h"
14 #include "core/fxge/include/cfx_graphstate.h" 14 #include "core/fxge/include/cfx_graphstate.h"
15 15
16 class CPDF_GraphicStates { 16 class CPDF_GraphicStates {
17 public: 17 public:
18 CPDF_GraphicStates(); 18 CPDF_GraphicStates();
19 virtual ~CPDF_GraphicStates(); 19 virtual ~CPDF_GraphicStates();
20 20
21 void CopyStates(const CPDF_GraphicStates& src); 21 void CopyStates(const CPDF_GraphicStates& src);
22 void DefaultStates(); 22 void DefaultStates();
23 23
24 CPDF_ClipPath m_ClipPath; 24 CPDF_ClipPath m_ClipPath;
25 CFX_GraphState m_GraphState; 25 CFX_GraphState m_GraphState;
26 CPDF_ColorState m_ColorState; 26 CPDF_ColorState m_ColorState;
27 CPDF_TextState m_TextState; 27 CPDF_TextState m_TextState;
28 CPDF_GeneralState m_GeneralState; 28 CPDF_GeneralState m_GeneralState;
29 }; 29 };
30 30
31 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_GRAPHICSTATES_H_ 31 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_GRAPHICSTATES_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | core/fpdfapi/fpdf_page/cpdf_textstate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698