| 149 | } |
| 150 | |
| 151 | bool Frame::isEmpty() const { |
| 152 | return x == 0 && y == 0 && width == 0 && height == 0; |
| 153 | } |
| 154 | |
| 155 | Frame Frame::withOffset(float offsetX, float offsetY) const { |
| 156 | return Frame(x + offsetX, y + offsetY, width, height); |
no outgoing calls