Ordered list of font family names to try, first match wins.
More...
#include <CoreTypes.hpp>
|
|
using | Vec = std::vector<std::string> |
|
using | value_type = std::string |
|
using | iterator = Vec::iterator |
|
using | const_iterator = Vec::const_iterator |
|
|
| FontStack (const char *s) |
|
| FontStack (std::string s) |
|
| FontStack (std::string_view s) |
|
| FontStack (std::initializer_list< std::string > init) |
|
| FontStack (const FontStack &o) noexcept |
|
| FontStack (FontStack &&o) noexcept |
|
FontStack & | operator= (const FontStack &o) noexcept |
|
FontStack & | operator= (FontStack &&o) noexcept |
|
bool | empty () const noexcept |
|
size_t | size () const noexcept |
|
bool | sharesStorageWith (const FontStack &o) const noexcept |
|
const Vec & | asVector () const noexcept |
|
const_iterator | begin () const noexcept |
|
const_iterator | end () const noexcept |
|
const_iterator | cbegin () const noexcept |
|
const_iterator | cend () const noexcept |
|
iterator | begin () |
|
iterator | end () |
|
const std::string & | operator[] (size_t i) const |
|
std::string & | operator[] (size_t i) |
|
const std::string & | front () const |
|
std::string & | front () |
|
const std::string & | back () const |
|
std::string & | back () |
|
void | push_back (const std::string &s) |
|
void | push_back (std::string &&s) |
|
template<typename... Args> |
| std::string & | emplace_back (Args &&...args) |
|
void | reserve (size_t n) |
|
void | clear () noexcept |
|
bool | operator== (const FontStack &o) const |
|
bool | operator!= (const FontStack &o) const |
Ordered list of font family names to try, first match wins.
Pointer-sized (8-byte) Copy-on-Write wrapper so inheriting font across the tree shares storage in O(1) with zero per-node string allocations.
- See also
- TextEngine::resolveFont(const FontStack&, FontHandle)
The documentation for this class was generated from the following file: