logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

tickit_renderbuffer_translate - move the base of output functions

Description

tickit_renderbuffer_translate()   applies   a   translation   to   the   co-ordinate   system   used   by
       tickit_renderbuffer_goto(3) and the _at-suffixed absolute-position drawing  functions,  and  returned  by
       tickit_renderbuffer_get_cursorpos(3).

       To  undo  the  effects  of  any  of  this  functions,  it  should be used within nested pairs of calls to
       tickit_renderbuffer_save(3) and tickit_renderbuffer_restore(3). This function only affects the subsequent
       drawing  operations;   it   do   not   affect   existing   stored   content,   nor   the   behaviour   of
       tickit_renderbuffer_flush_to_term(3).

Name

       tickit_renderbuffer_translate - move the base of output functions

Return Value

       These functions return no value.

See Also

tickit_renderbuffer_new(3),           tickit_renderbuffer_clip(3),           tickit_renderbuffer_mask(3),
       tickit_renderbuffer(7), tickit(7)

                                                                                TICKIT_RENDERBUFFER_TRANSLATE(3)

Synopsis

#include<tickit.h>voidtickit_renderbuffer_translate(TickitRenderBuffer*rb,intdownward,intrightward);

       Link with -ltickit.

See Also