BARE2D
BARE2D::CharacterGlyph Class Reference

Represents a render glyph, modified for fonts! More...

#include <Font.hpp>

+ Collaboration diagram for BARE2D::CharacterGlyph:

Data Fields

char character
 
glm::vec4 uvRect
 
glm::vec2 size
 

Detailed Description

Represents a render glyph, modified for fonts!

Definition at line 18 of file Font.hpp.

Field Documentation

◆ character

char BARE2D::CharacterGlyph::character

Definition at line 20 of file Font.hpp.

Referenced by BARE2D::Font::init().

◆ size

glm::vec2 BARE2D::CharacterGlyph::size

Definition at line 22 of file Font.hpp.

Referenced by BARE2D::FontRenderer::draw(), BARE2D::Font::init(), and BARE2D::Font::measure().

◆ uvRect

glm::vec4 BARE2D::CharacterGlyph::uvRect

Definition at line 21 of file Font.hpp.

Referenced by BARE2D::FontRenderer::draw(), and BARE2D::Font::init().


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