1TICKIT_RENDERBUFFER_SETPEN(3L)ibrary Functions ManuaTlICKIT_RENDERBUFFER_SETPEN(3)
2
3
4

NAME

6       tickit_renderbuffer_setpen - change the stored rendering pen
7

SYNOPSIS

9       #include <tickit.h>
10
11       void tickit_renderbuffer_setpen(TickitRenderBuffer *rb, const TickitPen *pen);
12
13       Link with -ltickit.
14

DESCRIPTION

16       tickit_renderbuffer_setpen()  changes  the attributes of the stored pen
17       in the buffer to those in the given TickitPen() instance, removing  any
18       that are not present in pen. The instance passed in the pen argument is
19       not stored by the render buffer, nor is it modified by it.
20
21       If there is a  stored  pen  in  the  previous  stack  level,  then  the
22       attributes  in that pen will be merged into the current one, before the
23       passed one is applied. In effect, the actual pen used by drawing  func‐
24       tions  is  merged  from  the  pen  argument  passed  to  tickit_render‐
25       buffer_setpen(), and the combined stored pen from  the  previous  stack
26       level (which was itself merged from the pen argument and the stored pen
27       of the stack level below that, and so on).
28

RETURN VALUE

30       This function returns nothing.
31

SEE ALSO

33       tickit_renderbuffer_new(3), tickit_renderbuffer_text(3), tickit_render‐
34       buffer_save(3), tickit_renderbuffer(7), tickit_pen(7), tickit(7)
35
36
37
38                                                 TICKIT_RENDERBUFFER_SETPEN(3)
Impressum