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

Unified Diff: include/core/SkRRect.h

Issue 311263015: Add dump() to SkClipStack to help with debugging. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add \n. Created 6 years, 6 months 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 | « include/core/SkClipStack.h ('k') | 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 5223ae7072d4fbbe788d028e8202d564fb9a89f0..d3f48cd48474f653d56fd45c468c8f6adaa03605 100644
--- a/include/core/SkRRect.h
+++ b/include/core/SkRRect.h
@@ -292,6 +292,14 @@ 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
+
private:
SkRect fRect;
// Radii order is UL, UR, LR, LL. Use Corner enum to index into fRadii[]
« no previous file with comments | « include/core/SkClipStack.h ('k') | include/core/SkRect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698