API Reference > Other Classes > OdFont Class > OdFont Methods > drawCharacter Method > OdFont::drawCharacter Method (OdChar, OdGePoint2d&, OdGiCommonDraw*, OdTextProperties&)
OdFont::drawCharacter Method (OdChar, OdGePoint2d&, OdGiCommonDraw*, OdTextProperties&)
Syntax
C++
virtual OdResult drawCharacter(OdChar character, OdGePoint2d& advance, OdGiCommonDraw* pWd, OdTextProperties& textProperties) = 0;
Parameters 
Description 
OdChar character 
[in] Character to draw.  
OdGePoint2d& advance 
[in] Offset to next character.  
OdGiCommonDraw* pWd 
[in/out] Draw object that can be used by this function to set the necessary attributes and create the necessary geometry.  
OdTextProperties& textProperties 
[in] Text properties. 

Draws the specified character with this Font object.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.