This class describes a font family.
![]() | PFontFamily ( const PCaselessString & face ) Construct an empty font family. |
![]() | Compare ( const PObject & obj ) const Determine if the two font families are the same. |
![]() | GetFacename () const Get the face name of the font family eg "Courier". |
![]() | IsScalable () const Determine if the font is scalable in size. |
![]() | GetSizes () const Get a list of all the sizes for bitmap versions of the font. |
![]() | GetStyles () const Get all of the style combinations that are physically present in the canvas. |
![]() | GetStyleNames () const Get the names for each of the style combinations that are physically present in the canvas. |
![]() | Overrides from class PInteractor |
![]() | New methods for class |
![]() | facename Face name string for the font family. |
![]() | scalable The size of the font is scalable. |
![]() | sizes Array of possible size for font family. |
![]() | styles Array of possible style combinations for font family. |
![]() | styleNames Array of names for possible style combinations for font family. |
Run Time Type functions
Comparison functions
I/O functions
Miscellaneous functions
This class describes a font family. A font family are all variations of a particular face name egTimes italic 9 point andTimes bold 16 point are two fonts of theTimes font family.This describes all of the variations that are possible with the font in a given device. This must be created using a canvas.
The other contents of the font family are set by friend functions as fonts are enumerated by a canvas.
The user should never directly create instances of this class, except when an object for comparison in searches is required. For example to find the "Courier" family in the PFontFamilyList returned by a PCanvas instance a PFontFamily instance must be created for the PCollection::GetValuesIndex() function.
Other font style combinations than the ones in this list may be possible
for particular canvases but are synthesized by the system.
Overrides from class PInteractor
virtual Comparison Compare( const PObject & obj ) const
New methods for class
const PCaselessString& GetFacename() const
BOOL IsScalable() const
const PWORDArray& GetSizes() const
const PWORDArray& GetStyles() const
const PStringArray& GetStyleNames() const
PCaselessString facename
BOOL scalable
PWORDArray sizes
PWORDArray styles
PStringArray styleNames
Alphabetic index HTML hierarchy of classes or Java