aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkRRect.h
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2014-12-15 07:59:53 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-15 07:59:53 -0800
commite05fed0d6339c63c8cceff74af0b8d120c07e54c (patch)
treede54a038e60ec105dd7028c0db227895eb16aa59 /include/core/SkRRect.h
parentce1c8869cf5e37753f9c8193314d93bff897d014 (diff)
add dumpHex option to rect and rrect, to match path
Diffstat (limited to 'include/core/SkRRect.h')
-rw-r--r--include/core/SkRRect.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/include/core/SkRRect.h b/include/core/SkRRect.h
index 16670aab45..f27d798bd4 100644
--- a/include/core/SkRRect.h
+++ b/include/core/SkRRect.h
@@ -292,13 +292,9 @@ public:
*/
bool transform(const SkMatrix& matrix, SkRRect* dst) const;
-#ifdef SK_DEVELOPER
- /**
- * Prints the rrect using SkDebugf. This is intended for Skia development debugging. Don't
- * rely on the existence of this function or the formatting of its output.
- */
- void dump() const;
-#endif
+ void dump(bool asHex) const;
+ void dump() const { this->dump(false); }
+ void dumpHex() const { this->dump(true); }
private:
SkRect fRect;