nw::lyt::ResourceAccessor::GetFont Member Function

Syntax

virtual font::Font * GetFont(
     const char * name
) = 0;

Arguments

Name Description
name Name of the font resource.

Return Values

Returns a pointer to a font. Returns NULL when the font could not be obtained successfully.

Description

Gets the font.

Gets the font object bound to the font resource name specified by name.

This function attempts loading the font if it is not owned.

You can use LoadFont() in the implementation.

See Also

LoadFont

Revision History

2010/01/26
Initial version.
2010/07/16
Changed to a pure virtual function.

CONFIDENTIAL