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 (extent2i size) noexcept
 
constexpr box_shape (override_t, box_constraints const &constraints, aarectanglei const &rectangle, int baseline_adjustment) noexcept
 
constexpr box_shape (box_constraints const &constraints, aarectanglei rectangle, int baseline_adjustment) noexcept
 
constexpr box_shape (override_t, box_constraints const &constraints, aarectangle const &rectangle, int baseline_adjustment) noexcept
 
constexpr box_shape (box_constraints const &constraints, aarectangle const &rectangle, int baseline_adjustment) noexcept
 
constexpr int x () const noexcept
 
constexpr int y () const noexcept
 
constexpr extent2i size () const noexcept
 
constexpr int width () const noexcept
 
constexpr int height () const noexcept
 

Data Fields

aarectanglei rectangle
 
std::optional< int > baseline = {}
 
std::optional< int > 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: