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

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

Issue 870333002: Simplify reference management in SkPDF (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: make Created 5 years, 10 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 /* 2 /*
3 * Copyright 2010 The Android Open Source Project 3 * Copyright 2010 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkPDFFormXObject_DEFINED 10 #ifndef SkPDFFormXObject_DEFINED
(...skipping 29 matching lines...) Expand all
40 explicit SkPDFFormXObject(SkPDFDevice* device); 40 explicit SkPDFFormXObject(SkPDFDevice* device);
41 /** 41 /**
42 * Create a PDF form XObject from a raw content stream and associated 42 * Create a PDF form XObject from a raw content stream and associated
43 * resources. 43 * resources.
44 */ 44 */
45 explicit SkPDFFormXObject(SkStream* content, 45 explicit SkPDFFormXObject(SkStream* content,
46 SkRect bbox, 46 SkRect bbox,
47 SkPDFResourceDict* resourceDict); 47 SkPDFResourceDict* resourceDict);
48 virtual ~SkPDFFormXObject(); 48 virtual ~SkPDFFormXObject();
49 49
50 // The SkPDFObject interface.
51 virtual void getResources(const SkTSet<SkPDFObject*>& knownResourceObjects,
52 SkTSet<SkPDFObject*>* newResourceObjects);
53
54 private: 50 private:
55 void init(const char* colorSpace, 51 void init(const char* colorSpace,
56 SkPDFDict* resourceDict, SkPDFArray* bbox); 52 SkPDFDict* resourceDict, SkPDFArray* bbox);
57
58 SkTSet<SkPDFObject*> fResources;
59 }; 53 };
60 54
61 #endif 55 #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