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_LINE_H_ | 7 #ifndef CORE_FPDFDOC_CPVT_LINE_H_ |
8 #define CORE_FPDFDOC_CPVT_LINE_H_ | 8 #define CORE_FPDFDOC_CPVT_LINE_H_ |
9 | 9 |
10 #include "core/fpdfdoc/cpvt_wordplace.h" | 10 #include "core/fpdfdoc/cpvt_wordplace.h" |
11 #include "core/fxcrt/include/fx_coordinates.h" | 11 #include "core/fxcrt/fx_coordinates.h" |
12 #include "core/fxcrt/include/fx_system.h" | 12 #include "core/fxcrt/fx_system.h" |
13 | 13 |
14 struct CPVT_Line { | 14 struct CPVT_Line { |
15 CPVT_Line() : fLineWidth(0.0f), fLineAscent(0.0f), fLineDescent(0.0f) {} | 15 CPVT_Line() : fLineWidth(0.0f), fLineAscent(0.0f), fLineDescent(0.0f) {} |
16 | 16 |
17 CPVT_WordPlace lineplace; | 17 CPVT_WordPlace lineplace; |
18 CPVT_WordPlace lineEnd; | 18 CPVT_WordPlace lineEnd; |
19 CFX_FloatPoint ptLine; | 19 CFX_FloatPoint ptLine; |
20 FX_FLOAT fLineWidth; | 20 FX_FLOAT fLineWidth; |
21 FX_FLOAT fLineAscent; | 21 FX_FLOAT fLineAscent; |
22 FX_FLOAT fLineDescent; | 22 FX_FLOAT fLineDescent; |
23 }; | 23 }; |
24 | 24 |
25 #endif // CORE_FPDFDOC_CPVT_LINE_H_ | 25 #endif // CORE_FPDFDOC_CPVT_LINE_H_ |
OLD | NEW |