tickit_rect_init_sized(3)

tickit_rect_init_sized3

Initialise a rectangle struct

Usage

#include <tickit.h>

void tickit_rect_init_sized(TickitRect *rect, int top, int left,
    int lines, int cols);
void tickit_rect_init_bounded(TickitRect *rect, int top, int left,
    int bottom, int right);

Link with -ltickit.

Overview

tickit_rect_init_sized() initialises a TickitRect structure to contain the given top left corner and size. It is equivalent to just initialising the four fields individually, but is included in the API for completeness.

tickit_rect_init_bounded() initialises a TickitRect structure to contain the given top left and bottom right bounds.

Return value

Neither function returns a 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.