Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::FontData Class Reference
+ Inheritance diagram for inviwo::FontData:

Public Member Functions

 FontData (const FontSettings &s)
 
 FontData (const FontData &)=default
 
 FontData (FontData &&) noexcept=default
 
FontDataoperator= (const FontData &)=default
 
FontDataoperator= (FontData &&) noexcept=default
 
virtual const std::filesystem::path & getFontFace () const override
 
virtual int getFontSize () const override
 
virtual float getLineSpacing () const override
 
virtual vec2 getAnchorPos () const override
 
- Public Member Functions inherited from inviwo::FontSettings

Public Attributes

std::filesystem::path fontFace = font::getFont(font::FontType::Default)
 
int fontSize = 14
 
float lineSpacing = 0.0f
 
vec2 anchorPos = vec2(-1.0f)
 

Member Function Documentation

◆ getAnchorPos()

virtual vec2 inviwo::FontData::getAnchorPos ( ) const
overridevirtual

Implements inviwo::FontSettings.

◆ getFontFace()

virtual const std::filesystem::path & inviwo::FontData::getFontFace ( ) const
overridevirtual

Implements inviwo::FontSettings.

◆ getFontSize()

virtual int inviwo::FontData::getFontSize ( ) const
overridevirtual

Implements inviwo::FontSettings.

◆ getLineSpacing()

virtual float inviwo::FontData::getLineSpacing ( ) const
overridevirtual

Implements inviwo::FontSettings.


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