bpp-core3  3.0.0
bpp::XFigPostscriptFontManager Class Reference

Postscript font manager for the XFig format. More...

#include <Bpp/Graphics/Fig/XFigPostscriptFontManager.h>

+ Inheritance diagram for bpp::XFigPostscriptFontManager:
+ Collaboration diagram for bpp::XFigPostscriptFontManager:

Public Member Functions

 XFigPostscriptFontManager ()
 
virtual ~XFigPostscriptFontManager ()
 
int getCode (const Font &font) const
 
const FontgetFont (int &code) const
 
std::vector< int > getCodes () const
 
std::vector< FontgetFonts () const
 
size_t getNumberOfFonts () const
 

Protected Member Functions

void registerFont_ (const Font &font, int code)
 

Detailed Description

Postscript font manager for the XFig format.

Definition at line 16 of file XFigPostscriptFontManager.h.

Constructor & Destructor Documentation

◆ XFigPostscriptFontManager()

◆ ~XFigPostscriptFontManager()

virtual bpp::XFigPostscriptFontManager::~XFigPostscriptFontManager ( )
inlinevirtual

Definition at line 22 of file XFigPostscriptFontManager.h.

Member Function Documentation

◆ getCode()

int bpp::AbstractFontManager< int >::getCode ( const Font font) const
inlinevirtualinherited
Parameters
fontThe font to look for.
Returns
The code associated to a given font.

Implements bpp::FontManager< int >.

Definition at line 74 of file FontManager.h.

References bpp::Font::toString().

◆ getCodes()

std::vector<int > bpp::AbstractFontManager< int >::getCodes ( ) const
inlinevirtualinherited
Returns
All valid codes.

Implements bpp::FontManager< int >.

Definition at line 97 of file FontManager.h.

◆ getFont()

const Font& bpp::AbstractFontManager< int >::getFont ( int &  code) const
inlinevirtualinherited

Implements bpp::FontManager< int >.

Definition at line 86 of file FontManager.h.

References bpp::TextTools::toString().

◆ getFonts()

std::vector<Font> bpp::AbstractFontManager< int >::getFonts ( ) const
inlinevirtualinherited
Returns
All available fonts.

Implements bpp::FontManager< int >.

Definition at line 98 of file FontManager.h.

◆ getNumberOfFonts()

size_t bpp::AbstractFontManager< int >::getNumberOfFonts ( ) const
inlinevirtualinherited
Returns
The total number of fonts available.

Implements bpp::FontManager< int >.

Definition at line 99 of file FontManager.h.

◆ registerFont_()

void bpp::AbstractFontManager< int >::registerFont_ ( const Font font,
int  code 
)
inlineprotectedinherited

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