1TICKIT_RENDERBUFFER_GOTO(3)Library Functions ManualTICKIT_RENDERBUFFER_GOTO(3)
2
3
4

NAME

6       tickit_renderbuffer_goto, tickit_renderbuffer_ungoto - set or clear the
7       virtual cursor position
8

SYNOPSIS

10       #include <tickit.h>
11
12       void tickit_renderbuffer_goto(TickitRenderBuffer *rb, int line, int col);
13       void tickit_renderbuffer_ungoto(TickitRenderBuffer *rb);
14
15       Link with -ltickit.
16

DESCRIPTION

18       tickit_renderbuffer_goto() sets the  virtual  cursor  position  to  the
19       given  line  and  column. This does not have to be within the bounds of
20       either the buffer's extent, nor the clipping region.  If  it  is  moved
21       outside  of  the  clipping region, then no drawing operations will take
22       effect, but the position will still be updated by these  operations  to
23       check when it moves into the area of effect once more. This position is
24       affected by the translation offset given by  tickit_renderbuffer_trans‐
25       late().
26
27       tickit_renderbuffer_ungoto()  clears the virtual cursor position. After
28       this call, the position is no longer defined, and  the  cursor-relative
29       output functions will not operate.
30

RETURN VALUE

32       These functions return no value.
33

SEE ALSO

35       tickit_renderbuffer_new(3),       tickit_renderbuffer_get_cursorpos(3),
36       tickit_renderbuffer_skip(3),  tickit_renderbuffer_text(3),  tickit_ren‐
37       derbuffer_erase(3), tickit_renderbuffer(7), tickit(7)
38
39
40
41                                                   TICKIT_RENDERBUFFER_GOTO(3)
Impressum