Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PhRectIntersect()
Find the intersection of two rectangles
Synopsis:
int PhRectIntersect( PhRect_t *rect1,
PhRect_t const *rect2 );
Library:
ph
Description:
This function finds the intersection of two rectangles. If rectangles rect1 and rect2 intersect, this function sets rect1 to that intersection.
Returns:
- =/= 0
- There was an intersection.
- 0
- There was no intersection.
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)