draw  0.0.0
Public Member Functions | Static Public Attributes | List of all members
draw::Font Class Referenceabstract

Set of characters of the same style and size. More...

#include <draw.h>

Public Member Functions

virtual ~Font ()=default
 
virtual const char * filePath () const =0
 return file path More...
 
virtual uint32_t letterSize () const =0
 return letter size More...
 

Static Public Attributes

static const uint32_t kMinLetterSize = 5
 minimum available letter size More...
 

Detailed Description

Set of characters of the same style and size.

To create an object of this type use Renderer::makeFont function.

Constructor & Destructor Documentation

virtual draw::Font::~Font ( )
virtualdefault

Member Function Documentation

virtual const char* draw::Font::filePath ( ) const
pure virtual

return file path

virtual uint32_t draw::Font::letterSize ( ) const
pure virtual

return letter size

Member Data Documentation

const uint32_t draw::Font::kMinLetterSize = 5
static

minimum available letter size


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