TranslatePoint translates m by the point p.
(p Point)
| 215 | |
| 216 | // TranslatePoint translates m by the point p. |
| 217 | func (m *Matrix) TranslatePoint(p Point) *Matrix { |
| 218 | return m.Translate(p.X, p.Y) |
| 219 | } |
| 220 | |
| 221 | // Scale scales m by x and y. |
| 222 | func (m *Matrix) Scale(x, y float32) *Matrix { |