API Reference > Other Classes > OdFont Class
OdFont Class
OdFontOdFontOdFont
Syntax
C++
class OdFont : public OdRxObject;

OdFont.h

This class is the base interface class for classes that implements font objects.

 
Name 
Description 
 
This is OdFont, a member of class OdFont. 
 
Name 
Description 
 
Adds the specified font flags to this Font object.  
 
This is the overview for the drawCharacter method overload. 
 
Returns the font flags for this Font object. 
 
Returns the height of this Font object above the baseline. 
 
Returns the height of this Font object above the baseline. 
 
Returns an array of the characters defined in this Font object.  
 
Returns the average width of characters in this Font object. 
 
Returns the depth of this font object below the baseline. 
 
This is getDescriptor, a member of class OdFont. 
 
Returns font file name. 
 
Returns the font flags for this Font object. 
 
Returns the font data for the specified character.  
 
Returns the height of this Font object. 
 
Returns the internal leading of this Font object. 
 
Returns the LOGFONT for this font
 
 
Returns the overline position for this Font object at the specified text size.  
 
Returns arrays of points over and under the baseline for the specified character in this OdFont object.  
 
Returns the underline position for this Font object at the specified text size.  
 
Returns true if and only if the specified character is defined in this Font object.  
 
Initializes this Font object to read font data from the specified StreamBuf object.
 
 
Returns true if and only if this Font object is an SHX font. 
 
This is ODRX_DECLARE_MEMBERS, a member of class OdFont. 
 
Sets the font flags for this Font object.  
 
Returns true if and only if the font supports vertical mode. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.