diff --git a/draw2dimg/drawer.go b/draw2dimg/drawer.go index a2a8b25..7e06b4c 100644 --- a/draw2dimg/drawer.go +++ b/draw2dimg/drawer.go @@ -31,7 +31,7 @@ func NewDrawer(img *image.RGBA) *Drawer { } func (d *Drawer) Matrix() *draw2d.Matrix { - return d.Matrix() + return &d.matrix } func (d *Drawer) Fill(path *draw2d.Path, style draw2d.FillStyle) {