utility 2026.1.9
A comprehensive C++ utilities library tailored for the development of modern desktop and extended reality (XR) applications.
Loading...
Searching...
No Matches
glyph.hpp
1/*
2** ETIB PROJECT, 2026
3** utility
4** File description:
5** glyph
6*/
7
8#pragma once
9
10#include <utility/math/vector.hpp>
11
12namespace utility::graphic
13{
57} // namespace utility::graphic
3D vector class inheriting from glm::vec3.
Definition vector.hpp:83
The Glyph struct represents a single character's visual representation in a font atlas.
Definition glyph.hpp:29
math::Vector2F uvMax
Maximum UV coordinates for the glyph in the font atlas.
Definition glyph.hpp:55
math::Vector2F size
Size of the glyph in pixels (width and height).
Definition glyph.hpp:33
math::Vector2F uvMin
Minimum UV coordinates for the glyph in the font atlas.
Definition glyph.hpp:50
math::Vector2F bearing
Bearing of the glyph, representing the offset from the baseline to the top-left corner of the glyph.
Definition glyph.hpp:39
float advance
Advance value, specifying the horizontal distance to advance the cursor after rendering the glyph.
Definition glyph.hpp:45