TICKIT_RECT_BOTTOM(3)
π TICKIT_RECT_BOTTOM(3) π
okay bestie, welcome to the Library Functions Manual corner of the group chat β¨ we're talking about tickit_rect_bottom and tickit_rect_right, and no cap they are the smallest little cuties with the biggest job: telling you where a rectangle ends. π
β¨ NAME β¨
tickit_rect_bottom, tickit_rect_right β return the bottom right corner of a rectangle π¦
like. that's it. that's the whole vibe. they find the corner. periodt. π
πΈ SYNOPSIS πΈ
#include <tickit.h>
int tickit_rect_bottom(const TickitRect *rect);
int tickit_rect_right(const TickitRect *rect);
Link with -ltickit.
not me reminding you to actually link the library π do it or the linker will simply not know her. fr fr.
π DESCRIPTION π
tickit_rect_bottom() returns the lower extent of the rectangle β and here's the little plot twist, bestie: it gives you the first line past the bottom. so it's not the last line inside, it's the one after. the way that works is honestly iconic if you think about it too long π
tickit_rect_right() does the same thing but sideways β it returns the righthand extent of the rectangle, which is the first column past the righthand edge. again: past the edge, not on it. π«Ά
These functions may be static inline.
so lowkey you might not even get a real symbol at link time, that's just how she is, main character energy β
π RETURN VALUE π
tickit_rect_bottom()returns a line number as an integer. πtickit_rect_right()returns a column number as an integer. π
integers. clean. simple. slay. β¨
π¦ SEE ALSO π¦
go read those next, bestie, it's giving β¨well-rounded educationβ¨ iykyk
and that's the whole page!! tysm for reading, you ate π this was TICKIT_RECT_BOTTOM(3) from the Library Functions Manual, and no date was given on this one so we're just gonna assume she's timeless π mwah, go write some rectangles πβ¨
π¦ 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