| 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_ALLSTATES_H_ | 7 #ifndef CORE_FPDFAPI_PAGE_CPDF_ALLSTATES_H_ |
| 8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_ALLSTATES_H_ | 8 #define CORE_FPDFAPI_PAGE_CPDF_ALLSTATES_H_ |
| 9 | 9 |
| 10 #include "core/fpdfapi/fpdf_page/cpdf_graphicstates.h" | 10 #include "core/fpdfapi/page/cpdf_graphicstates.h" |
| 11 #include "core/fxcrt/fx_coordinates.h" | 11 #include "core/fxcrt/fx_coordinates.h" |
| 12 #include "core/fxcrt/fx_system.h" | 12 #include "core/fxcrt/fx_system.h" |
| 13 | 13 |
| 14 class CPDF_Array; | 14 class CPDF_Array; |
| 15 class CPDF_Dictionary; | 15 class CPDF_Dictionary; |
| 16 class CPDF_StreamContentParser; | 16 class CPDF_StreamContentParser; |
| 17 | 17 |
| 18 class CPDF_AllStates : public CPDF_GraphicStates { | 18 class CPDF_AllStates : public CPDF_GraphicStates { |
| 19 public: | 19 public: |
| 20 CPDF_AllStates(); | 20 CPDF_AllStates(); |
| 21 ~CPDF_AllStates() override; | 21 ~CPDF_AllStates() override; |
| 22 | 22 |
| 23 void Copy(const CPDF_AllStates& src); | 23 void Copy(const CPDF_AllStates& src); |
| 24 void ProcessExtGS(CPDF_Dictionary* pGS, CPDF_StreamContentParser* pParser); | 24 void ProcessExtGS(CPDF_Dictionary* pGS, CPDF_StreamContentParser* pParser); |
| 25 void SetLineDash(CPDF_Array*, FX_FLOAT, FX_FLOAT scale); | 25 void SetLineDash(CPDF_Array*, FX_FLOAT, FX_FLOAT scale); |
| 26 | 26 |
| 27 CFX_Matrix m_TextMatrix; | 27 CFX_Matrix m_TextMatrix; |
| 28 CFX_Matrix m_CTM; | 28 CFX_Matrix m_CTM; |
| 29 CFX_Matrix m_ParentMatrix; | 29 CFX_Matrix m_ParentMatrix; |
| 30 FX_FLOAT m_TextX; | 30 FX_FLOAT m_TextX; |
| 31 FX_FLOAT m_TextY; | 31 FX_FLOAT m_TextY; |
| 32 FX_FLOAT m_TextLineX; | 32 FX_FLOAT m_TextLineX; |
| 33 FX_FLOAT m_TextLineY; | 33 FX_FLOAT m_TextLineY; |
| 34 FX_FLOAT m_TextLeading; | 34 FX_FLOAT m_TextLeading; |
| 35 FX_FLOAT m_TextRise; | 35 FX_FLOAT m_TextRise; |
| 36 FX_FLOAT m_TextHorzScale; | 36 FX_FLOAT m_TextHorzScale; |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_ALLSTATES_H_ | 39 #endif // CORE_FPDFAPI_PAGE_CPDF_ALLSTATES_H_ |
| OLD | NEW |