7#ifndef MYGUI_FONT_DATA_H_
8#define MYGUI_FONT_DATA_H_
13#include <unordered_map>
47 float _advance = 0.0f,
48 float _bearingX = 0.0f,
49 float _bearingY = 0.0f,
74 size_t operator()(
const std::pair<Char, Char>& p)
const noexcept
77 if constexpr (
sizeof(size_t) == 4)
78 return p.first ^ (p.second + 0x9e3779b9u + (p.first << 6) + (p.first >> 2));
79 return (
static_cast<uint64_t
>(p.first) << 32) | p.second;
types::TRect< float > FloatRect
std::unordered_map< std::pair< Char, Char >, float, KerningPairHash > KerningMap
std::vector< GlyphInfo > VectorGlyphInfo
GlyphInfo(Char _codePoint=0U, float _width=0.0f, float _height=0.0f, float _advance=0.0f, float _bearingX=0.0f, float _bearingY=0.0f, const FloatRect &_uvRect=FloatRect())
size_t operator()(const std::pair< Char, Char > &p) const noexcept