ApplyTo applies the action to the given vg.Canvas.
(c vg.Canvas)
| 428 | |
| 429 | // ApplyTo applies the action to the given vg.Canvas. |
| 430 | func (a *DrawImage) ApplyTo(c vg.Canvas) { |
| 431 | c.DrawImage(a.Rectangle, a.Image) |
| 432 | } |
| 433 | |
| 434 | // Call returns the pseudo method call that generated the action. |
| 435 | func (a *DrawImage) Call() string { |