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

Syntax

f32 GetFontAscent() const;

Arguments

None.

Return Values

Returns the font ascent after magnification.

Description

Gets the font ascent after magnification.

Obtain the ascent before magnification as follows.

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