Index: src/effects/SkBlurMask.h |
diff --git a/src/effects/SkBlurMask.h b/src/effects/SkBlurMask.h |
index 354fa84f6b1b28733775e351214e83ebe1e7940c..eb67d4c9f8b04f9443123c9f3c10b3a9a9a39567 100644 |
--- a/src/effects/SkBlurMask.h |
+++ b/src/effects/SkBlurMask.h |
@@ -12,6 +12,7 @@ |
#include "SkShader.h" |
#include "SkMask.h" |
+#include "SkRRect.h" |
class SkBlurMask { |
public: |
@@ -34,6 +35,11 @@ public: |
SkIPoint *margin = NULL, |
SkMask::CreateMode createMode = |
SkMask::kComputeBoundsAndRenderImage_CreateMode); |
+ static bool BlurRRect(SkScalar sigma, SkMask *dst, const SkRRect &src, |
+ Style style, |
+ SkIPoint *margin = NULL, |
+ SkMask::CreateMode createMode = |
+ SkMask::kComputeBoundsAndRenderImage_CreateMode); |
static bool BoxBlur(SkMask* dst, const SkMask& src, |
SkScalar sigma, Style style, Quality quality, |
SkIPoint* margin = NULL); |
@@ -44,23 +50,6 @@ public: |
Style style, |
SkIPoint* margin = NULL); |
- SK_ATTR_DEPRECATED("use sigma version") |
- static bool BlurRect(SkMask *dst, const SkRect &src, |
- SkScalar radius, Style style, |
- SkIPoint *margin = NULL, |
- SkMask::CreateMode createMode = |
- SkMask::kComputeBoundsAndRenderImage_CreateMode); |
- |
- SK_ATTR_DEPRECATED("use sigma version") |
- static bool Blur(SkMask* dst, const SkMask& src, |
- SkScalar radius, Style style, Quality quality, |
- SkIPoint* margin = NULL); |
- |
- SK_ATTR_DEPRECATED("use sigma version") |
- static bool BlurGroundTruth(SkMask* dst, const SkMask& src, |
- SkScalar radius, Style style, |
- SkIPoint* margin = NULL); |
- |
static SkScalar ConvertRadiusToSigma(SkScalar radius); |
/* Helper functions for analytic rectangle blurs */ |