aboutsummaryrefslogtreecommitdiffstats
path: root/include/effects/SkBlurDrawLooper.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/effects/SkBlurDrawLooper.h')
-rw-r--r--include/effects/SkBlurDrawLooper.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/effects/SkBlurDrawLooper.h b/include/effects/SkBlurDrawLooper.h
index 6f96ff6..e7af5c2 100644
--- a/include/effects/SkBlurDrawLooper.h
+++ b/include/effects/SkBlurDrawLooper.h
@@ -21,6 +21,7 @@
#include "SkColor.h"
class SkMaskFilter;
+class SkColorFilter;
/** \class SkBlurDrawLooper
This class draws a shadow of the object (possibly offset), and then draws
@@ -35,9 +36,11 @@ public:
The blur layer's dx/dy/radius aren't affected by the canvas
transform.
*/
- kIgnoreTransform_BlurFlag = 0x01,
+ kIgnoreTransform_BlurFlag = 0x01,
+ kOverrideColor_BlurFlag = 0x02,
+ kHighQuality_BlurFlag = 0x04,
/** mask for all blur flags */
- kAll_BlurFlag = 0x01
+ kAll_BlurFlag = 0x07
};
SkBlurDrawLooper(SkScalar radius, SkScalar dx, SkScalar dy, SkColor color,
@@ -64,6 +67,7 @@ private:
SkCanvas* fCanvas;
SkPaint* fPaint;
SkMaskFilter* fBlur;
+ SkColorFilter* fColorFilter;
SkScalar fDx, fDy;
SkColor fBlurColor;
SkColor fSavedColor; // remember the original