Scale scales the path by (sx,sy). It modifies the path in-place.
(sx, sy float64)
| 1347 | |
| 1348 | // Scale scales the path by (sx,sy). It modifies the path in-place. |
| 1349 | func (p *Path) Scale(sx, sy float64) *Path { |
| 1350 | return p.Transform(Identity.Scale(sx, sy)) |
| 1351 | } |
| 1352 | |
| 1353 | // Rotate rotates the path by deg degrees. It modifies the path in-place. |
| 1354 | func (p *Path) Rotate(deg float64) *Path { |