diff options
Diffstat (limited to 'svgwrite.go')
-rw-r--r-- | svgwrite.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svgwrite.go b/svgwrite.go index 04f6cb3..7e455fb 100644 --- a/svgwrite.go +++ b/svgwrite.go @@ -50,6 +50,8 @@ func (f *Fpdf) SVGBasicWrite(sb *SVGBasicType, scale float64) { newX, newY = val(4) f.CurveCubic(x, y, cx0, cy0, newX, newY, cx1, cy1, "D") x, y = newX, newY + case 'Z': + f.Line(x, y, originX, originY) default: f.SetErrorf("Unexpected path command '%c'", seg.Cmd) } |