Index: src/pdf/SkPDFTypes.h |
diff --git a/src/pdf/SkPDFTypes.h b/src/pdf/SkPDFTypes.h |
index ec527fc932cfd33737942f50b479ba15085ce4da..5d3a9a19eeb5ba182ad4a27cbfacbf2acf83bb41 100644 |
--- a/src/pdf/SkPDFTypes.h |
+++ b/src/pdf/SkPDFTypes.h |
@@ -346,6 +346,12 @@ public: |
*/ |
bool addObject(SkPDFObject* obj); |
+ /** Add the passed object to the catalog, as well as all it's dependencies. |
tomhudson
2015/10/09 15:31:37
no apostrophe!
hal.canary
2015/10/09 19:13:27
Done. Im so embarrassed.
|
+ * @param obj The object to add. If nullptr, this is a noop. |
+ * @param subs Will be passed to obj->addResources(). |
+ */ |
+ void addObjectRecursively(SkPDFObject* obj, const SkPDFSubstituteMap& subs); |
+ |
/** Get the object number for the passed object. |
* @param obj The object of interest. |
*/ |