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_INCLUDE_CPDF_TEXTSTATEDATA_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_TEXTSTATEDATA_H_ |
8 #define CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_TEXTSTATEDATA_H_ | 8 #define CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_TEXTSTATEDATA_H_ |
9 | 9 |
10 #include "core/include/fxcrt/fx_system.h" | 10 #include "core/fxcrt/include/fx_system.h" |
11 | 11 |
12 class CPDF_Font; | 12 class CPDF_Font; |
13 class CPDF_Document; | 13 class CPDF_Document; |
14 | 14 |
15 class CPDF_TextStateData { | 15 class CPDF_TextStateData { |
16 public: | 16 public: |
17 CPDF_TextStateData(); | 17 CPDF_TextStateData(); |
18 CPDF_TextStateData(const CPDF_TextStateData& src); | 18 CPDF_TextStateData(const CPDF_TextStateData& src); |
19 ~CPDF_TextStateData(); | 19 ~CPDF_TextStateData(); |
20 | 20 |
21 CPDF_Font* m_pFont; | 21 CPDF_Font* m_pFont; |
22 CPDF_Document* m_pDocument; | 22 CPDF_Document* m_pDocument; |
23 FX_FLOAT m_FontSize; | 23 FX_FLOAT m_FontSize; |
24 FX_FLOAT m_CharSpace; | 24 FX_FLOAT m_CharSpace; |
25 FX_FLOAT m_WordSpace; | 25 FX_FLOAT m_WordSpace; |
26 FX_FLOAT m_Matrix[4]; | 26 FX_FLOAT m_Matrix[4]; |
27 int m_TextMode; | 27 int m_TextMode; |
28 FX_FLOAT m_CTM[4]; | 28 FX_FLOAT m_CTM[4]; |
29 }; | 29 }; |
30 | 30 |
31 #endif // CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_TEXTSTATEDATA_H_ | 31 #endif // CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_TEXTSTATEDATA_H_ |
OLD | NEW |