Index: src/core/SkScan_Hairline.cpp |
diff --git a/src/core/SkScan_Hairline.cpp b/src/core/SkScan_Hairline.cpp |
index 52399c9d7844a6fb513653c0ca31bccfc4fbda4c..05c07dd0028eb6e46716e7382e5c129b74d22a66 100644 |
--- a/src/core/SkScan_Hairline.cpp |
+++ b/src/core/SkScan_Hairline.cpp |
@@ -471,6 +471,9 @@ void hair_path(const SkPath& path, const SkRasterClip& rclip, SkBlitter* blitter |
case SkPath::kClose_Verb: |
pts[0] = lastPt; |
pts[1] = firstPt; |
+ if (SkPaint::kButt_Cap != capStyle && prevVerb == SkPath::kMove_Verb) { |
reed1
2015/12/16 14:55:57
maybe a comment saying we know what we're doing, t
caryclark
2015/12/16 15:26:56
Done.
|
+ extend_pts<capStyle>(prevVerb, iter.peek(), pts, 2); |
+ } |
lineproc(pts, 2, clip, blitter); |
break; |
case SkPath::kDone_Verb: |