14 #include <boost/utility/string_ref.hpp>
15 #include <glm/glm.hpp>
86 GlyphQuad(glm::vec2 ptBottomLeft, glm::vec2 tcBottomLeft,
87 glm::vec2 ptTopRight, glm::vec2 tcTopRight)
88 : m_ptBottomLeft(ptBottomLeft)
89 , m_tcBottomLeft(tcBottomLeft)
90 , m_ptTopRight(ptTopRight)
91 , m_tcTopRight(tcTopRight)
121 glm::vec2 m_ptBottomLeft;
122 glm::vec2 m_tcBottomLeft;
123 glm::vec2 m_ptTopRight;
124 glm::vec2 m_tcTopRight;
206 std::pair<GlyphQuad, bool>
GetSingleGlyph(
unsigned int codepoint,
const glm::vec2 &ptReference,
223 std::vector<GlyphQuad>
LayoutLine(boost::string_ref text,
const glm::vec2 &ptReference,
233 detail::FontImpl *m_pImpl;
235 explicit Font(detail::FontImpl *pImpl);