Committed on behalf of Guanqun.Lu@gmail.com
Review URL: http://codereview.appspot.com/6301092
git-svn-id: http://skia.googlecode.com/svn/trunk@4273
2bbb7eff-a529-9590-31e7-
b0007b416f81
return;
}
- // we only handle hairlines here, else we let the SkDraw call our drawPath()
- if (width > 0) {
+ // we only handle hairlines and paints without path effects or mask filters,
+ // else we let the SkDraw call our drawPath()
+ if (width > 0 || paint.getPathEffect() || paint.getMaskFilter()) {
draw.drawPoints(mode, count, pts, paint, true);
return;
}