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

Side by Side Diff: xfa/fxfa/parser/cxfa_box.cpp

Issue 2165993002: Move xfa_basic_imp to cxfa_widetextread. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Review feedback Created 4 years, 5 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/fxfa/parser/cscript_layoutpseudomodel.cpp ('k') | xfa/fxfa/parser/cxfa_caption.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 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 #include "xfa/fxfa/parser/cxfa_box.h" 7 #include "xfa/fxfa/parser/cxfa_box.h"
8 8
9 #include "xfa/fxfa/parser/cxfa_corner.h" 9 #include "xfa/fxfa/parser/cxfa_corner.h"
10 #include "xfa/fxfa/parser/cxfa_measurement.h"
10 #include "xfa/fxfa/parser/xfa_object.h" 11 #include "xfa/fxfa/parser/xfa_object.h"
11 12
12 namespace { 13 namespace {
13 14
14 void GetStrokesInternal(CXFA_Node* pNode, 15 void GetStrokesInternal(CXFA_Node* pNode,
15 CXFA_StrokeArray& strokes, 16 CXFA_StrokeArray& strokes,
16 FX_BOOL bNull) { 17 FX_BOOL bNull) {
17 strokes.RemoveAll(); 18 strokes.RemoveAll();
18 if (!pNode) 19 if (!pNode)
19 return; 20 return;
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 CXFA_StrokeArray strokes; 161 CXFA_StrokeArray strokes;
161 GetStrokesInternal(m_pNode, strokes, TRUE); 162 GetStrokesInternal(m_pNode, strokes, TRUE);
162 CXFA_Stroke stroke(nullptr); 163 CXFA_Stroke stroke(nullptr);
163 int32_t iType = Style3D(strokes, stroke); 164 int32_t iType = Style3D(strokes, stroke);
164 if (iType) { 165 if (iType) {
165 bVisible = stroke.IsVisible(); 166 bVisible = stroke.IsVisible();
166 fThickness = stroke.GetThickness(); 167 fThickness = stroke.GetThickness();
167 } 168 }
168 return iType; 169 return iType;
169 } 170 }
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/cscript_layoutpseudomodel.cpp ('k') | xfa/fxfa/parser/cxfa_caption.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698