1TICKIT_RENDERBUFFER_NEW(3) Library Functions Manual TICKIT_RENDERBUFFER_NEW(3)
2
3
4

NAME

6       tickit_renderbuffer_new - create a new render buffer instance
7

SYNOPSIS

9       #include <tickit.h>
10
11       TickitRenderBuffer *tickit_renderbuffer_new(int lines, int cols);
12
13       Link with -ltickit.
14

DESCRIPTION

16       tickit_renderbuffer_new()  creates a new TickitRenderBuffer instance of
17       the given size. Once constructed, the size is fixed. Initially it has a
18       clipping region covering the entire area, a zero translation offset, no
19       applied masks, no stored pen and no virtual cursor position. It can  be
20       reset  back  to  this  state  at  any  time  by  calling tickit_render‐
21       buffer_reset(3).
22
23       The reference count of a newly-constructed render buffer instance  will
24       be  one.  This  can  be incremented or decremented using tickit_render‐
25       buffer_ref(3)  and  tickit_renderbuffer_unref(3).  When  its  reference
26       count reaches zero it is destroyed.
27

RETURN VALUE

29       If  successful,  tickit_renderbuffer_new() returns a pointer to the new
30       instance.
31

SEE ALSO

33       tickit_renderbuffer_text(3),  tickit_renderbuffer_blit(3),  tickit_ren‐
34       derbuffer_flush_to_term(3), tickit_renderbuffer(7), tickit(7)
35
36
37
38                                                    TICKIT_RENDERBUFFER_NEW(3)
Impressum