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_FPDFDOC_CPVT_LINE_H_ 8 #define CORE_FPDFDOC_CPVT_LINE_H_ 9 10 #include "core/fpdfdoc/cpvt_wordplace.h" 11 #include "core/fxcrt/fx_coordinates.h" 12 #include "core/fxcrt/fx_system.h" 13 14 class CPVT_Line { 15 public: 16 CPVT_Line(); 17 18 CPVT_WordPlace lineplace; 19 CPVT_WordPlace lineEnd; 20 CFX_PointF ptLine; 21 float fLineWidth; 22 float fLineAscent; 23 float fLineDescent; 24 }; 25 CPVT_Line()26inline CPVT_Line::CPVT_Line() 27 : fLineWidth(0.0f), fLineAscent(0.0f), fLineDescent(0.0f) {} 28 29 #endif // CORE_FPDFDOC_CPVT_LINE_H_ 30