TGUI  1.3-dev
Loading...
Searching...
No Matches
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

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

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 >
TGUI_NODISCARD 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: