Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::FontInfo Class Reference

Use this class to retreive information about a loaded system font. More...

#include <vcf/GraphicsKit/GraphicsToolKit.h>

List of all members.

Public Member Functions

 FontInfo ()
 FontInfo (const String &aName, const String &aFileName)
 FontInfo (const FontInfo &fi)
FontInfooperator= (const FontInfo &rhs)
bool operator== (const FontInfo &rhs) const
bool operator> (const FontInfo &rhs) const
bool operator< (const FontInfo &rhs) const
bool operator!= (const FontInfo &rhs) const
String name () const
 returns the human readable name of the font, such as "Arial", or "Century Schoolbook L".
String fileName () const
 This returns the fully qualified file name for the font.

Protected Attributes

String name_
String fileName_


Detailed Description

Use this class to retreive information about a loaded system font.

This class is intended for read only purposes


Constructor & Destructor Documentation

VCF::FontInfo::FontInfo  )  [inline]
 

VCF::FontInfo::FontInfo const String aName,
const String aFileName
[inline]
 

VCF::FontInfo::FontInfo const FontInfo fi  )  [inline]
 


Member Function Documentation

String VCF::FontInfo::fileName  )  const [inline]
 

This returns the fully qualified file name for the font.

This will differ greatly from the name returned by FontInfo;;name() or Font::getName(). For example the name of the font might be "Century Schoolbook L", while the file name might be /usr/share/fonts/default/Type1/c0590131.pfb

String VCF::FontInfo::name  )  const [inline]
 

returns the human readable name of the font, such as "Arial", or "Century Schoolbook L".

This is the name that should be used by the Font::setName() and will match when calling the Font::getName()

bool VCF::FontInfo::operator!= const FontInfo rhs  )  const [inline]
 

bool VCF::FontInfo::operator< const FontInfo rhs  )  const [inline]
 

FontInfo& VCF::FontInfo::operator= const FontInfo rhs  )  [inline]
 

bool VCF::FontInfo::operator== const FontInfo rhs  )  const [inline]
 

bool VCF::FontInfo::operator> const FontInfo rhs  )  const [inline]
 


Member Data Documentation

String VCF::FontInfo::fileName_ [protected]
 

String VCF::FontInfo::name_ [protected]
 


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information