---
name: "tickit_rect_translate"
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_translate"
---

# tickit\_rect\_translate(3)

move the area of a rectangle

## NAME

tickit\_rect\_translate - move the area of a rectangle

## SYNOPSIS

```
#include <tickit.h>

void tickit_rect_translate(TickitRect *rect, int downward, int rightward);
```

Link with *-ltickit*.

## DESCRIPTION

**tickit\_rect\_translate**() adds to both the *top* and *left* members of the given rectangle.

## RETURN VALUE

**tickit\_rect\_translate**() returns nothing.

## 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)
