tickit_renderbuffer_skip_to3
Create skip regions
Part of tickit_renderbuffer_skip(3).
Usage
#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.
Overview
tickit_renderbuffer_skip() creates a skip region that starts at the current virtual cursor position, continuing on for cols cells. 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. Both of these functions will update the virtual cursor position.
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.
tickit_renderbuffer_skiprect() creates skip regions for every line in rect within the buffer.
Return value
These functions return nothing
Releases
Unchanged in 4 releases since Debian 10 (Buster).