Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Side by Side Diff: xfa/src/fdp/src/tto/fde_textout.cpp

Issue 1570743002: XFA: Remove many relative includes in xfa/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: address some comments Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/src/fdp/src/fde/fde_render.cpp ('k') | xfa/src/fdp/src/xml/fde_xml.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « xfa/src/fdp/src/fde/fde_render.cpp ('k') | xfa/src/fdp/src/xml/fde_xml.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698