Rotate rotates the path by deg degrees. It modifies the path in-place.
(deg float64)
| 1352 | |
| 1353 | // Rotate rotates the path by deg degrees. It modifies the path in-place. |
| 1354 | func (p *Path) Rotate(deg float64) *Path { |
| 1355 | return p.Transform(Identity.Rotate(deg)) |
| 1356 | } |
| 1357 | |
| 1358 | // TransformFunc transforms the path by the given function: (x,y)=>(x,y). It modifies the path in-place. |
| 1359 | func (p *Path) TransformFunc(f func(float64, float64) (float64, float64)) *Path { |