Cumulia Illustrator Rendering Engine v1.1.0
A Rendering engine for industrial CAD/CAE model and optimized for greatest performance
 
Loading...
Searching...
No Matches
cil::Font Class Reference

#include <font.h>

Public Member Functions

 Font (const int size, const std::string &family, const std::string &filename)
 
 ~Font ()
 
std::shared_ptr< GlyphgetGlyph (wchar_t character)
 
int size () const
 
std::string family () const
 
int lineSpacing ()
 
std::shared_ptr< Vector2itextExtent (const std::wstring &text)
 

Constructor & Destructor Documentation

◆ Font()

cil::Font::Font ( const int size,
const std::string & family,
const std::string & filename )

◆ ~Font()

cil::Font::~Font ( )

Member Function Documentation

◆ family()

std::string cil::Font::family ( ) const

◆ getGlyph()

std::shared_ptr< Glyph > cil::Font::getGlyph ( wchar_t character)

◆ lineSpacing()

int cil::Font::lineSpacing ( )

◆ size()

int cil::Font::size ( ) const

◆ textExtent()

std::shared_ptr< Vector2i > cil::Font::textExtent ( const std::wstring & text)