diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-05-22 17:59:51 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-05-22 17:59:51 +0000 |
commit | 7cb5e4797ed7ecb200f90889687a72940efa6d98 (patch) | |
tree | c4b8406edac4b1ad1046df0738440769f0f2cc2e | |
parent | 4a867a6356e05a09186a16c1c8ffc3f2cafbbe59 (diff) |
tweak stroketext GM to actually test dashing
git-svn-id: http://skia.googlecode.com/svn/trunk@14850 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | gm/stroketext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/stroketext.cpp b/gm/stroketext.cpp index 80c63fdc37..4f57cf6c41 100644 --- a/gm/stroketext.cpp +++ b/gm/stroketext.cpp @@ -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 { |