TICKIT_RECTSET_INTERSECTS(3)

✨ NAME ✨

tickit_rectset_intersects β€” bestie, this is the little function that checks if some region overlaps with a rectangle set πŸ’–


🌸 SYNOPSIS 🌸

#include <tickit.h>

bool tickit_rectset_intersects(const TickitRectSet *trs, const TickitRect *rect);

Link with -ltickit.


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: you got a rectangle set, you got a rect, and you need to know β€” do they touch? do they share even a lil bit of space? πŸ‘€

tickit_rectset_intersects() tests whether the area given by rect intersects with one or more regions in the rectangle set. that's it. that's the whole vibe check πŸ’…


πŸŽ€ RETURN VALUE πŸŽ€

  • true-ish β€” the given area does intersect with one or more regions, slay ✨
  • false-ish β€” nope, it does not intersect with any of them, not even a pixel, tragic 😭

πŸ’œ SEE ALSO πŸ’œ


and that's the whole page, bestie!! this one came out of the Library Functions Manual, filed under TICKIT_REC..._INTERSECTS(3) β€” go forth and check your intersections, ily πŸ«ΆπŸ’–