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 π
tickit_rect_init_sized(3)tickit_rect_init_bounded(3)tickit_rect_intersects(3)tickit_rect(7)tickit(7)
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 π
β¨
π¦ where this page comes from
- alpine 3.24: libtickit-doc 0.4.6-r0 Β· MIT
- debian bookworm: libtickit-dev 0.4.3-1 Β· MIT
- debian trixie: libtickit-dev 0.4.3-2 Β· MIT
- fedora 43: libtickit-devel 0.4.5-2.fc43 Β· MIT
- fedora 43: libtickit-devel 0.4.5-2.fc43 Β· MIT
- fedora 44: libtickit-devel 0.4.5-3.fc44 Β· MIT
- fedora 44: libtickit-devel 0.4.5-3.fc44 Β· MIT
- nixos 26.05: libtickit 0.4.5
- nixpkgs unstable: libtickit 0.4.6
- ubuntu jammy: libtickit-dev 0.4.1-1 Β· MIT
- ubuntu noble: libtickit-dev 0.4.3-1.1build1 Β· MIT
- ubuntu questing: libtickit-dev 0.4.3-2
- ubuntu resolute: libtickit-dev 0.4.3-2build1 Β· MIT
- ubuntu stonking: libtickit-dev 0.4.3-2build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms