tickit_pen_equiv_attr - Man Page

test if two pens have an equivalent attribute value

Synopsis

#include <tickit.h>

bool tickit_pen_equiv_attr(TickitPen *a, TickitPen *b,
    TickitPenAttr attr);
bool tickit_pen_equiv(TickitPen *a, TickitPen *b)

Link with -ltickit.

Description

tickit_pen_equiv_attr() tests whether two given pen instances have equivalent values for given attribute. It returns true if neither pen has the attribute defined, or if both have it defined to the same value.

tickit_pen_equiv() tests whether two given pen instances have equivalent values for all attributes.

Return Value

tickit_pen_equiv_attr() and tickit_pen_equiv() return a boolean.

See Also

tickit_pen_new(3), tickit_pen_set_bool_attr(3), tickit_pen_set_int_attr(3), tickit_pen_set_colour_attr(3), tickit_pen_clear_attr(3), tickit_pen(7), tickit(7)

Referenced By

tickit_pen(7).

The man page tickit_pen_equiv(3) is an alias of tickit_pen_equiv_attr(3).