tickit_rectset_new - Man Page
create or destroy a rectangle set
Synopsis
#include <tickit.h> TickitRectSet *tickit_rectset_new(void); void tickit_rectset_destroy(TickitRectSet *trs);
Link with -ltickit.
Description
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.
See Also
tickit_rectset_add(3), tickit_rectset_subtract(3), tickit_rectset_rects(3), tickit_rectset_get_rects(3), tickit_rectset(7), tickit(7)
Referenced By
tickit_rectset(7), tickit_rectset_add(3), tickit_rectset_clear(3), tickit_rectset_contains(3), tickit_rectset_intersects(3), tickit_rectset_rects(3), tickit_rectset_subtract(3), tickit_rectset_translate(3).
The man page tickit_rectset_destroy(3) is an alias of tickit_rectset_new(3).