#include <font.h>
◆ Font()
jGL::Font::Font |
( |
uint8_t |
w | ) |
|
◆ ~Font()
virtual jGL::Font::~Font |
( |
| ) |
|
|
inlinevirtual |
◆ bind()
void jGL::Font::bind |
( |
unsigned int |
b | ) |
|
|
inline |
◆ getBitmapSize()
const glm::ivec2 jGL::Font::getBitmapSize |
( |
| ) |
const |
|
inline |
◆ getGlyphOffset()
glm::vec4 jGL::Font::getGlyphOffset |
( |
unsigned char |
c | ) |
|
|
inline |
◆ getGlyphSize()
glm::ivec2 jGL::Font::getGlyphSize |
( |
unsigned char |
c | ) |
|
|
inline |
◆ getGlyphVertices()
std::array< glm::vec4, 6 > jGL::Font::getGlyphVertices |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
scale, |
|
|
unsigned char |
c |
|
) |
| |
◆ spacing()
float jGL::Font::spacing |
( |
float |
scale | ) |
|
|
inline |
◆ bh
◆ bitmapPixels
std::vector<std::byte> jGL::Font::bitmapPixels |
|
protected |
◆ bw
◆ fontBitmap
std::shared_ptr<Texture> jGL::Font::fontBitmap |
|
protected |
◆ glyphOffset
std::map<unsigned char, glm::vec4> jGL::Font::glyphOffset |
|
protected |
◆ glyphs
std::map<unsigned char, Glyph> jGL::Font::glyphs |
|
protected |
◆ width
The documentation for this class was generated from the following files: