OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "../../../foxitlib.h" | 7 #include "xfa/src/foxitlib.h" |
8 #include "fde_textout.h" | 8 #include "fde_textout.h" |
9 IFDE_TextOut* IFDE_TextOut::Create() { | 9 IFDE_TextOut* IFDE_TextOut::Create() { |
10 return new CFDE_TextOut; | 10 return new CFDE_TextOut; |
11 } | 11 } |
12 CFDE_TextOut::CFDE_TextOut() | 12 CFDE_TextOut::CFDE_TextOut() |
13 : m_pFont(NULL), | 13 : m_pFont(NULL), |
14 m_fFontSize(12.0f), | 14 m_fFontSize(12.0f), |
15 m_fLineSpace(m_fFontSize), | 15 m_fLineSpace(m_fFontSize), |
16 m_fLinePos(0.0f), | 16 m_fLinePos(0.0f), |
17 m_fTolerance(0.0f), | 17 m_fTolerance(0.0f), |
(...skipping 918 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
936 return NULL; | 936 return NULL; |
937 } | 937 } |
938 return m_pieces.GetPtrAt(index); | 938 return m_pieces.GetPtrAt(index); |
939 } | 939 } |
940 void CFDE_TTOLine::RemoveLast(int32_t iCount) { | 940 void CFDE_TTOLine::RemoveLast(int32_t iCount) { |
941 m_pieces.RemoveLast(iCount); | 941 m_pieces.RemoveLast(iCount); |
942 } | 942 } |
943 void CFDE_TTOLine::RemoveAll(FX_BOOL bLeaveMemory) { | 943 void CFDE_TTOLine::RemoveAll(FX_BOOL bLeaveMemory) { |
944 m_pieces.RemoveAll(bLeaveMemory); | 944 m_pieces.RemoveAll(bLeaveMemory); |
945 } | 945 } |
OLD | NEW |