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

Public Types

using vector_type = std::vector<attributed_glyph>
 
using iterator = vector_type::iterator
 
using const_iterator = vector_type::const_iterator
 
using value_type = vector_type::value_type
 

Public Member Functions

 attributed_glyph_line (iterator first, iterator last) noexcept
 This constructor will move the data from first to last.
 
bool shouldWrap (float maximum_width) noexcept
 
attributed_glyph_line wrap (float maximum_width) noexcept
 
aarect boundingBox () const noexcept
 
bool contains (f32x4 coordinate) const noexcept
 
const_iterator find (f32x4 coordinate) const noexcept
 
size_t size () const noexcept
 
iterator begin () noexcept
 
const_iterator begin () const noexcept
 
const_iterator cbegin () const noexcept
 
iterator end () noexcept
 
const_iterator end () const noexcept
 
const_iterator cend () const noexcept
 
void positionGlyphs (f32x4 position) noexcept
 

Data Fields

vector_type line
 
float width
 
float ascender
 
float descender
 
float lineGap
 
float capHeight
 
float xHeight
 
float y
 

Constructor & Destructor Documentation

◆ attributed_glyph_line()

tt::attributed_glyph_line::attributed_glyph_line ( iterator first,
iterator last )
inlinenoexcept

This constructor will move the data from first to last.


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