nw::font::CharWriter::GetFontAscent Member Function

Syntax

f32 GetFontAscent() const;

Arguments

None.

Return Values

Returns the font ascent after enlargement.

Description

Gets the font ascent after enlargement.

Use the following to get the ascent before enlargement:

writer.GetFont()->GetAscent();	// writer is an instance of CharWriter

See Also

nw::font::CharWriter::SetFontSize
nw::font::CharWriter::GetFontDescent

Revision History

2009/11/09
Initial version.

CONFIDENTIAL