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 #include "SkPDFDevice.h" | 8 #include "SkPDFDevice.h" |
9 #include "SkAnnotationKeys.h" | 9 #include "SkAnnotationKeys.h" |
10 #include "SkBitmapDevice.h" | 10 #include "SkBitmapDevice.h" |
11 #include "SkBitmapKey.h" | 11 #include "SkBitmapKey.h" |
12 #include "SkColor.h" | 12 #include "SkColor.h" |
13 #include "SkColorFilter.h" | 13 #include "SkColorFilter.h" |
14 #include "SkDraw.h" | 14 #include "SkDraw.h" |
15 #include "SkGlyphCache.h" | 15 #include "SkGlyphCache.h" |
16 #include "SkPath.h" | 16 #include "SkPath.h" |
17 #include "SkPathEffect.h" | 17 #include "SkPathEffect.h" |
18 #include "SkPathOps.h" | 18 #include "SkPathOps.h" |
19 #include "SkPDFBitmap.h" | 19 #include "SkPDFBitmap.h" |
20 #include "SkPDFCanon.h" | 20 #include "SkPDFCanon.h" |
21 #include "SkPDFDocument.h" | 21 #include "SkPDFDocument.h" |
22 #include "SkPDFFont.h" | 22 #include "SkPDFFont.h" |
23 #include "SkPDFFormXObject.h" | 23 #include "SkPDFFormXObject.h" |
24 #include "SkPDFGraphicState.h" | 24 #include "SkPDFGraphicState.h" |
25 #include "SkPDFResourceDict.h" | 25 #include "SkPDFResourceDict.h" |
26 #include "SkPDFShader.h" | 26 #include "SkPDFShader.h" |
27 #include "SkPDFStream.h" | |
28 #include "SkPDFTypes.h" | 27 #include "SkPDFTypes.h" |
29 #include "SkPDFUtils.h" | 28 #include "SkPDFUtils.h" |
30 #include "SkRasterClip.h" | 29 #include "SkRasterClip.h" |
31 #include "SkRRect.h" | 30 #include "SkRRect.h" |
32 #include "SkString.h" | 31 #include "SkString.h" |
33 #include "SkSurface.h" | 32 #include "SkSurface.h" |
34 #include "SkTextFormatParams.h" | 33 #include "SkTextFormatParams.h" |
35 #include "SkTemplates.h" | 34 #include "SkTemplates.h" |
36 #include "SkTypefacePriv.h" | 35 #include "SkTypefacePriv.h" |
37 #include "SkXfermodeInterpretation.h" | 36 #include "SkXfermodeInterpretation.h" |
(...skipping 2206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2244 } | 2243 } |
2245 | 2244 |
2246 sk_sp<SkSpecialImage> SkPDFDevice::makeSpecial(const SkImage* image) { | 2245 sk_sp<SkSpecialImage> SkPDFDevice::makeSpecial(const SkImage* image) { |
2247 return SkSpecialImage::MakeFromImage(SkIRect::MakeWH(image->width(), image->
height()), | 2246 return SkSpecialImage::MakeFromImage(SkIRect::MakeWH(image->width(), image->
height()), |
2248 image->makeNonTextureImage()); | 2247 image->makeNonTextureImage()); |
2249 } | 2248 } |
2250 | 2249 |
2251 sk_sp<SkSpecialImage> SkPDFDevice::snapSpecial() { | 2250 sk_sp<SkSpecialImage> SkPDFDevice::snapSpecial() { |
2252 return nullptr; | 2251 return nullptr; |
2253 } | 2252 } |
OLD | NEW |