tickit_renderbuffer_reset - Man Page

revert a render buffer back to initial state

Synopsis

#include <tickit.h>

void tickit_renderbuffer_reset(TickitRenderBuffer *rb);

Link with -ltickit.

Description

tickit_renderbuffer_reset() resets the render buffer back to its initial state. The pending content is erased, and all the cells are set back to the skipped state. The virtual cursor position is unset, the translation offset set back to zero, the clipping region set to the entire buffer and the pen removed if set. Also the saved state stack is cleared.

Any memory allocated for the storage of strings by the tickit_renderbuffer_text family of functions is also released by this function.

Return Value

This function returns no value.

See Also

tickit_renderbuffer_new(3), tickit_renderbuffer_save(3), tickit_renderbuffer_restore(3), tickit_renderbuffer(7), tickit(7)

Referenced By

tickit_renderbuffer(7), tickit_renderbuffer_blit(3), tickit_renderbuffer_flush_to_term(3), tickit_renderbuffer_get_cursorpos(3), tickit_renderbuffer_new(3), tickit_renderbuffer_save(3), tickit_renderbuffer_text(3).