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

Scratch storage must not overlap its other arrays, the path or pixels. More...

#include <path.h>

Data Fields

rmgui_draw_vertex_t * vertices
size_t vertex_capacity
rmgui_draw_vertex_t * geometry
size_t geometry_capacity
rmgui_draw_crossing_t * crossings
size_t crossing_capacity

Detailed Description

Scratch storage must not overlap its other arrays, the path or pixels.

No heap allocation occurs. Scratch is mutable and must not alias the path, destination, stream storage, or itself. Each capacity is independently caller selected; exhaustion refuses before destination pixels change.

Field Documentation

◆ vertices

rmgui_draw_vertex_t* rmgui_path_scratch_t::vertices

◆ vertex_capacity

size_t rmgui_path_scratch_t::vertex_capacity

◆ geometry

rmgui_draw_vertex_t* rmgui_path_scratch_t::geometry

◆ geometry_capacity

size_t rmgui_path_scratch_t::geometry_capacity

◆ crossings

rmgui_draw_crossing_t* rmgui_path_scratch_t::crossings

◆ crossing_capacity

size_t rmgui_path_scratch_t::crossing_capacity

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