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

Side by Side Diff: xfa/fde/tto/fde_textout.cpp

Issue 1803723002: Move xfa/src up to xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 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/fde/tto/fde_textout.h ('k') | xfa/fde/xml/fde_xml.h » ('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 "xfa/src/fde/tto/fde_textout.h" 7 #include "xfa/fde/tto/fde_textout.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
11 #include "core/include/fxcrt/fx_coordinates.h" 11 #include "core/include/fxcrt/fx_coordinates.h"
12 #include "core/include/fxcrt/fx_system.h" 12 #include "core/include/fxcrt/fx_system.h"
13 #include "xfa/src/fde/fde_brush.h" 13 #include "xfa/fde/fde_brush.h"
14 #include "xfa/src/fde/fde_pen.h" 14 #include "xfa/fde/fde_pen.h"
15 #include "xfa/src/fde/fde_renderdevice.h" 15 #include "xfa/fde/fde_renderdevice.h"
16 #include "xfa/src/fgas/crt/fgas_memory.h" 16 #include "xfa/fgas/crt/fgas_memory.h"
17 #include "xfa/src/fgas/crt/fgas_utils.h" 17 #include "xfa/fgas/crt/fgas_utils.h"
18 #include "xfa/src/fgas/layout/fgas_textbreak.h" 18 #include "xfa/fgas/layout/fgas_textbreak.h"
19 19
20 namespace { 20 namespace {
21 21
22 struct FDE_TTOPIECE { 22 struct FDE_TTOPIECE {
23 public: 23 public:
24 int32_t iStartChar; 24 int32_t iStartChar;
25 int32_t iChars; 25 int32_t iChars;
26 FX_DWORD dwCharStyles; 26 FX_DWORD dwCharStyles;
27 CFX_RectF rtPiece; 27 CFX_RectF rtPiece;
28 }; 28 };
(...skipping 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after
1111 return NULL; 1111 return NULL;
1112 } 1112 }
1113 return m_pieces.GetPtrAt(index); 1113 return m_pieces.GetPtrAt(index);
1114 } 1114 }
1115 void CFDE_TTOLine::RemoveLast(int32_t iCount) { 1115 void CFDE_TTOLine::RemoveLast(int32_t iCount) {
1116 m_pieces.RemoveLast(iCount); 1116 m_pieces.RemoveLast(iCount);
1117 } 1117 }
1118 void CFDE_TTOLine::RemoveAll(FX_BOOL bLeaveMemory) { 1118 void CFDE_TTOLine::RemoveAll(FX_BOOL bLeaveMemory) {
1119 m_pieces.RemoveAll(bLeaveMemory); 1119 m_pieces.RemoveAll(bLeaveMemory);
1120 } 1120 }
OLDNEW
« no previous file with comments | « xfa/fde/tto/fde_textout.h ('k') | xfa/fde/xml/fde_xml.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698