neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::i_glyph_text_factory Class Referenceabstract

#include <glyph_text.hpp>

Public Member Functions

virtual ~i_glyph_text_factory ()=default
 
virtual glyph_text create_glyph_text ()=0
 
virtual glyph_text create_glyph_text (font const &aFont)=0
 
virtual glyph_text to_glyph_text (i_graphics_context const &aContext, char32_t const *aUtf32Begin, char32_t const *aUtf32End, i_font_selector const &aFontSelector, bool aAlignBaselines=true)=0
 
virtual glyph_text to_glyph_text (i_graphics_context const &aContext, char const *aUtf8Begin, char const *aUtf8End, i_font_selector const &aFontSelector, bool aAlignBaselines=true)=0
 
glyph_text to_glyph_text (i_graphics_context const &aContext, char32_t const *aUtf32Begin, char32_t const *aUtf32End, std::function< font(std::size_t)> aFontSelector, bool aAlignBaselines=true)
 
glyph_text to_glyph_text (i_graphics_context const &aContext, std::u32string_view const &aString, std::function< font(std::size_t)> aFontSelector, bool aAlignBaselines=true)
 
glyph_text to_glyph_text (i_graphics_context const &aContext, char const *aUtf8Begin, char const *aUtf8End, std::function< font(std::size_t)> aFontSelector, bool aAlignBaselines=true)
 
glyph_text to_glyph_text (i_graphics_context const &aContext, std::string_view const &aString, std::function< font(std::size_t)> aFontSelector, bool aAlignBaselines=true)
 
glyph_text to_glyph_text (i_graphics_context const &aContext, i_string const &aString, std::function< font(std::size_t)> aFontSelector, bool aAlignBaselines=true)
 

Detailed Description

Definition at line 554 of file glyph_text.hpp.

Constructor & Destructor Documentation

◆ ~i_glyph_text_factory()

virtual neogfx::i_glyph_text_factory::~i_glyph_text_factory ( )
virtualdefault

Member Function Documentation

◆ create_glyph_text() [1/2]

virtual glyph_text neogfx::i_glyph_text_factory::create_glyph_text ( )
pure virtual

◆ create_glyph_text() [2/2]

virtual glyph_text neogfx::i_glyph_text_factory::create_glyph_text ( font const &  aFont)
pure virtual

◆ to_glyph_text() [1/7]

virtual glyph_text neogfx::i_glyph_text_factory::to_glyph_text ( i_graphics_context const &  aContext,
char const *  aUtf8Begin,
char const *  aUtf8End,
i_font_selector const &  aFontSelector,
bool  aAlignBaselines = true 
)
pure virtual

◆ to_glyph_text() [2/7]

glyph_text neogfx::i_glyph_text_factory::to_glyph_text ( i_graphics_context const &  aContext,
char const *  aUtf8Begin,
char const *  aUtf8End,
std::function< font(std::size_t)>  aFontSelector,
bool  aAlignBaselines = true 
)
inline

Definition at line 572 of file glyph_text.hpp.

◆ to_glyph_text() [3/7]

virtual glyph_text neogfx::i_glyph_text_factory::to_glyph_text ( i_graphics_context const &  aContext,
char32_t const *  aUtf32Begin,
char32_t const *  aUtf32End,
i_font_selector const &  aFontSelector,
bool  aAlignBaselines = true 
)
pure virtual

◆ to_glyph_text() [4/7]

glyph_text neogfx::i_glyph_text_factory::to_glyph_text ( i_graphics_context const &  aContext,
char32_t const *  aUtf32Begin,
char32_t const *  aUtf32End,
std::function< font(std::size_t)>  aFontSelector,
bool  aAlignBaselines = true 
)
inline

Definition at line 564 of file glyph_text.hpp.

◆ to_glyph_text() [5/7]

glyph_text neogfx::i_glyph_text_factory::to_glyph_text ( i_graphics_context const &  aContext,
i_string const &  aString,
std::function< font(std::size_t)>  aFontSelector,
bool  aAlignBaselines = true 
)
inline

Definition at line 580 of file glyph_text.hpp.

◆ to_glyph_text() [6/7]

glyph_text neogfx::i_glyph_text_factory::to_glyph_text ( i_graphics_context const &  aContext,
std::string_view const &  aString,
std::function< font(std::size_t)>  aFontSelector,
bool  aAlignBaselines = true 
)
inline

Definition at line 576 of file glyph_text.hpp.

◆ to_glyph_text() [7/7]

glyph_text neogfx::i_glyph_text_factory::to_glyph_text ( i_graphics_context const &  aContext,
std::u32string_view const &  aString,
std::function< font(std::size_t)>  aFontSelector,
bool  aAlignBaselines = true 
)
inline

Definition at line 568 of file glyph_text.hpp.


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