TICKIT_RECT_CONTAINS(3)

πŸ’– TICKIT_RECT_CONTAINS πŸ’–

okay bestie, welcome to the tickit manual, section 3 (that's the library-functions girlies, iykyk). this one's about rectangles and whether one of them is fully, completely, no-crumbs-left swallowed up by another. containment ✨


✨ NAME ✨

tickit_rect_contains β€” test if one rectangle entirely contains another 🫢


🌸 SYNOPSIS 🌸

#include <tickit.h>

bool tickit_rect_contains(const TickitRect *large, const TickitRect *small);

Link with -ltickit.


πŸ’… DESCRIPTION πŸ’…

tickit_rect_contains() does exactly what it says on the tin, no cap: it tests whether the rectangle given by large entirely contains the rectangle given by small. πŸ’–

like. the big one. the small one. is the small one fully inside the big one? that's the whole vibe check. entirely, okay β€” not "mostly", not "they overlap a lil bit", entirely. 🌸


πŸ¦‹ RETURN VALUE πŸ¦‹

tickit_rect_contains() returns a boolean value. that's it. that's the tea. true or false, main character energy, no in-between πŸ‘‘


πŸ‘‘ SEE ALSO πŸ‘‘


not me being obsessed with a boolean function 😭 go read the rest of the rectangle lore, it's giving completionist πŸ’œ

and that's a wrap, bestie πŸŽ€ this page lives in the Library Functions Manual, and it's filed under TICKIT_RECT_CONTAINS(3) β€” same name up top, same name at the bottom, symmetrical queen πŸ’…βœ¨