The abstract base class for a font resource. More...

#include "murl_resource_font.h"

Inheritance diagram for Murl::Resource::Font:

Additional Inherited Members

- Public Types inherited from Murl::IFactoryObject< IObject >
typedef Array< const ClassInfo *> ClassInfoArray
 Definition of an array of ClassInfo objects. More...
 
- Public Member Functions inherited from Murl::Resource::IObject
virtual Bool CreateBinary (Data &data) const =0
 Create a binary representation from the object. More...
 
- Public Member Functions inherited from Murl::IFactoryObject< IObject >
virtual ~IFactoryObject ()
 The destructor. More...
 
virtual const ClassInfo * GetObjectClassInfo () const=0
 Get the object instance's class info, if present. More...
 
virtual void ResetObjectProperties ()=0
 Reset the object instance's properties to their default values.
 
- Public Member Functions inherited from Murl::Resource::IFont
virtual Real GetScaleFactor () const =0
 Get the font's scale factor. More...
 
virtual Real GetSizeY () const =0
 Get the font's vertical line size. More...
 
virtual Real GetBaseLine () const =0
 Get the font's base line offset. More...
 
virtual Real GetAscent () const =0
 Get the font's ascent. More...
 
virtual Real GetDescent () const =0
 Get the font's descent. More...
 
virtual Real GetSpacing () const =0
 Get the font spacing, i.e. More...
 
virtual Real GetLeading () const =0
 Get the font leading, i.e. More...
 
virtual Real GetSpaceWidth () const =0
 Get the horizontal size of the whitespace character. More...
 
virtual Real GetDigitWidth () const =0
 Get the common horizontal size of all digits. More...
 
virtual Real GetOffsetX () const =0
 Get the horizontal screen offset for rendering. More...
 
virtual Real GetOffsetY () const =0
 Get the vertical screen offset for rendering. More...
 
virtual Bool HasRectangles () const =0
 Check if the font resource contains bitmap glyph rectangles. More...
 
virtual UInt32 GetNumberOfRectangles () const =0
 Get the actual number of bitmap glyph rectangles contained in the font. More...
 
virtual const IRectangleGetRectangleByIndex (UInt32 index) const =0
 Get a bitmap glyph rectangle by its index. More...
 
virtual const IRectangleGetRectangleByCode (UInt32 charCode) const =0
 Get a bitmap glyph rectangle for a given Unicode value. More...
 
virtual Bool HasOutlines () const =0
 Check if the font resource contains glyph outlines. More...
 
virtual UInt32 GetNumberOfOutlines () const =0
 Get the actual number of glyph outlines contained in the font. More...
 
virtual const IOutlineGetOutlineByIndex (UInt32 index) const =0
 Get a glyph outline by its index. More...
 
virtual const IOutlineGetOutlineByCode (UInt32 charCode) const =0
 Get a glyph outline for a given Unicode value. More...
 
virtual Bool HasKerning () const =0
 Check if the font resource contains kerning information. More...
 
virtual Real GetKerningByCode (UInt32 charCodeLeft, UInt32 charCodeRight) const =0
 Get the kerning offset for a pair of Unicode characters. More...
 
- Static Public Member Functions inherited from Murl::IFactoryObject< IObject >
static const PropertyInfoGetPropertyInfo ()
 Get the class' property info struct. More...
 
static const AttributeInfoGetAttributeInfo ()
 Get the class' attribute info struct. More...
 
static void ResetProperties (IFactoryObject< IObject > *object)
 Reset an object instance's properties to their default values. More...
 

Detailed Description

The abstract base class for a font resource.


The documentation for this class was generated from the following file:
  • murl_resource_font.h


Copyright © 2011-2018 Spraylight GmbH.