ADTF Display Toolbox
Loading...
Searching...
No Matches
cInstanceFont
Inheritance diagram for cInstanceFont:
[legend]

Public Member Functions

virtual std::string getFileName () const
 
virtual void setSize (unsigned int, unsigned int)
 NOP with DefaultFont since it only supports a single fixed sized font.
 
virtual osgText::Glyph * getGlyph (const osgText::FontResolution &fontRes, unsigned int charcode)
 
virtual osg::Vec2 getKerning (const osgText::FontResolution &, unsigned int, unsigned int, osgText::KerningType)
 
virtual bool hasVertical () const
 

Protected Member Functions

void constructGlyphs ()
 

Detailed Description

Definition at line 22 of file font.h.

Constructor & Destructor Documentation

◆ cInstanceFont()

cInstanceFont ( )
inline

Definition at line 25 of file font.h.

◆ ~cInstanceFont()

virtual ~cInstanceFont ( )
inlinevirtual

Definition at line 32 of file font.h.

Member Function Documentation

◆ constructGlyphs()

void constructGlyphs ( )
inlineprotected

Definition at line 102 of file font.h.

◆ getFileName()

virtual std::string getFileName ( ) const
inlinevirtual

Definition at line 36 of file font.h.

◆ getGlyph()

virtual osgText::Glyph * getGlyph ( const osgText::FontResolution & fontRes,
unsigned int charcode )
inlinevirtual

Definition at line 47 of file font.h.

◆ getKerning()

virtual osg::Vec2 getKerning ( const osgText::FontResolution & ,
unsigned int ,
unsigned int ,
osgText::KerningType  )
inlinevirtual

Definition at line 87 of file font.h.

◆ hasVertical()

virtual bool hasVertical ( ) const
inlinevirtual

Definition at line 96 of file font.h.

◆ setSize()

virtual void setSize ( unsigned int ,
unsigned int  )
inlinevirtual

NOP with DefaultFont since it only supports a single fixed sized font.

Definition at line 42 of file font.h.