From 62799869c6c672b68693d0aa28e4908f6c72a628 Mon Sep 17 00:00:00 2001 From: Taco de Wolff Date: Sun, 21 May 2017 23:32:33 +0200 Subject: [PATCH] Fix reverse path so that it has a separate starting point --- raster/stroke.go | 1 + 1 file changed, 1 insertion(+) diff --git a/raster/stroke.go b/raster/stroke.go index 1601bac..84a62f9 100644 --- a/raster/stroke.go +++ b/raster/stroke.go @@ -445,6 +445,7 @@ func (k *stroker) stroke(q Path) { } else { pivot := q.firstPoint() k.jr.Join(k.p, &k.r, k.u, pivot, k.anorm, pivot.Sub(fixed.Point26_6{k.r[1], k.r[2]})) + k.p.Start(fixed.Point26_6{k.r[len(k.r)-3], k.r[len(k.r)-2]}) // reverse path is now separate } addPathReversed(k.p, k.r) if !closed {