tickit_pen_equiv(3)

tickit_pen_equiv3

Test if two pens have an equivalent attribute value

Part of tickit_pen_equiv_attr(3).

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).

  1. 10–13

From libtickit-dev 0.4.3-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.