Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(639)

Unified Diff: include/core/SkRRect.h

Issue 801383002: add dumpHex option to rect and rrect, to match path (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | include/core/SkRect.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkRRect.h
diff --git a/include/core/SkRRect.h b/include/core/SkRRect.h
index 16670aab45b4067313cb99ab6e15b78e34202fb7..f27d798bd401acbd77e3c5c331f8954066885699 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;
« no previous file with comments | « no previous file | include/core/SkRect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698