Chromium Code Reviews| Index: src/pdf/SkPDFFormXObject.h |
| diff --git a/src/pdf/SkPDFFormXObject.h b/src/pdf/SkPDFFormXObject.h |
| index b1a6f7425d65176105a3d06ebb5285f1a29fc236..e24859e323c380abdb63182440d5bbdd02fb2b3c 100644 |
| --- a/src/pdf/SkPDFFormXObject.h |
| +++ b/src/pdf/SkPDFFormXObject.h |
| @@ -12,6 +12,7 @@ |
| #include "SkPDFStream.h" |
| #include "SkPDFTypes.h" |
| +#include "SkRect.h" |
| #include "SkRefCnt.h" |
| #include "SkString.h" |
| @@ -36,6 +37,13 @@ public: |
| * @param device The set of graphical elements on this form. |
| */ |
| explicit SkPDFFormXObject(SkPDFDevice* device); |
| + /** |
| + * Create a PDF form XObject from a raw content stream and associated |
| + * resources. |
| + */ |
| + explicit SkPDFFormXObject(SkData* content, |
| + SkRect bbox, |
| + SkPDFResourceDict* resourceDict); |
| virtual ~SkPDFFormXObject(); |
| // The SkPDFObject interface. |
| @@ -43,6 +51,8 @@ public: |
| SkTSet<SkPDFObject*>* newResourceObjects); |
| private: |
| + void commonInit(const char colorSpace[]); |
|
vandebo (ex-Chrome)
2013/07/08 19:02:25
nit: just init(...)
ducky
2013/07/09 02:56:23
Done.
|
| + |
| SkTSet<SkPDFObject*> fResources; |
| }; |