Fix reverse path so that it has a separate starting point
This commit is contained in:
parent
4976a25b5e
commit
62799869c6
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue