|
RMGui 0.15.0
C11 retained-mode UI library: layout kernel, style schema, widget painters, fonts, software framebuffer
|
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 |
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.
| int rmgui_corner_radii_t::top_left |
| int rmgui_corner_radii_t::top_right |
| int rmgui_corner_radii_t::bottom_right |
| int rmgui_corner_radii_t::bottom_left |