| 161 | {} |
| 162 | |
| 163 | Rect Element::GetBoxRect() const |
| 164 | { |
| 165 | if (!IsLaidOut()) |
| 166 | { |
| 167 | pmlog_error("Trying to access element rect before laid out"); |
| 168 | throw Except<Exception>(); |
| 169 | } |
| 170 | return { *boxPosition, { *boxDimensions.width, *boxDimensions.height } }; |
| 171 | } |
| 172 | |
| 173 | Rect Element::GetBackgroundRect() const |
| 174 | { |
nothing calls this directly
no outgoing calls
no test coverage detected