tickit_pen_equiv_attr3
Test if two pens have an equivalent attribute value
Usage
#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.
Overview
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.
Releases
Unchanged in 4 releases since Debian 10 (Buster).