GUIDOLib  1.7.7
Guido Engine Internal Documentation
Public Member Functions | Public Attributes | Protected Attributes | List of all members
FontInfo Class Reference

Description of a font: name, font size and attributes. More...

Public Member Functions

 FontInfo (const VGFont *fontRef, int size, const std::string &name, const std::string &attributes)
 
virtual ~FontInfo ()
 
bool Compare (int size, const std::string &name, const std::string &attributes) const
 

Public Attributes

const VGFontmFontRef
 

Protected Attributes

int mSize
 
std::string mName
 
std::string mAttrib
 

Detailed Description

Description of a font: name, font size and attributes.

bold, underline, italic.

Constructor & Destructor Documentation

◆ FontInfo()

FontInfo::FontInfo ( const VGFont fontRef,
int  size,
const std::string &  name,
const std::string &  attributes 
)

◆ ~FontInfo()

virtual FontInfo::~FontInfo ( )
virtual

Member Function Documentation

◆ Compare()

bool FontInfo::Compare ( int  size,
const std::string &  name,
const std::string &  attributes 
) const

Member Data Documentation

◆ mAttrib

std::string FontInfo::mAttrib
protected

◆ mFontRef

const VGFont* FontInfo::mFontRef

◆ mName

std::string FontInfo::mName
protected

◆ mSize

int FontInfo::mSize
protected

Guido Project Copyright © 2019 Grame-CNCM