tickit_rectset_subtract - Man Page

subtract a region from a rectangle set

Synopsis

#include <tickit.h>

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

Link with -ltickit.

Description

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.

See Also

tickit_rectset_new(3), tickit_rectset(7), tickit_rect(7), tickit(7)

Referenced By

tickit_rectset(7), tickit_rectset_new(3).