tweak stroketext GM to actually test dashing
git-svn-id: http://skia.googlecode.com/svn/trunk@14850 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
4a867a6356
commit
7cb5e4797e
@ -56,7 +56,7 @@ static void draw_text_set(SkCanvas* canvas, const SkPaint& paint) {
|
||||
canvas->translate(200, 0);
|
||||
SkPaint p(paint);
|
||||
p.setPathEffect(SkDashPathEffect::Create(intervals, SK_ARRAY_COUNT(intervals), phase))->unref();
|
||||
draw_text_stroked(canvas, paint, 10);
|
||||
draw_text_stroked(canvas, p, 10);
|
||||
}
|
||||
|
||||
class StrokeTextGM : public skiagm::GM {
|
||||
|
Loading…
Reference in New Issue
Block a user