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

Positive Q16 width and miter limit (ratio >= 1). More...

#include <path.h>

Data Fields

int32_t width_q16
int32_t miter_limit_q16
rmgui_path_cap_t cap
rmgui_path_join_t join
const int32_t * dashes_q16
size_t dash_count
int32_t dash_offset_q16

Detailed Description

Positive Q16 width and miter limit (ratio >= 1).

Dashes are nonnegative Q16 lengths; zero count or an all-zero sequence means solid. Zero painted lengths produce round/square cap dots (square follows the path tangent); butt caps paint nothing. An odd count repeats the sequence twice. Offset is signed Q16 distance, wrapping the period; phase resets at MOVE. The complete period (twice the sum for odd counts) must fit int64_t.

Field Documentation

◆ width_q16

int32_t rmgui_path_stroke_t::width_q16

◆ miter_limit_q16

int32_t rmgui_path_stroke_t::miter_limit_q16

◆ cap

rmgui_path_cap_t rmgui_path_stroke_t::cap

◆ join

rmgui_path_join_t rmgui_path_stroke_t::join

◆ dashes_q16

const int32_t* rmgui_path_stroke_t::dashes_q16

◆ dash_count

size_t rmgui_path_stroke_t::dash_count

◆ dash_offset_q16

int32_t rmgui_path_stroke_t::dash_offset_q16

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