From 9221e8085d77b0850a07c6585275ec7bb7e0931a Mon Sep 17 00:00:00 2001 From: Joe Onorato Date: Wed, 19 Jan 2011 14:52:51 -0800 Subject: Implement SkRegion::toString(). Change-Id: I012feed3eb119a9eda98989e13dacc53c0199e19 --- include/core/SkRegion.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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. */ -- cgit v1.1