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

Side by Side Diff: xfa/src/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/src/fde/fde_object.h ('k') | xfa/src/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
(Empty)
1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #include "xfa/src/fde/fde_object.h"
8
9 IFDE_Pen* IFDE_Pen::Create() {
10 return new CFDE_Pen();
11 }
12 IFDE_Brush* IFDE_Brush::Create(int32_t iType) {
13 switch (iType) {
14 case FDE_BRUSHTYPE_Solid:
15 return new CFDE_SolidBrush;
16 case FDE_BRUSHTYPE_Hatch:
17 return new CFDE_HatchBrush;
18 case FDE_BRUSHTYPE_Texture:
19 return new CFDE_TextureBrush;
20 case FDE_BRUSHTYPE_LinearGradient:
21 return new CFDE_LinearBrush;
22 default:
23 return NULL;
24 }
25 }
OLDNEW
« no previous file with comments | « xfa/src/fde/fde_object.h ('k') | xfa/src/fde/fde_path.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698