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

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: Created 7 years, 2 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
Index: include/core/SkRRect.h
diff --git a/include/core/SkRRect.h b/include/core/SkRRect.h
index 77e109d45b948eff171ac1373247e5b60fb6dae1..2682bc1069229d3af6fc57983c10095ee9c346a9 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; }
const SkRect& getBounds() const { return fRect; }
/**
« no previous file with comments | « include/core/SkMaskFilter.h ('k') | include/pdf/SkPDFDevice.h » ('j') | src/core/SkDraw.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698