tickit_rectset_subtract(3)

tickit_rectset_subtract3

Subtract a region from a rectangle set

Usage

#include <tickit.h>

void tickit_rectset_subtract(TickitRectSet *trs, const TickitRect *rect);

Link with -ltickit.

Overview

tickit_rectset_subtract() ensures that the regions stored by the rectangle set do not include the area given by rect. To do this, it may have to split one or more of the existing regions into smaller fragments, and so may result in more regions being stored.

Return value

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