tickit_rectset_new(3)

tickit_rectset_new3

Create or destroy a rectangle set

Usage

#include <tickit.h>

TickitRectSet *tickit_rectset_new(void);
void tickit_rectset_destroy(TickitRectSet *trs);

Link with -ltickit.

Overview

tickit_rectset_new() creates a new TickitRectSet instance. It will be initially empty, containing no regions.

tickit_rectset_destroy() destroys the given instances and releases any resources controlled by it.

Return value

If successful, tickit_rectset_new() returns a pointer to the new instance. On failure, NULL is returned with errno set to indicate the failure. tickit_rectset_destroy() returns no value.

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.