1TICKIT_RENDERBUFFER_ERASE(3)Library Functions ManualTICKIT_RENDERBUFFER_ERASE(3)
2
3
4
6 tickit_renderbuffer_erase, tickit_renderbuffer_erase_to, tickit_render‐
7 buffer_erase_at - create erase regions
8
10 #include <tickit.h>
11
12 void tickit_renderbuffer_erase(TickitRenderBuffer *rb,
13 int cols);
14 void tickit_renderbuffer_erase_to(TickitRenderBuffer *rb,
15 int col);
16 void tickit_renderbuffer_erase_at(TickitRenderBuffer *rb,
17 int line, int col, int cols);
18
19 Link with -ltickit.
20
22 tickit_renderbuffer_erase() creates a erase region that starts at the
23 current virtual cursor position, continuing on for cols cells set to
24 the current pen. tickit_renderbuffer_erase_to() creates a erase region
25 that continues until the given column if the cursor was before that, or
26 has no effect if it was after. Both of these functions will update the
27 virtual cursor position.
28
29 tickit_renderbuffer_erase_at() creates a erase region at the given
30 position and length. This function does not use or update the virtual
31 cursor position.
32
34 These functions return nothing
35
37 tickit_renderbuffer_new(3), tickit_renderbuffer_blit(3), tickit_render‐
38 buffer_flush_to_term(3), tickit_renderbuffer(7), tickit(7)
39
40
41
42 TICKIT_RENDERBUFFER_ERASE(3)