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

Unified Diff: include/core/SkRRect.h

Issue 48623006: Add ability to ninepatch blurred rounded rectangle (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Respond to comments. Created 7 years, 1 month 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
Index: include/core/SkRRect.h
diff --git a/include/core/SkRRect.h b/include/core/SkRRect.h
index d8029bb5c72aab7420c95af3a56e7743f5e578f8..243f450b0dd4b502d5e744137581c578a9cc1b0e 100644
--- a/include/core/SkRRect.h
+++ b/include/core/SkRRect.h
@@ -176,6 +176,7 @@ public:
const SkRect& rect() const { return fRect; }
const SkVector& radii(Corner corner) const { return fRadii[corner]; }
+ const SkVector* getAllRadii() const { return fRadii; }
reed1 2013/11/04 17:46:52 // returns all 4 radii vectors, in Corner order.
scroggo 2013/11/04 19:52:54 It seems logical to me that this would return them
const SkRect& getBounds() const { return fRect; }
/**

Powered by Google App Engine
This is Rietveld 408576698