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

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

Issue 2098393002: SkPDF: SkPDFStream takes only SkStreamAsset (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 5 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
(...skipping 22 matching lines...) Expand all
33 public: 33 public:
34 /** Create a PDF form XObject. Entries for the dictionary entries are 34 /** Create a PDF form XObject. Entries for the dictionary entries are
35 * automatically added. 35 * automatically added.
36 * @param device The set of graphical elements on this form. 36 * @param device The set of graphical elements on this form.
37 */ 37 */
38 explicit SkPDFFormXObject(SkPDFDevice* device); 38 explicit SkPDFFormXObject(SkPDFDevice* device);
39 /** 39 /**
40 * Create a PDF form XObject from a raw content stream and associated 40 * Create a PDF form XObject from a raw content stream and associated
41 * resources. 41 * resources.
42 */ 42 */
43 explicit SkPDFFormXObject(SkStream* content, 43 explicit SkPDFFormXObject(SkStreamAsset* content,
44 SkRect bbox, 44 SkRect bbox,
45 SkPDFDict* resourceDict); 45 SkPDFDict* resourceDict);
46 virtual ~SkPDFFormXObject(); 46 virtual ~SkPDFFormXObject();
47 47
48 private: 48 private:
49 void init(const char* colorSpace, 49 void init(const char* colorSpace,
50 SkPDFDict* resourceDict, SkPDFArray* bbox); 50 SkPDFDict* resourceDict, SkPDFArray* bbox);
51 }; 51 };
52 52
53 #endif 53 #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