UGDK  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ugdk::text::Font Class Reference

#include <ugdk/text/font.h>

Public Member Functions

 Font (const std::string &path, double size)
 
 ~Font ()
 
double size () const
 
double height () const
 
void HintString (const std::wstring &)
 Generates all glyphs in the given string and caches then for later use. More...
 
texture_font_t * freetype_font () const
 

Constructor & Destructor Documentation

ugdk::text::Font::Font ( const std::string &  path,
double  size 
)
ugdk::text::Font::~Font ( )

Member Function Documentation

texture_font_t* ugdk::text::Font::freetype_font ( ) const
inline
double ugdk::text::Font::height ( ) const
void ugdk::text::Font::HintString ( const std::wstring &  )

Generates all glyphs in the given string and caches then for later use.

double ugdk::text::Font::size ( ) const
inline

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