---
name: "tickit_rect_right"
section: "3"
platform: "linux"
package: "libtickit-dev"
version: "0.4.3-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/tickit_rect_right"
---

# tickit\_rect\_right(3)

return the bottom right corner of a rectangle

## NAME

tickit\_rect\_bottom, tickit\_rect\_right - return the bottom right corner of a rectangle

## SYNOPSIS

```
#include <tickit.h>

int tickit_rect_bottom(const TickitRect *rect);
int tickit_rect_right(const TickitRect *rect);
```

Link with *-ltickit*.

## DESCRIPTION

**tickit\_rect\_bottom**() returns the lower extent of the rectangle; returning the first line past the bottom.

**tickit\_rect\_right**() returns the righthand extent of the rectangle; returning the first column past the righthand edge.

These functions may be `static inline`.

## RETURN VALUE

**tickit\_rect\_bottom**() returns a line number as an integer. **tickit\_rect\_right**() returns a column number as an integer.

## SEE ALSO

[**tickit\_rect\_init\_sized**(3)](/tickit_rect_init_sized/3.md), [**tickit\_rect\_init\_bounded**(3)](/tickit_rect_init_bounded/3.md), [**tickit\_rect**(7)](/tickit_rect/7.md), [**tickit**(7)](/tickit/7.md)
