Fix reverse path so that it has a separate starting point

This commit is contained in:
Taco de Wolff 2017-05-21 23:32:33 +02:00
parent 4976a25b5e
commit 62799869c6

View file

@ -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 {