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_FPDFDOC_CPVT_WORDPROPS_H_ | 7 #ifndef CORE_FPDFDOC_CPVT_WORDPROPS_H_ |
8 #define CORE_FPDFDOC_CPVT_WORDPROPS_H_ | 8 #define CORE_FPDFDOC_CPVT_WORDPROPS_H_ |
9 | 9 |
10 #include "core/fpdfdoc/cpdf_variabletext.h" | 10 #include "core/fpdfdoc/cpdf_variabletext.h" |
11 #include "core/fxcrt/include/fx_system.h" | 11 #include "core/fxcrt/fx_system.h" |
12 #include "core/fxge/include/fx_dib.h" | 12 #include "core/fxge/include/fx_dib.h" |
13 | 13 |
14 struct CPVT_WordProps { | 14 struct CPVT_WordProps { |
15 CPVT_WordProps() | 15 CPVT_WordProps() |
16 : nFontIndex(-1), | 16 : nFontIndex(-1), |
17 fFontSize(0.0f), | 17 fFontSize(0.0f), |
18 dwWordColor(0), | 18 dwWordColor(0), |
19 nScriptType(CPDF_VariableText::ScriptType::Normal), | 19 nScriptType(CPDF_VariableText::ScriptType::Normal), |
20 nWordStyle(0), | 20 nWordStyle(0), |
21 fCharSpace(0.0f), | 21 fCharSpace(0.0f), |
(...skipping 27 matching lines...) Expand all Loading... |
49 int32_t nFontIndex; | 49 int32_t nFontIndex; |
50 FX_FLOAT fFontSize; | 50 FX_FLOAT fFontSize; |
51 FX_COLORREF dwWordColor; | 51 FX_COLORREF dwWordColor; |
52 CPDF_VariableText::ScriptType nScriptType; | 52 CPDF_VariableText::ScriptType nScriptType; |
53 int32_t nWordStyle; | 53 int32_t nWordStyle; |
54 FX_FLOAT fCharSpace; | 54 FX_FLOAT fCharSpace; |
55 int32_t nHorzScale; | 55 int32_t nHorzScale; |
56 }; | 56 }; |
57 | 57 |
58 #endif // CORE_FPDFDOC_CPVT_WORDPROPS_H_ | 58 #endif // CORE_FPDFDOC_CPVT_WORDPROPS_H_ |
OLD | NEW |