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_setpen - change the stored rendering pen

Description

tickit_renderbuffer_setpen() changes the attributes of the stored pen in the buffer to those in the given
       TickitPen()  instance,  removing any that are not present in pen. The instance passed in the pen argument
       is not stored by the render buffer, nor is it modified by it.

       If there is a stored pen in the previous stack level, then the attributes in that pen will be merged into
       the current one, before the passed one is applied. In effect, the actual pen used by drawing functions is
       merged from the pen argument passed to tickit_renderbuffer_setpen(), and the combined stored pen from the
       previous stack level (which was itself merged from the pen argument and the stored pen of the stack level
       below that, and so on).

Name

       tickit_renderbuffer_setpen - change the stored rendering pen

Return Value

       This function returns nothing.

See Also

tickit_renderbuffer_new(3),           tickit_renderbuffer_text(3),           tickit_renderbuffer_save(3),
       tickit_renderbuffer(7), tickit_pen(7), tickit(7)

                                                                                   TICKIT_RENDERBUFFER_SETPEN(3)

Synopsis

#include<tickit.h>voidtickit_renderbuffer_setpen(TickitRenderBuffer*rb,constTickitPen*pen);

       Link with -ltickit.

See Also