OLD | NEW |
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 #ifndef UNICODE | 8 #ifndef UNICODE |
9 #define UNICODE | 9 #define UNICODE |
10 #endif | 10 #endif |
11 #ifndef _UNICODE | 11 #ifndef _UNICODE |
12 #define _UNICODE | 12 #define _UNICODE |
13 #endif | 13 #endif |
14 #include "SkTypes.h" | 14 #include "SkTypes.h" |
15 #include <ObjBase.h> | 15 #include <ObjBase.h> |
16 #include <XpsObjectModel.h> | 16 #include <XpsObjectModel.h> |
17 #include <T2EmbApi.h> | 17 #include <T2EmbApi.h> |
18 #include <FontSub.h> | 18 #include <FontSub.h> |
19 | 19 |
20 #include "SkColor.h" | 20 #include "SkColor.h" |
21 #include "SkConstexprMath.h" | 21 #include "SkConstexprMath.h" |
22 #include "SkData.h" | 22 #include "SkData.h" |
23 #include "SkDraw.h" | 23 #include "SkDraw.h" |
24 #include "SkDrawProcs.h" | 24 #include "SkDrawProcs.h" |
25 #include "SkEndian.h" | 25 #include "SkEndian.h" |
26 #include "SkFontHost.h" | |
27 #include "SkGlyphCache.h" | 26 #include "SkGlyphCache.h" |
28 #include "SkHRESULT.h" | 27 #include "SkHRESULT.h" |
29 #include "SkImageEncoder.h" | 28 #include "SkImageEncoder.h" |
30 #include "SkIStream.h" | 29 #include "SkIStream.h" |
31 #include "SkMaskFilter.h" | 30 #include "SkMaskFilter.h" |
32 #include "SkPaint.h" | 31 #include "SkPaint.h" |
33 #include "SkPathOps.h" | 32 #include "SkPathOps.h" |
34 #include "SkPoint.h" | 33 #include "SkPoint.h" |
35 #include "SkRasterizer.h" | 34 #include "SkRasterizer.h" |
36 #include "SkSFNTHeader.h" | 35 #include "SkSFNTHeader.h" |
(...skipping 2232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2269 IID_PPV_ARGS(&this->fXpsFactory)), | 2268 IID_PPV_ARGS(&this->fXpsFactory)), |
2270 "Could not create factory for layer."); | 2269 "Could not create factory for layer."); |
2271 | 2270 |
2272 HRVM(this->fXpsFactory->CreateCanvas(&this->fCurrentXpsCanvas), | 2271 HRVM(this->fXpsFactory->CreateCanvas(&this->fCurrentXpsCanvas), |
2273 "Could not create canvas for layer."); | 2272 "Could not create canvas for layer."); |
2274 } | 2273 } |
2275 | 2274 |
2276 bool SkXPSDevice::allowImageFilter(const SkImageFilter*) { | 2275 bool SkXPSDevice::allowImageFilter(const SkImageFilter*) { |
2277 return false; | 2276 return false; |
2278 } | 2277 } |
OLD | NEW |