1TICKIT_PEN_EQUIV_ATTR(3) Library Functions Manual TICKIT_PEN_EQUIV_ATTR(3)
2
3
4
6 tickit_pen_equiv_attr - test if two pens have an equivalent attribute
7 value
8
10 #include <tickit.h>
11
12 bool tickit_pen_equiv_attr(TickitPen *a, TickitPen *b,
13 TickitPenAttr attr);
14 bool tickit_pen_equiv(TickitPen *a, TickitPen *b)
15
16 Link with -ltickit.
17
19 tickit_pen_equiv_attr() tests whether two given pen instances have
20 equivalent values for given attribute. It returns true if neither pen
21 has the attribute defined, or if both have it defined to the same
22 value.
23
24 tickit_pen_equiv() tests whether two given pen instances have equiva‐
25 lent values for all attributes.
26
28 tickit_pen_equiv_attr() and tickit_pen_equiv() return a boolean.
29
31 tickit_pen_new(3), tickit_pen_set_bool_attr(3),
32 tickit_pen_set_int_attr(3), tickit_pen_set_colour_attr(3),
33 tickit_pen_clear_attr(3), tickit_pen(7), tickit(7)
34
35
36
37 TICKIT_PEN_EQUIV_ATTR(3)