Index: include/effects/SkDropShadowImageFilter.h |
diff --git a/include/effects/SkDropShadowImageFilter.h b/include/effects/SkDropShadowImageFilter.h |
index bf4425e925f30f2784798cc38454d5740d731b06..964a5763d37e54d70c8b65fd0350378b72c9a90b 100644 |
--- a/include/effects/SkDropShadowImageFilter.h |
+++ b/include/effects/SkDropShadowImageFilter.h |
@@ -20,9 +20,11 @@ |
static const int kShadowModeCount = kLast_ShadowMode+1; |
- static SkImageFilter* Create(SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, |
- SkColor color, ShadowMode shadowMode, SkImageFilter* input = NULL, |
- const CropRect* cropRect = NULL) { |
+ static SkDropShadowImageFilter* Create(SkScalar dx, SkScalar dy, |
+ SkScalar sigmaX, SkScalar sigmaY, SkColor color, |
+ ShadowMode shadowMode, |
+ SkImageFilter* input = NULL, |
+ const CropRect* cropRect = NULL) { |
return new SkDropShadowImageFilter(dx, dy, sigmaX, sigmaY, color, shadowMode, input, |
cropRect); |
} |
@@ -32,18 +34,16 @@ |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkDropShadowImageFilter) |
protected: |
+ SkDropShadowImageFilter(SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, SkColor, |
+ ShadowMode shadowMode, SkImageFilter* input, const CropRect* cropRect); |
void flatten(SkWriteBuffer&) const override; |
- bool onFilterImage(Proxy*, const SkBitmap& source, const Context&, SkBitmap* result, |
- SkIPoint* loc) const override; |
- bool onFilterBounds(const SkIRect& src, const SkMatrix&, SkIRect* dst) const override; |
+ bool onFilterImage(Proxy*, const SkBitmap& source, const Context&, SkBitmap* result, SkIPoint* loc) const override; |
+ virtual bool onFilterBounds(const SkIRect& src, const SkMatrix&, |
+ SkIRect* dst) const override; |
private: |
- SkDropShadowImageFilter(SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, SkColor, |
- ShadowMode shadowMode, SkImageFilter* input, const CropRect* cropRect); |
- |
SkScalar fDx, fDy, fSigmaX, fSigmaY; |
SkColor fColor; |
ShadowMode fShadowMode; |
- |
typedef SkImageFilter INHERITED; |
}; |