jGL
|
#include <glFont.h>
Public Member Functions | |
glFont (uint8_t w) | |
~glFont () | |
![]() | |
Font (uint8_t w) | |
virtual | ~Font () |
const glm::ivec2 | getBitmapSize () const |
std::array< glm::vec4, 6 > | getGlyphVertices (float x, float y, float scale, unsigned char c) |
glm::vec4 | getGlyphOffset (unsigned char c) |
glm::ivec2 | getGlyphSize (unsigned char c) |
float | spacing (float scale) |
void | bind (unsigned int b) |
Additional Inherited Members | |
![]() | |
uint8_t | width |
std::map< unsigned char, Glyph > | glyphs |
std::map< unsigned char, glm::vec4 > | glyphOffset |
std::shared_ptr< Texture > | fontBitmap |
std::vector< std::byte > | bitmapPixels |
uint16_t | bw |
uint16_t | bh |
|
inline |
|
inline |