TICKIT_RECTSET_CLEAR(3)

✨ NAME ✨

tickit_rectset_clear β€” remove all regions from a rectangle set πŸ§ΉπŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

This one is from the Library Functions Manual, and honestly bestie it's a short one. Here's the whole vibe:

#include <tickit.h>

void tickit_rectset_clear(TickitRectSet *trs);

Link with -ltickit.


🌸 DESCRIPTION 🌸

okay so. tickit_rectset_clear() removes all regions stored by the rectangle set. every single one. gone. not a single region left, no cap. πŸ’€βœ¨

It takes one argument, the pointer to the rectangle set, TickitRectSet *trs, and it just clears that whole thing out. like hitting "select all" and then delete but for regions. iconic honestly. 🫢


πŸ’… RETURN VALUE πŸ’…

tickit_rectset_clear() returns no value. nope, nothing, not even a little status code. it's a void function, it does the thing and dips. πŸŽ€


πŸ¦‹ SEE ALSO πŸ¦‹


k that's the whole page bestie πŸ’– it lives in the Library Functions Manual and its official title is TICKIT_RECTSET_CLEAR(3) β€” go forth and clear those regions, mwah πŸ‘‘πŸŒ·