tickit_penattr_name - Man Page

return the name of a pen attribute

Synopsis

#include <tickit.h>

const char * tickit_penattr_name(TickitPenAttr attr);
TickitPenAttr tickit_penattr_lookup(const char * name);

Link with -ltickit.

Description

tickit_penattr_name() returns the name of the given pen attribute. These names are the lowercase strings given in tickit_pen(7).

tickit_penattr_lookup() returns the attribute constant for a given name. If the name is not recognised then -1 is returned.

Return Value

tickit_penattr_name() returns a constant string pointer. tickit_penattr_lookup() returns an attribute constant or -1.

See Also

tickit_pen(7), tickit(7)

Referenced By

tickit_pen(7).

The man page tickit_penattr_lookup(3) is an alias of tickit_penattr_name(3).