TICKIT_RENDERBUFFER_SKIPRECT(3)

✨ TICKIT_RENDERBUFFER_SKIP ✨

okay bestie, welcome to the TICKIT_RENDERBUFFER_SKIP(3) page, it's giving "Library Functions Manual" and it's lowkey iconic πŸ’…


🌸 NAME 🌸

tickit_renderbuffer_skip, tickit_renderbuffer_skip_at, tickit_renderbuffer_skip_to β€” create skip regions

(and yes, tickit_renderbuffer_skiprect is in the mix too, iykyk 🫢)


πŸŽ€ SYNOPSIS πŸŽ€

#include <tickit.h>

void tickit_renderbuffer_skip(TickitRenderBuffer *rb,
         int cols);
void tickit_renderbuffer_skip_to(TickitRenderBuffer *rb,
         int col);
void tickit_renderbuffer_skip_at(TickitRenderBuffer *rb,
         int line, int col, int cols);

void tickit_renderbuffer_skiprect(TickitRenderBuffer *rb,
         TickitRect *rect);

Link with -ltickit.


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so tickit_renderbuffer_skip() creates a skip region that starts at the current virtual cursor position, continuing on for cols cells. it's literally "skip this many cells from wherever we're at rn" ✨

tickit_renderbuffer_skip_to() creates a skip region that continues until the given column if the cursor was before that, or has no effect if it was after. so if you're already past col, it just vibes and does nothing 🫠 both of these functions will update the virtual cursor position, periodt.

tickit_renderbuffer_skip_at() creates a skip region at the given position and length. this function does not use or update the virtual cursor position. it's the independent queen πŸ‘‘

tickit_renderbuffer_skiprect() creates skip regions for every line in rect within the buffer. whole rectangle? skipped. no cap. πŸŽ€


πŸ’– RETURN VALUE πŸ’–

These functions return nothing. like, literally nothing. void. empty. they said "my job here is done" and dipped 😭✨


🌈 SEE ALSO 🌈


and that's the whole page bestie!! this was TICKIT_RENDERBUFFER_SKIP(3) from the Library Functions Manual, stay slay, drink water, and may your skip regions always land exactly where you meant them to πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«ΆπŸ‘‘