** Merges rect b into rect a. Rect a changes, b does not. */
| 89 | ** Merges rect b into rect a. Rect a changes, b does not. |
| 90 | */ |
| 91 | void msMergeRect(rectObj *a, rectObj *b) |
| 92 | { |
| 93 | a->minx = MS_MIN(a->minx, b->minx); |
| 94 | a->maxx = MS_MAX(a->maxx, b->maxx); |
| 95 | a->miny = MS_MIN(a->miny, b->miny); |
| 96 | a->maxy = MS_MAX(a->maxy, b->maxy); |
| 97 | } |
| 98 | |
| 99 | int msPointInRect(pointObj *p, rectObj *rect) |
| 100 | { |
no outgoing calls
no test coverage detected