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

Side by Side Diff: src/pdf/SkPDFFormXObject.h

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 | « src/pdf/SkPDFFont.cpp ('k') | src/pdf/SkPDFFormXObject.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 2010 The Android Open Source Project 2 * Copyright 2010 The Android Open Source Project
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 8
9 #ifndef SkPDFFormXObject_DEFINED 9 #ifndef SkPDFFormXObject_DEFINED
10 #define SkPDFFormXObject_DEFINED 10 #define SkPDFFormXObject_DEFINED
11 11
12 #include "SkPDFStream.h"
13 #include "SkPDFDevice.h" 12 #include "SkPDFDevice.h"
13 #include "SkPDFTypes.h"
14 14
15 /** A form XObject is a self contained description of a graphics 15 /** A form XObject is a self contained description of a graphics
16 object. A form XObject is a page object with slightly different 16 object. A form XObject is a page object with slightly different
17 syntax, that can be drawn into a page content stream, just like a 17 syntax, that can be drawn into a page content stream, just like a
18 bitmap XObject can be drawn into a page content stream. 18 bitmap XObject can be drawn into a page content stream.
19 */ 19 */
20 sk_sp<SkPDFObject> SkPDFMakeFormXObject(std::unique_ptr<SkStreamAsset> content, 20 sk_sp<SkPDFObject> SkPDFMakeFormXObject(std::unique_ptr<SkStreamAsset> content,
21 sk_sp<SkPDFArray> mediaBox, 21 sk_sp<SkPDFArray> mediaBox,
22 sk_sp<SkPDFDict> resourceDict, 22 sk_sp<SkPDFDict> resourceDict,
23 const SkMatrix& inverseTransform, 23 const SkMatrix& inverseTransform,
24 const char* colorSpace); 24 const char* colorSpace);
25 #endif 25 #endif
OLDNEW
« no previous file with comments | « src/pdf/SkPDFFont.cpp ('k') | src/pdf/SkPDFFormXObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698