TGUI  0.10-beta
tgui::BackendFontFactoryImpl< FontType > Class Template Reference

Class that creates font objects of a given type. More...

#include <TGUI/Backend/Font/BackendFontFactory.hpp>

Inheritance diagram for tgui::BackendFontFactoryImpl< FontType >:
tgui::BackendFontFactory

Public Member Functions

std::shared_ptr< BackendFontcreateFont () override
 Creates a new empty font object. More...
 
- Public Member Functions inherited from tgui::BackendFontFactory
virtual ~BackendFontFactory ()=default
 Virtual destructor.
 
virtual std::shared_ptr< BackendFontcreateFont ()=0
 Creates a new empty font object. More...
 

Detailed Description

template<typename FontType>
class tgui::BackendFontFactoryImpl< FontType >

Class that creates font objects of a given type.

Member Function Documentation

◆ createFont()

template<typename FontType >
std::shared_ptr< BackendFont > tgui::BackendFontFactoryImpl< FontType >::createFont ( )
inlineoverridevirtual

Creates a new empty font object.

Returns
Shared pointer to a new font object

Implements tgui::BackendFontFactory.


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