jGL
Loading...
Searching...
No Matches
Public Member Functions | List of all members
jGL::GL::glFont Class Reference

#include <glFont.h>

Inheritance diagram for jGL::GL::glFont:
Inheritance graph
[legend]
Collaboration diagram for jGL::GL::glFont:
Collaboration graph
[legend]

Public Member Functions

 glFont (uint8_t w)
 
 ~glFont ()
 
- Public Member Functions inherited from jGL::Font
 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

- Protected Attributes inherited from jGL::Font
uint8_t width
 
std::map< unsigned char, Glyphglyphs
 
std::map< unsigned char, glm::vec4 > glyphOffset
 
std::shared_ptr< TexturefontBitmap
 
std::vector< std::byte > bitmapPixels
 
uint16_t bw
 
uint16_t bh
 

Constructor & Destructor Documentation

◆ glFont()

jGL::GL::glFont::glFont ( uint8_t  w)
inline

◆ ~glFont()

jGL::GL::glFont::~glFont ( )
inline

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