#include <tickit.h> bool tickit_rect_intersects(const TickitRect *a, const TickitRect *b);
Link with -ltickit.
tickit_rect_intersects() tests whether the two given rectangles intersect at all. It returns true if there is a non-empty rectangular region in common covered by both rectangles. tickit_rect_intersect(3) can be used to obtain this intersection as well as performing the intersection test itself.
tickit_rect_contains() returns a boolean value.
tickit_rect_init_sized(3), tickit_rect_init_bounded(3), tickit_rect_contains(3), tickit_rect_intersect(3), tickit_rect(7), tickit(7)
tickit_rect(7), tickit_rect_contains(3), tickit_rect_intersect(3).