HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
v1::draw_attributes Struct Reference

Public Member Functions

constexpr draw_attributes (draw_attributes const &) noexcept=default
 
constexpr draw_attributes (draw_attributes &&) noexcept=default
 
constexpr draw_attributesoperator= (draw_attributes const &) noexcept=default
 
constexpr draw_attributesoperator= (draw_attributes &&) noexcept=default
 
template<draw_attribute... Args>
constexpr draw_attributes (Args const &...args) noexcept
 
constexpr void add () noexcept
 
template<draw_attribute T>
constexpr void add (T const &attribute) noexcept
 
template<draw_attribute First, draw_attribute Second, draw_attribute... Rest>
constexpr void add (First const &first, Second const &second, Rest const &...rest) noexcept
 

Data Fields

unsigned char num_colors = 0
 
unsigned char num_line_caps = 0
 
quad_color fill_color = {}
 
quad_color line_color = {}
 
float line_width = 0.0f
 
hi::border_side border_side = hi::border_side::on
 
hi::corner_radii corner_radius = {}
 
aarectanglei clipping_rectangle = aarectanglei::large()
 
line_end_cap begin_line_cap = line_end_cap::flat
 
line_end_cap end_line_cap = line_end_cap::flat
 

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