Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdFont::drawCharacter Method (OdChar, OdGePoint2d&, OdGiCommonDraw*, OdTextProperties&)
Syntax
C++
virtual OdResult drawCharacter(OdChar character, OdGePoint2d& advance, OdGiCommonDraw* pWd, OdTextProperties& textProperties) = 0;

Draws the specified character with this font object. 

 

Parameters
Description
character
[in] Character to draw.
advance
[in] Offset to next character.
pWd
[in/out] Draw object that can be used by this function to set the necessary attributes and create the necessary geometry.
textProperties
[in] Text properties.

Returns eOk if the specified character is drawn with the font object successfully, or an appropriate error code otherwise.

Copyright © 2002-2022. Open Design Alliance All rights reserved.