Index: src/gpu/GrAARectRenderer.cpp |
diff --git a/src/gpu/GrAARectRenderer.cpp b/src/gpu/GrAARectRenderer.cpp |
index 761c63f2bf1d99d0a8245529d21182370661c12f..286e02ece8d73ec5fe168f1f2b7b8db231ffacca 100644 |
--- a/src/gpu/GrAARectRenderer.cpp |
+++ b/src/gpu/GrAARectRenderer.cpp |
@@ -763,8 +763,10 @@ void GrAARectRenderer::strokeAARect(GrGpu* gpu, |
devOutside.outset(rx, ry); |
bool miterStroke = true; |
robertphillips
2014/07/28 19:31:30
I think you comment might be better stated as:
//
|
+ // bevel or round hairline rects show the same as miter haireline rects. |
// small miter limit means right angles show bevel... |
- if (stroke.getJoin() != SkPaint::kMiter_Join || stroke.getMiter() < SK_ScalarSqrt2) { |
+ if ((width > 0) && (stroke.getJoin() != SkPaint::kMiter_Join || |
+ stroke.getMiter() < SK_ScalarSqrt2)) { |
miterStroke = false; |
} |