| 48 | } |
| 49 | |
| 50 | void PiuRectangleApplyMargins(PiuRectangle r0, PiuRectangle r1, PiuMargins margins) |
| 51 | { |
| 52 | PiuCoordinate dl, dt, dr, db; |
| 53 | dl = margins->left; |
| 54 | dt = margins->top; |
| 55 | dr = margins->right; |
| 56 | db = margins->bottom; |
| 57 | PiuRectangleSet(r0, r1->x + dl, r1->y + dt, r1->width - dl - dr, r1->height - dt - db); |
| 58 | } |
| 59 | |
| 60 | PiuBoolean PiuRectangleContains(PiuRectangle r0, PiuRectangle r1) |
| 61 | { |
nothing calls this directly
no test coverage detected