| Index: gm/arcto.cpp
|
| diff --git a/gm/arcto.cpp b/gm/arcto.cpp
|
| index 67387cb27df060f129a4c4cbbafe1b9a6f73b620..cd26eef35a21f5b450f7b1b0c3a3b7af0db05dcf 100644
|
| --- a/gm/arcto.cpp
|
| +++ b/gm/arcto.cpp
|
| @@ -205,24 +205,3 @@
|
|
|
| canvas->drawPath(p, paint);
|
| }
|
| -
|
| -#include "SkDashPathEffect.h"
|
| -#include "SkPathMeasure.h"
|
| -
|
| -DEF_SIMPLE_GM(bug583299, canvas, 300, 300) {
|
| - const char* d="M60,60 A50,50 0 0 0 160,60 A50,50 0 0 0 60,60z";
|
| - SkPaint p;
|
| - p.setStyle(SkPaint::kStroke_Style);
|
| - p.setStrokeWidth(100);
|
| - p.setAntiAlias(true);
|
| - p.setColor(0xFF008200);
|
| - p.setStrokeCap(SkPaint::kSquare_Cap);
|
| - SkPath path;
|
| - SkParsePath::FromSVGString(d, &path);
|
| - SkPathMeasure meas(path, false);
|
| - SkScalar length = meas.getLength();
|
| - SkScalar intervals[] = {0, length };
|
| - int intervalCount = (int) SK_ARRAY_COUNT(intervals);
|
| - p.setPathEffect(SkDashPathEffect::Create(intervals, intervalCount, 0))->unref();
|
| - canvas->drawPath(path, p);
|
| -}
|
|
|