OLD | NEW |
| (Empty) |
1 // Copyright 2016 PDFium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | |
6 | |
7 #ifndef CORE_FPDFAPI_FPDF_PAGE_CPDF_ALLSTATES_H_ | |
8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_ALLSTATES_H_ | |
9 | |
10 #include "core/fpdfapi/fpdf_page/cpdf_graphicstates.h" | |
11 #include "core/fxcrt/fx_coordinates.h" | |
12 #include "core/fxcrt/fx_system.h" | |
13 | |
14 class CPDF_Array; | |
15 class CPDF_Dictionary; | |
16 class CPDF_StreamContentParser; | |
17 | |
18 class CPDF_AllStates : public CPDF_GraphicStates { | |
19 public: | |
20 CPDF_AllStates(); | |
21 ~CPDF_AllStates() override; | |
22 | |
23 void Copy(const CPDF_AllStates& src); | |
24 void ProcessExtGS(CPDF_Dictionary* pGS, CPDF_StreamContentParser* pParser); | |
25 void SetLineDash(CPDF_Array*, FX_FLOAT, FX_FLOAT scale); | |
26 | |
27 CFX_Matrix m_TextMatrix; | |
28 CFX_Matrix m_CTM; | |
29 CFX_Matrix m_ParentMatrix; | |
30 FX_FLOAT m_TextX; | |
31 FX_FLOAT m_TextY; | |
32 FX_FLOAT m_TextLineX; | |
33 FX_FLOAT m_TextLineY; | |
34 FX_FLOAT m_TextLeading; | |
35 FX_FLOAT m_TextRise; | |
36 FX_FLOAT m_TextHorzScale; | |
37 }; | |
38 | |
39 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_ALLSTATES_H_ | |
OLD | NEW |