| 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 2190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2228 } | 2227 } |
| 2229 | 2228 |
| 2230 sk_sp<SkSpecialImage> SkPDFDevice::makeSpecial(const SkImage* image) { | 2229 sk_sp<SkSpecialImage> SkPDFDevice::makeSpecial(const SkImage* image) { |
| 2231 return SkSpecialImage::MakeFromImage(SkIRect::MakeWH(image->width(), image->
height()), | 2230 return SkSpecialImage::MakeFromImage(SkIRect::MakeWH(image->width(), image->
height()), |
| 2232 image->makeNonTextureImage()); | 2231 image->makeNonTextureImage()); |
| 2233 } | 2232 } |
| 2234 | 2233 |
| 2235 sk_sp<SkSpecialImage> SkPDFDevice::snapSpecial() { | 2234 sk_sp<SkSpecialImage> SkPDFDevice::snapSpecial() { |
| 2236 return nullptr; | 2235 return nullptr; |
| 2237 } | 2236 } |
| OLD | NEW |