nw::font::CharWriter::DrawGlyph Member Function

Syntax

void DrawGlyph(
     const Glyph & glyph
);

Arguments

Name Description
in glyph Glyph data for the character to be drawn.

Return Values

None.

Description

Draws glyphs.

Specifies glyph data that can be obtained using thenw::font::Font::GetGlyph function and draws the character. The left-spacing width and the right-spacing width of the character are not taken into consideration for drawing glyphs. In other words, the glyph is drawn directly at the cursor position.
Always draws only the glyph without using a forced fixed-width setting.

The cursor moves by the same amount as the width of the glyph after the glyph has been drawn.

See Also

nw::font::CharWriter::Print

Revision History

2009/11/09
Initial version.

CONFIDENTIAL