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

Side by Side Diff: src/device/xps/SkXPSDevice.cpp

Issue 1476563002: Remove SkDrawProcs (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: add back skdraw Created 5 years 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 | « src/core/SkDrawProcs.h ('k') | src/gpu/SkGpuDevice.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 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkTypes.h" 8 #include "SkTypes.h"
9 #if defined(SK_BUILD_FOR_WIN32) 9 #if defined(SK_BUILD_FOR_WIN32)
10 10
11 #ifndef UNICODE 11 #ifndef UNICODE
12 #define UNICODE 12 #define UNICODE
13 #endif 13 #endif
14 #ifndef _UNICODE 14 #ifndef _UNICODE
15 #define _UNICODE 15 #define _UNICODE
16 #endif 16 #endif
17 #include <ObjBase.h> 17 #include <ObjBase.h>
18 #include <XpsObjectModel.h> 18 #include <XpsObjectModel.h>
19 #include <T2EmbApi.h> 19 #include <T2EmbApi.h>
20 #include <FontSub.h> 20 #include <FontSub.h>
21 21
22 #include "SkColor.h" 22 #include "SkColor.h"
23 #include "SkConstexprMath.h" 23 #include "SkConstexprMath.h"
24 #include "SkData.h" 24 #include "SkData.h"
25 #include "SkDraw.h" 25 #include "SkDraw.h"
26 #include "SkDrawProcs.h"
27 #include "SkEndian.h" 26 #include "SkEndian.h"
28 #include "SkFindAndPlaceGlyph.h" 27 #include "SkFindAndPlaceGlyph.h"
29 #include "SkGeometry.h" 28 #include "SkGeometry.h"
30 #include "SkGlyphCache.h" 29 #include "SkGlyphCache.h"
31 #include "SkHRESULT.h" 30 #include "SkHRESULT.h"
32 #include "SkImageEncoder.h" 31 #include "SkImageEncoder.h"
33 #include "SkIStream.h" 32 #include "SkIStream.h"
34 #include "SkMaskFilter.h" 33 #include "SkMaskFilter.h"
35 #include "SkPaint.h" 34 #include "SkPaint.h"
36 #include "SkPathOps.h" 35 #include "SkPathOps.h"
(...skipping 2232 matching lines...) Expand 10 before | Expand all | Expand 10 after
2269 //SkXPSDevice* dev = new SkXPSDevice(this); 2268 //SkXPSDevice* dev = new SkXPSDevice(this);
2270 //SkSize s = SkSize::Make(width, height); 2269 //SkSize s = SkSize::Make(width, height);
2271 //dev->BeginCanvas(s, s, SkMatrix::I()); 2270 //dev->BeginCanvas(s, s, SkMatrix::I());
2272 //return dev; 2271 //return dev;
2273 } 2272 }
2274 #endif 2273 #endif
2275 return new SkXPSDevice(this->fXpsFactory.get()); 2274 return new SkXPSDevice(this->fXpsFactory.get());
2276 } 2275 }
2277 2276
2278 #endif//defined(SK_BUILD_FOR_WIN32) 2277 #endif//defined(SK_BUILD_FOR_WIN32)
OLDNEW
« no previous file with comments | « src/core/SkDrawProcs.h ('k') | src/gpu/SkGpuDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698