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

Side by Side Diff: xfa/fde/fde_object.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/fde_object.h ('k') | xfa/fde/fde_path.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/fde_object.h" 7 #include "xfa/fde/fde_object.h"
8 8
9 IFDE_Pen* IFDE_Pen::Create() { 9 IFDE_Pen* IFDE_Pen::Create() {
10 return new CFDE_Pen(); 10 return new CFDE_Pen();
11 } 11 }
12 IFDE_Brush* IFDE_Brush::Create(int32_t iType) { 12 IFDE_Brush* IFDE_Brush::Create(int32_t iType) {
13 switch (iType) { 13 switch (iType) {
14 case FDE_BRUSHTYPE_Solid: 14 case FDE_BRUSHTYPE_Solid:
15 return new CFDE_SolidBrush; 15 return new CFDE_SolidBrush;
16 case FDE_BRUSHTYPE_Hatch: 16 case FDE_BRUSHTYPE_Hatch:
17 return new CFDE_HatchBrush; 17 return new CFDE_HatchBrush;
18 case FDE_BRUSHTYPE_Texture: 18 case FDE_BRUSHTYPE_Texture:
19 return new CFDE_TextureBrush; 19 return new CFDE_TextureBrush;
20 case FDE_BRUSHTYPE_LinearGradient: 20 case FDE_BRUSHTYPE_LinearGradient:
21 return new CFDE_LinearBrush; 21 return new CFDE_LinearBrush;
22 default: 22 default:
23 return NULL; 23 return NULL;
24 } 24 }
25 } 25 }
OLDNEW
« no previous file with comments | « xfa/fde/fde_object.h ('k') | xfa/fde/fde_path.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698