TICKIT_RECT(7)
okay so bestie, this is TICKIT_RECT(7) from the Miscellaneous Information Manual, and we're diving into TickitRect β the utility structure that's literally just a rectangle. no cap. π
β¨
πΈ NAME πΈ
TickitRect β a utility structure representing a rectangular region. that's the name, that's the vibe, iconic. π
π¦ SYNOPSIS π¦
#include <tickit.h>
typedef struct {
int top;
int left;
int lines;
int cols;
} TickitRect;
π DESCRIPTION π
okay so a TickitRect structure represents a single non-empty rectangular region of the screen. like, it's not empty, bestie, it's got content. β¨
it stores the position of the top left corner of the region, and its size in lines and columns. so you got top, left, lines, and cols β the whole squad is assembled. π
π FUNCTIONS π
A new TickitRect structure can be initialised using the tickit_rect_init_sized(3) and tickit_rect_init_bounded(3) functions. fresh out the box, fr fr. π«Ά
Its bottom right corner can be obtained using tickit_rect_bottom(3) and tickit_rect_right(3). where does it end? these functions know. π₯
Interactions between rectangles can be tested using the predicate functions tickit_rect_contains(3) and tickit_rect_intersects(3). do they overlap? does one contain the other? the drama is real, and we're here for it. π
New rectangles can be created from existing ones using tickit_rect_intersect(3) to form the intersection, tickit_rect_add(3) to form the union sum, and tickit_rect_subtract(3). math but make it cute. π
and that's the whole page, bestie. this was TICKIT_RECT(7) from the Miscellaneous Information Manual β that's the footer, periodt. the date is MIA, but we're still slaying. π
β¨
π¦ 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