tickit_renderbuffer_erase(3)

tickit_renderbuffer_erase3

Create erase regions

Usage

#include <tickit.h>

void tickit_renderbuffer_erase(TickitRenderBuffer *rb,
         int cols);
void tickit_renderbuffer_erase_to(TickitRenderBuffer *rb,
         int col);
void tickit_renderbuffer_erase_at(TickitRenderBuffer *rb,
         int line, int col, int cols);

Link with -ltickit.

Overview

tickit_renderbuffer_erase() creates a erase region that starts at the current virtual cursor position, continuing on for cols cells set to the current pen. tickit_renderbuffer_erase_to() creates a erase 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_erase_at() creates a erase region at the given position and length. This function does not use or update the virtual cursor position.

Return value

These functions return nothing

Releases

Unchanged in 4 releases since Debian 10 (Buster).

  1. 10–13

From libtickit-dev 0.4.3-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.