Function

Phocutils_rotated_bounds

Declaration [src]

void
phoc_utils_rotated_bounds (
  wlr_box* dest,
  const wlr_box* box,
  float rotation
)

Description [src]

Stores the smallest box that can contain provided box after rotating it by specified rotation into *dest.

Parameters

dest

Type: wlr_box*

No description available.

The argument can be NULL.
The data is owned by the caller of the function.
box

Type: const wlr_box*

No description available.

The argument can be NULL.
The data is owned by the caller of the function.
rotation

Type: float

No description available.