1TICKIT_RENDERBUFFER_RESET(3)Library Functions ManualTICKIT_RENDERBUFFER_RESET(3)
2
3
4
6 tickit_renderbuffer_reset - revert a render buffer back to initial
7 state
8
10 #include <tickit.h>
11
12 void tickit_renderbuffer_reset(TickitRenderBuffer *rb);
13
14 Link with -ltickit.
15
17 tickit_renderbuffer_reset() resets the render buffer back to its ini‐
18 tial state. The pending content is erased, and all the cells are set
19 back to the skipped state. The virtual cursor position is unset, the
20 translation offset set back to zero, the clipping region set to the
21 entire buffer and the pen removed if set. Also the saved state stack is
22 cleared.
23
24 Any memory allocated for the storage of strings by the tickit_render‐
25 buffer_text family of functions is also released by this function.
26
28 This function returns no value.
29
31 tickit_renderbuffer_new(3), tickit_renderbuffer_save(3), tickit_render‐
32 buffer_restore(3), tickit_renderbuffer(7), tickit(7)
33
34
35
36 TICKIT_RENDERBUFFER_RESET(3)