Index: src/effects/SkBlurMask.h |
diff --git a/src/effects/SkBlurMask.h b/src/effects/SkBlurMask.h |
index 39adb96f9a077970895ae6176ecc4e7202e0e50a..71f60d91faabf5ab6642803f49660ca180119bd7 100644 |
--- a/src/effects/SkBlurMask.h |
+++ b/src/effects/SkBlurMask.h |
@@ -39,7 +39,10 @@ public: |
static bool BlurGroundTruth(SkScalar sigma, SkMask* dst, const SkMask& src, SkBlurStyle, |
SkIPoint* margin = NULL); |
+ // If radius > 0, return the corresponding sigma, else return 0 |
static SkScalar ConvertRadiusToSigma(SkScalar radius); |
+ // If sigma > 0.5, return the corresponding radius, else return 0 |
+ static SkScalar ConvertSigmaToRadius(SkScalar sigma); |
/* Helper functions for analytic rectangle blurs */ |