Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | List of all members
castor::Font::SFontImpl Struct Referenceabstract

Structure used to load glyphs on demand. More...

#include <Font.hpp>

Inheritance diagram for castor::Font::SFontImpl:
Inheritance graph
[legend]
Collaboration diagram for castor::Font::SFontImpl:
Collaboration graph
[legend]

Public Member Functions

virtual ~SFontImpl () noexcept=default
 
virtual void initialise ()=0
 Initialises the loader.
 
virtual void cleanup ()=0
 Cleans the loader up.
 
virtual Glyph loadGlyph (char32_t c)=0
 Loads wanted glyph.
 

Additional Inherited Members

- Protected Member Functions inherited from castor::NonMovable
 NonMovable ()=default
 Constructor.
 
 ~NonMovable () noexcept=default
 Destructor.
 

Detailed Description

Structure used to load glyphs on demand.

Remarks
PImpl to hide FreeType inclusions

Constructor & Destructor Documentation

◆ ~SFontImpl()

virtual castor::Font::SFontImpl::~SFontImpl ( )
virtualdefaultnoexcept

Member Function Documentation

◆ cleanup()

virtual void castor::Font::SFontImpl::cleanup ( )
pure virtual

Cleans the loader up.

◆ initialise()

virtual void castor::Font::SFontImpl::initialise ( )
pure virtual

Initialises the loader.

◆ loadGlyph()

virtual Glyph castor::Font::SFontImpl::loadGlyph ( char32_t c)
pure virtual

Loads wanted glyph.

Parameters
[in]cThe character.
Returns
The glyph.

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