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

Unified Diff: include/effects/SkBlurDrawLooper.h

Issue 21835004: Blur refactoring (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Removed unneeded #includes Created 7 years, 4 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 | « include/core/SkPicture.h ('k') | include/effects/SkBlurMaskFilter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/effects/SkBlurDrawLooper.h
===================================================================
--- include/effects/SkBlurDrawLooper.h (revision 10932)
+++ include/effects/SkBlurDrawLooper.h (working copy)
@@ -35,6 +35,10 @@
kAll_BlurFlag = 0x07
};
+ SkBlurDrawLooper(SkColor color, SkScalar sigma, SkScalar dx, SkScalar dy,
+ uint32_t flags = kNone_BlurFlag);
+
+ // DEPRECATED - radius-based
SkBlurDrawLooper(SkScalar radius, SkScalar dx, SkScalar dy, SkColor color,
uint32_t flags = kNone_BlurFlag);
virtual ~SkBlurDrawLooper();
@@ -64,6 +68,8 @@
};
State fState;
+ void init(SkScalar sigma, SkScalar dx, SkScalar dy, SkColor color, uint32_t flags);
+
typedef SkDrawLooper INHERITED;
};
« no previous file with comments | « include/core/SkPicture.h ('k') | include/effects/SkBlurMaskFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698