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

Public Member Functions

constexpr box_shape (box_shape const &) noexcept=default
 
constexpr box_shape (box_shape &&) noexcept=default
 
constexpr box_shapeoperator= (box_shape const &) noexcept=default
 
constexpr box_shapeoperator= (box_shape &&) noexcept=default
 
constexpr box_shape (extent2 size) noexcept
 
constexpr box_shape (std::in_place_t, box_constraints const &constraints, aarectangle const &rectangle, float baseline_adjustment) noexcept
 
constexpr box_shape (box_constraints const &constraints, aarectangle rectangle, float baseline_adjustment) noexcept
 
constexpr float x () const noexcept
 
constexpr float y () const noexcept
 
constexpr extent2 size () const noexcept
 
constexpr float width () const noexcept
 
constexpr float height () const noexcept
 

Data Fields

aarectangle rectangle
 
std::optional< float > baseline = {}
 
std::optional< float > centerline = {}
 

Friends

constexpr friend bool operator== (box_shape const &, box_shape const &) noexcept=default
 

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