()
| 138 | } |
| 139 | |
| 140 | func (r *RotatedRectangle) Valid() bool { |
| 141 | a, b := r.Sx, r.Sy |
| 142 | if a < b { |
| 143 | a, b = b, a |
| 144 | } |
| 145 | aspect := float64(a) / float64(b) |
| 146 | return aspect <= 5 |
| 147 | } |
| 148 | |
| 149 | func (r *RotatedRectangle) Rasterize() []Scanline { |
| 150 | w := r.Worker.W |
nothing calls this directly
no outgoing calls
no test coverage detected