tickit_rectset_add(3)

tickit_rectset_add3

Add an area to a rectangle set

Usage

#include <tickit.h>

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

Link with -ltickit.

Overview

tickit_rectset_add() ensures that the regions stored by the rectangle set includes the area given by rect. Since the rectangle set stores a set of non-overlapping regions, it may have to split the newly-added area into smaller pieces, to ensure the regions do not overlap. Since it merges neighbours where possible it can also result in fewer regions being stored.

Return value

tickit_rectset_add() returns no value.

Releases

4 releases since Debian 10 (Buster); the text changed 1 time.

  1. 10
  2. 11–13

From libtickit-dev 0.4.3-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.