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

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-29 (Friday) 12:30:20 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
« no previous file with comments | « gyp/pdf.gypi ('k') | src/pdf/SkPDFDocument.cpp » ('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 "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
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 }
OLDNEW
« no previous file with comments | « gyp/pdf.gypi ('k') | src/pdf/SkPDFDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698