* Check if a rectangle is empty. * @param r Rectangle to check. * @return True if and only if the rectangle doesn't define space. */
| 20 | * @return True if and only if the rectangle doesn't define space. |
| 21 | */ |
| 22 | inline bool IsEmptyRect(const Rect &r) |
| 23 | { |
| 24 | return (r.left | r.top | r.right | r.bottom) == 0; |
| 25 | } |
| 26 | |
| 27 | Rect BoundingRect(const Rect &r1, const Rect &r2); |
| 28 |
no outgoing calls
no test coverage detected