diff options
author | 2011-06-27 14:42:15 +0000 | |
---|---|---|
committer | 2011-06-27 14:42:15 +0000 | |
commit | 5667afc5cb4a8cd15a27667f222b6d9c94d61c38 (patch) | |
tree | 2e1fc9cce83746cc0853e7aba7b936d2fac943ec /include/pdf | |
parent | 0f1c95cd67a056cff9c9cd31fa51d9de9392142e (diff) |
remove drawShape from canvas api
git-svn-id: http://skia.googlecode.com/svn/trunk@1723 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/pdf')
-rw-r--r-- | include/pdf/SkPDFDevice.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/pdf/SkPDFDevice.h b/include/pdf/SkPDFDevice.h index 2205f6cf58..afe0ffff80 100644 --- a/include/pdf/SkPDFDevice.h +++ b/include/pdf/SkPDFDevice.h @@ -137,9 +137,15 @@ public: /** Returns a SkStream with the page contents. The caller is responsible for a reference to the returned value. + DEPRECATED: use copyContentToData() */ SK_API SkStream* content() const; + /** Returns a SkStream with the page contents. The caller is responsible + * for calling data->unref() when it is finished. + */ + SK_API SkData* copyContentToData() const; + SK_API const SkMatrix& initialTransform() const { return fInitialTransform; } |