func (d *DemoData) FreeData(ctx *nanovgo.Context) { for _, img := range d.Images { ctx.DeleteImage(img) } }