(x, y, w, h float64)
| 378 | } |
| 379 | |
| 380 | func RectFromSize(x, y, w, h float64) Rect { |
| 381 | return Rect{x, y, x + w, y + h} |
| 382 | } |
| 383 | |
| 384 | func RectFromPoints(ps ...Point) Rect { |
| 385 | if len(ps) == 0 { |
nothing calls this directly
no outgoing calls
no test coverage detected