This commit is contained in:
Laurent Le Goff 2015-04-30 16:30:50 +02:00
parent f2563306e4
commit f6e1ada0f2

View file

@ -31,7 +31,7 @@ func NewDrawer(img *image.RGBA) *Drawer {
} }
func (d *Drawer) Matrix() *draw2d.Matrix { func (d *Drawer) Matrix() *draw2d.Matrix {
return d.Matrix() return &d.matrix
} }
func (d *Drawer) Fill(path *draw2d.Path, style draw2d.FillStyle) { func (d *Drawer) Fill(path *draw2d.Path, style draw2d.FillStyle) {