Rotate applies a rotation transform to the context. The parameter is specified in radians.
(rad float64)
| 57 | // Rotate applies a rotation transform to the context. |
| 58 | // The parameter is specified in radians. |
| 59 | func (tee teeCanvas) Rotate(rad float64) { |
| 60 | for _, c := range tee.cs { |
| 61 | c.Rotate(rad) |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | // Translate applies a translational transform to the context. |
| 66 | func (tee teeCanvas) Translate(pt Point) { |