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

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

Issue 1817543002: Revert of switch patheffects over to sk_sp (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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 | « src/gpu/text/GrTextUtils.cpp ('k') | src/xps/SkXPSDevice.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 9
10 #include "SkAnnotationKeys.h" 10 #include "SkAnnotationKeys.h"
11 #include "SkColor.h" 11 #include "SkColor.h"
12 #include "SkColorFilter.h" 12 #include "SkColorFilter.h"
13 #include "SkClipStack.h" 13 #include "SkClipStack.h"
14 #include "SkDraw.h" 14 #include "SkDraw.h"
15 #include "SkGlyphCache.h" 15 #include "SkGlyphCache.h"
16 #include "SkPaint.h" 16 #include "SkPaint.h"
17 #include "SkPath.h" 17 #include "SkPath.h"
18 #include "SkPathEffect.h"
19 #include "SkPathOps.h" 18 #include "SkPathOps.h"
20 #include "SkPDFBitmap.h" 19 #include "SkPDFBitmap.h"
21 #include "SkPDFCanon.h" 20 #include "SkPDFCanon.h"
22 #include "SkPDFFont.h" 21 #include "SkPDFFont.h"
23 #include "SkPDFFormXObject.h" 22 #include "SkPDFFormXObject.h"
24 #include "SkPDFGraphicState.h" 23 #include "SkPDFGraphicState.h"
25 #include "SkPDFResourceDict.h" 24 #include "SkPDFResourceDict.h"
26 #include "SkPDFShader.h" 25 #include "SkPDFShader.h"
27 #include "SkPDFStream.h" 26 #include "SkPDFStream.h"
28 #include "SkPDFTypes.h" 27 #include "SkPDFTypes.h"
(...skipping 2301 matching lines...) Expand 10 before | Expand all | Expand 10 after
2330 pdfimage.reset(SkPDFCreateBitmapObject( 2329 pdfimage.reset(SkPDFCreateBitmapObject(
2331 image, fCanon->getPixelSerializer())); 2330 image, fCanon->getPixelSerializer()));
2332 if (!pdfimage) { 2331 if (!pdfimage) {
2333 return; 2332 return;
2334 } 2333 }
2335 fCanon->addPDFBitmap(image->uniqueID(), pdfimage.get()); 2334 fCanon->addPDFBitmap(image->uniqueID(), pdfimage.get());
2336 } 2335 }
2337 SkPDFUtils::DrawFormXObject(this->addXObjectResource(pdfimage.get()), 2336 SkPDFUtils::DrawFormXObject(this->addXObjectResource(pdfimage.get()),
2338 &content.entry()->fContent); 2337 &content.entry()->fContent);
2339 } 2338 }
OLDNEW
« no previous file with comments | « src/gpu/text/GrTextUtils.cpp ('k') | src/xps/SkXPSDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698