1TICKIT_RECT_INTERSECTS(3) Library Functions Manual TICKIT_RECT_INTERSECTS(3)
2
3
4
6 tickit_rect_intersects - test if two rectangles intersect
7
9 #include <tickit.h>
10
11 bool tickit_rect_intersects(const TickitRect *a, const TickitRect *b);
12
13 Link with -ltickit.
14
16 tickit_rect_intersects() tests whether the two given rectangles inter‐
17 sect at all. It returns true if there is a non-empty rectangular region
18 in common covered by both rectangles. tickit_rect_intersect(3) can be
19 used to obtain this intersection as well as performing the intersection
20 test itself.
21
23 tickit_rect_contains() returns a boolean value.
24
26 tickit_rect_init_sized(3), tickit_rect_init_bounded(3),
27 tickit_rect_contains(3), tickit_rect_intersect(3), tickit_rect(7),
28 tickit(7)
29
30
31
32 TICKIT_RECT_INTERSECTS(3)