P-E-R-R-Y
Utilitaires, contrats et vendors du moteur, en une seule doc
Loading...
Searching...
No Matches
SfmlFont Class Reference

Sfml Font class - owns the loaded font. SfmlText only references it (sf::Text itself already takes a const sf::Font& natively). More...

#include <SfmlFont.hpp>

Inheritance diagram for SfmlFont:
Collaboration diagram for SfmlFont:

Public Member Functions

 SfmlFont (std::string path)
 ~SfmlFont ()=default
bool isReady () const override
 notice if the font is ready
const sf::Font & handle () const
Public Member Functions inherited from graphic::IFont
virtual ~IFont ()=default

Detailed Description

Sfml Font class - owns the loaded font. SfmlText only references it (sf::Text itself already takes a const sf::Font& natively).

Constructor & Destructor Documentation

◆ SfmlFont()

SfmlFont::SfmlFont ( std::string path)
inline

◆ ~SfmlFont()

SfmlFont::~SfmlFont ( )
default

Member Function Documentation

◆ handle()

const sf::Font & SfmlFont::handle ( ) const
inline

◆ isReady()

bool SfmlFont::isReady ( ) const
inlineoverridevirtual

notice if the font is ready

Returns
bool

Implements graphic::IFont.


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