TICKIT_RECT_INIT_SIZED(3)
π TICKIT_RECT_INIT_SIZED π
okay bestie, so this is a tickit manual page β third section, library functions, the whole vibe β and it's literally just about initialising a rectangle struct. that's it. that's the page. but it's iconic and we're gonna treat it with respect. β¨
πΈ NAME πΈ
tickit_rect_init_sized, tickit_rect_init_bounded β initialise a rectangle struct π
π¦ SYNOPSIS π¦
#include <tickit.h>
void tickit_rect_init_sized(TickitRect *rect, int top, int left,
int lines, int cols);
void tickit_rect_init_bounded(TickitRect *rect, int top, int left,
int bottom, int right);
and don't forget to Link with -ltickit or none of this is happening, no cap. π
π DESCRIPTION π
β¨ tickit_rect_init_sized() β¨
so this one initialises a TickitRect structure so it holds the given top left corner plus the size. and yes, it is equivalent to just initialising the four fields one by one yourself β like, same energy, same result. it's just sitting in the API "for completeness." that's the whole reason it exists. it said "i'm here for the plot." π«Ά
β¨ tickit_rect_init_bounded() β¨
and this one initialises a TickitRect structure so it holds the given top left and bottom right bounds. two corners, one rectangle, slay. π
β RETURN VALUE β
Neither function returns a value. they're void. they just do the thing and dip. main character behaviour honestly. π
π§ SEE ALSO π§
and that's the whole page, bestie β stay hydrated, initialise your rects, and iykyk. ππ
this was TICKIT_RECT_INIT_SIZED(3) from the Library Functions Manual β mwah, bye! πβ¨π
π¦ 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