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

Side by Side Diff: src/pdf/SkPDFDevice.cpp

Issue 2190883003: SkPDF: PDFStream has-a not is-a PDFDict (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-07-28 (Thursday) 11:59:34 EDT Created 4 years, 4 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
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 "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
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 }
OLDNEW
« no previous file with comments | « gyp/pdf.gypi ('k') | src/pdf/SkPDFDocument.cpp » ('j') | src/pdf/SkPDFTypes.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698