aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkRRect.h
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-03-10 22:53:20 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-03-10 22:53:20 +0000
commit821397018fdabea6b434ecb96f84fb5449c4025f (patch)
tree7b6a3b536f4be38a6a9ea0691358e612db448f40 /include/core/SkRRect.h
parent45b9de81bce1d5edb72815146d45e688ea3090a0 (diff)
plumbing for GPU fast blur
BUG=skia:2281 R=bsalomon@google.com Author: humper@google.com Review URL: https://codereview.chromium.org/193193002 git-svn-id: http://skia.googlecode.com/svn/trunk@13735 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkRRect.h')
-rw-r--r--include/core/SkRRect.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkRRect.h b/include/core/SkRRect.h
index c996346442..9878b54fdc 100644
--- a/include/core/SkRRect.h
+++ b/include/core/SkRRect.h
@@ -101,6 +101,8 @@ public:
}
inline bool isComplex() const { return kComplex_Type == this->getType(); }
+ bool allCornersCircular() const;
+
SkScalar width() const { return fRect.width(); }
SkScalar height() const { return fRect.height(); }