diff options
author | Joe Onorato <joeo@google.com> | 2011-01-19 14:52:51 -0800 |
---|---|---|
committer | Joe Onorato <joeo@google.com> | 2011-01-19 15:15:01 -0800 |
commit | 9221e8085d77b0850a07c6585275ec7bb7e0931a (patch) | |
tree | ac421f3009c984b0febaa2d885ad26406b7a082f /include | |
parent | b450292fabdb04f8904725898ab7fa84abe51bdf (diff) | |
download | external_skia-9221e8085d77b0850a07c6585275ec7bb7e0931a.zip external_skia-9221e8085d77b0850a07c6585275ec7bb7e0931a.tar.gz external_skia-9221e8085d77b0850a07c6585275ec7bb7e0931a.tar.bz2 |
Implement SkRegion::toString().
Change-Id: I012feed3eb119a9eda98989e13dacc53c0199e19
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkRegion.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/core/SkRegion.h b/include/core/SkRegion.h index 8b15a89..09b835d 100644 --- a/include/core/SkRegion.h +++ b/include/core/SkRegion.h @@ -242,6 +242,10 @@ public: */ bool op(const SkRegion& rgna, const SkRegion& rgnb, Op op); + /** Returns a new char* containing the list of rectangles in this region + */ + char* toString(); + /** Returns the sequence of rectangles, sorted in Y and X, that make up this region. */ |