(matrix Matrix)
| 19 | } |
| 20 | |
| 21 | func (p Path) Transform(matrix Matrix) Path { |
| 22 | var result Path |
| 23 | for _, v := range p { |
| 24 | result = append(result, matrix.MulPosition(v)) |
| 25 | } |
| 26 | return result |
| 27 | } |
| 28 | |
| 29 | func (p Path) Chop(step float64) Path { |
| 30 | var result Path |
no test coverage detected