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_PAGE_CPDF_GRAPHICSTATES_H_ | 7 #ifndef CORE_FPDFAPI_PAGE_CPDF_GRAPHICSTATES_H_ |
8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_GRAPHICSTATES_H_ | 8 #define CORE_FPDFAPI_PAGE_CPDF_GRAPHICSTATES_H_ |
9 | 9 |
10 #include "core/fpdfapi/fpdf_page/cpdf_clippath.h" | 10 #include "core/fpdfapi/page/cpdf_clippath.h" |
11 #include "core/fpdfapi/fpdf_page/cpdf_colorstate.h" | 11 #include "core/fpdfapi/page/cpdf_colorstate.h" |
12 #include "core/fpdfapi/fpdf_page/cpdf_generalstate.h" | 12 #include "core/fpdfapi/page/cpdf_generalstate.h" |
13 #include "core/fpdfapi/fpdf_page/cpdf_textstate.h" | 13 #include "core/fpdfapi/page/cpdf_textstate.h" |
14 #include "core/fxge/cfx_graphstate.h" | 14 #include "core/fxge/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_PAGE_CPDF_GRAPHICSTATES_H_ |
OLD | NEW |