#include <nnsys/g2d/g2d_TextCanvas.h>
int NNS_G2dTextCanvasGetTextHeight(
const NNSG2dTextCanvas* pTxn,
const NNSG2dChar* txt
);
pTxn | [IN] Pointer to TextCanvas |
txt | [IN] Pointer to text string |
Returns the height of the text string when drawn (in pixels).
Calculates the height of text string txt when drawn.
For a vertically written font, this function calculates the width of the text string.
NNS_G2dFontGetTextHeight,
NNS_G2dTextCanvasGetStringWidth,
NNS_G2dTextCanvasGetTextWidth,
NNS_G2dTextCanvasGetTextRect
2007/03/14 Added support for vertically written/vertically held fonts.
2005/05/25 Initial version.
CONFIDENTIAL