TICKIT_RECTSET_SUBTRACT(3)
π TICKIT_RECTSET_SUBTRACT(3) π
okay bestie, welcome to the Library Functions Manual section for tickit_rectset_subtract, a whole little function that lives in the tickit library and is here to help you carve a hole out of your rectangles π
β¨ NAME β¨
tickit_rectset_subtract β subtract a region from a rectangle set π¦
πΈ SYNOPSIS πΈ
#include <tickit.h>
void tickit_rectset_subtract(TickitRectSet *trs, const TickitRect *rect);
Link with -ltickit.
π DESCRIPTION π
so basically, tickit_rectset_subtract() does the thing where it makes absolutely sure that the regions stored inside your rectangle set do not include the area given by rect. like, that area? gone. not in the set anymore. periodt π
and the way it pulls this off? it might have to split one or more of the existing regions into smaller fragments βοΈ which means β heads up β it may result in more regions being stored than you started with. that's not a bug bestie, that's just the geometry of the situation. the vibes had to fragment. it's giving mitosis π§
π₯ RETURN VALUE π₯
tickit_rectset_subtract() returns no value. it's a void girlie. she does the work, she doesn't hand you a receipt π
π SEE ALSO π
ok that's the whole page bestie, no cap, every single detail accounted for π«Ά
and that's a wrap on TICKIT_RECTSET_SUBTRACT(3) from the <b>Library Functions Manual</b> β same title top and bottom, iconic symmetry, we love to see it β¨π
π¦ 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