Index: gm/cubicpaths.cpp |
diff --git a/gm/cubicpaths.cpp b/gm/cubicpaths.cpp |
index 413c51757e916c34c99ee1bddf03b1a74d7802bb..819dac25dc24115fa95f7316f5f4dc931f12c9ac 100644 |
--- a/gm/cubicpaths.cpp |
+++ b/gm/cubicpaths.cpp |
@@ -413,6 +413,19 @@ private: |
typedef skiagm::GM INHERITED; |
}; |
+DEF_SIMPLE_GM(bug5099, canvas, 50, 50) { |
+ SkPaint p; |
+ p.setColor(SK_ColorRED); |
+ p.setAntiAlias(true); |
+ p.setStyle(SkPaint::kStroke_Style); |
+ p.setStrokeWidth(10); |
+ |
+ SkPath path; |
+ path.moveTo(6, 27); |
+ path.cubicTo(31.5f, 1.5f, 3.5f, 4.5f, 29, 29); |
+ canvas->drawPath(path, p); |
+} |
+ |
////////////////////////////////////////////////////////////////////////////// |
DEF_GM( return new CubicPathGM; ) |