nw::font::CharWriter::Print Member Function

Syntax

f32 Print(
     CharCode code
);

Arguments

Name Description
in code The character code of the text character to be drawn.

Return Values

Returns the character width of the character that was drawn.

Description

Draws the characters.

Draws the character specified by the character code. The left spacing width and the right spacing width are taken into account when drawing the character. In other words, a glyph is drawn after leaving some space for the left spacing from the cursor position.

The cursor moves by the amount of the character width after the glyph is drawn.

See Also

nw::font::CharWriter::DrawGlyph

Revision History

2009/11/09
Initial version.

CONFIDENTIAL