tickit_pen_equiv_attr - test if two pens have an equivalent attribute value
Contents
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.
Name
tickit_pen_equiv_attr - test if two pens have an equivalent attribute value
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) TICKIT_PEN_EQUIV_ATTR(3)
Synopsis
#include<tickit.h>booltickit_pen_equiv_attr(TickitPen*a,TickitPen*b,TickitPenAttrattr);booltickit_pen_equiv(TickitPen*a,TickitPen*b)
Link with -ltickit.
