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

Unified Diff: include/effects/SkBlurMaskFilter.h

Issue 308953002: remove SK_SUPPORT_LEGACY_BLURMASKFILTER_STYLE (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 7 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
« no previous file with comments | « gyp/skia_for_android_framework_defines.gypi ('k') | src/effects/SkBlurMaskFilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/effects/SkBlurMaskFilter.h
diff --git a/include/effects/SkBlurMaskFilter.h b/include/effects/SkBlurMaskFilter.h
index 5fcf463e982e6072c64f2dd308527e10055b1bfc..356475ed4c47af3fdad513ebd2fb86e0a3db3a77 100644
--- a/include/effects/SkBlurMaskFilter.h
+++ b/include/effects/SkBlurMaskFilter.h
@@ -15,17 +15,6 @@
class SK_API SkBlurMaskFilter {
public:
-#ifdef SK_SUPPORT_LEGACY_BLURMASKFILTER_STYLE
- enum BlurStyle {
- kNormal_BlurStyle = kNormal_SkBlurStyle, //!< fuzzy inside and outside
- kSolid_BlurStyle = kSolid_SkBlurStyle, //!< solid inside, fuzzy outside
- kOuter_BlurStyle = kOuter_SkBlurStyle, //!< nothing inside, fuzzy outside
- kInner_BlurStyle = kInner_SkBlurStyle, //!< fuzzy inside, nothing outside
-
- kBlurStyleCount
- };
-#endif
-
/**
* If radius > 0, return the corresponding sigma, else return 0. Use this to convert from the
* (legacy) idea of specify the blur "radius" to the standard notion of specifying its sigma.
@@ -42,21 +31,6 @@ public:
kAll_BlurFlag = 0x03
};
-#ifdef SK_SUPPORT_LEGACY_BLURMASKFILTER_STYLE
- SK_ATTR_DEPRECATED("use sigma version")
- static SkMaskFilter* Create(SkScalar radius, BlurStyle style,
- uint32_t flags = kNone_BlurFlag);
-
- /** Create a blur maskfilter.
- @param style The BlurStyle to use
- @param sigma Standard deviation of the Gaussian blur to apply. Must be > 0.
- @param flags Flags to use - defaults to none
- @return The new blur maskfilter
- */
- static SkMaskFilter* Create(BlurStyle style, SkScalar sigma,
- uint32_t flags = kNone_BlurFlag);
-#endif
-
/** Create a blur maskfilter.
* @param style The SkBlurStyle to use
* @param sigma Standard deviation of the Gaussian blur to apply. Must be > 0.
« no previous file with comments | « gyp/skia_for_android_framework_defines.gypi ('k') | src/effects/SkBlurMaskFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698