TICKIT_RECTSET(7)
π TICKIT_RECTSET π
okay bestie, sit down, we're learning TickitRectSet today and it's from the Miscellaneous Information Manual (page TICKIT_RECTSET(7), if you're keeping receipts) π
β¨ NAME β¨
TickitRectSet β the lil container that stores a whole collection of rectangular areas π
πΈ SYNOPSIS πΈ
#include <tickit.h>
typedef struct TickitRectSet;
π¦ DESCRIPTION π¦
So a TickitRectSet instance is literally just a collection of rectangular areas, stored as non-overlapping regions β no cap, that's the whole vibe π
You get mutation operations that let you add areas or subtract them, and query operations that let you test for area containment, test for intersection, or iterate over all the stored regions π
π FUNCTIONS π
Fresh new TickitRectSet? You make one with tickit_rectset_new(3), and when you're done with it you destroy it with tickit_rectset_destroy(3). Cleanup is self-care, fr fr π§
π Adding and removing
- Want more rectangles? Add them with
tickit_rectset_add(3)β - Want fewer? Subtract them with
tickit_rectset_subtract(3)β - Want nothing at all? Empty the whole
TickitRectSetof regions entirely withtickit_rectset_clear(3)π§Ή - Want to shove the entire set of regions somewhere else in one go? Move them all uniformly with
tickit_rectset_translate(3)πΌ
π₯ Asking it questions
- Peep the stored regions with
tickit_rectset_rects(3)andtickit_rectset_get_rects(3)π - Wanna know if some area is entirely contained in the set?
tickit_rectset_contains(3)β - Or if it intersects at all, even a little?
tickit_rectset_intersects(3)π
not me writing a whole manpage and it's giving main character energy, but anyway, that's the entire API. every flag, every function, nothing skipped. periodt π
mwah π thanks for reading, this was Miscellaneous Information Manual realness, page TICKIT_RECTSET(7) β catch you in the next one, bestie π«Άβ¨π
π¦ 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