RMGui 0.15.0
C11 retained-mode UI library: layout kernel, style schema, widget painters, fonts, software framebuffer
Loading...
Searching...
No Matches
rmgui_corner_radii_t Struct Reference

Corner radii in device pixels, clockwise from the top left. More...

#include <rounded.h>

Data Fields

int top_left
int top_right
int bottom_right
int bottom_left

Detailed Description

Corner radii in device pixels, clockwise from the top left.

Painters clamp each radius independently to [0, floor(min(rect.w, rect.h) / 2)], so adjacent radii cannot sum to more than the length of their shared side.

Field Documentation

◆ top_left

int rmgui_corner_radii_t::top_left

◆ top_right

int rmgui_corner_radii_t::top_right

◆ bottom_right

int rmgui_corner_radii_t::bottom_right

◆ bottom_left

int rmgui_corner_radii_t::bottom_left

The documentation for this struct was generated from the following file: