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

Unified Diff: samplecode/SampleStrokePath.cpp

Issue 21835004: Blur refactoring (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: hide constant 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
Index: samplecode/SampleStrokePath.cpp
===================================================================
--- samplecode/SampleStrokePath.cpp (revision 10522)
+++ samplecode/SampleStrokePath.cpp (working copy)
@@ -171,7 +171,8 @@
SkScalar radius = 4;
for (int y = 0; y < 10; y++) {
if (x) {
- mf = SkBlurMaskFilter::Create(radius, gStyle[x - 1]);
+ mf = SkBlurMaskFilter::Create(radius, gStyle[x - 1],
+ SkBlurMaskFilter::kNone_BlurFlag);
paint.setMaskFilter(mf)->unref();
}
canvas->drawText("Title Bar", 9, x*SkIntToScalar(100), y*SkIntToScalar(30), paint);

Powered by Google App Engine
This is Rietveld 408576698