TGUI  1.6.1
Loading...
Searching...
No Matches
tgui::BackendFontFactory Class Referenceabstract

Base class for the font factory that is responsible for creating a font object specific to the font backend. More...

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

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

Public Member Functions

virtual ~BackendFontFactory ()=default
 Virtual destructor.
 
virtual std::shared_ptr< BackendFontcreateFont ()=0
 Creates a new empty font object.
 

Detailed Description

Base class for the font factory that is responsible for creating a font object specific to the font backend.

Member Function Documentation

◆ createFont()

virtual std::shared_ptr< BackendFont > tgui::BackendFontFactory::createFont ( )
nodiscardpure virtual

Creates a new empty font object.

Returns
Shared pointer to a new font object

Implemented in tgui::BackendFontFactoryImpl< FontType >.


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