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