Translate applies a translational transform to the context.
(pt Point)
| 64 | |
| 65 | // Translate applies a translational transform to the context. |
| 66 | func (tee teeCanvas) Translate(pt Point) { |
| 67 | for _, c := range tee.cs { |
| 68 | c.Translate(pt) |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | // Scale applies a scaling transform to the context. |
| 73 | func (tee teeCanvas) Scale(x, y float64) { |