Find the intersection of two rectangles
int PtRectIntersect( PhRect_t *rect1,
PhRect_t const *rect2 );
This function finds the intersection of two rectangles. If rectangles rect1 and rect2 intersect, this function sets rect1 to that intersection.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |