hgeResourceManager::GetFont

Returns pointer to a named font.

hgeFont *GetFont(
  const char *name
);

Parameters

name
Font name.

Return value

If successful, returns pointer to the hgeFont object. Otherwise returns 0.

Remarks

To use a font with hgeResourceManager you must define it in the resource script.

If the font hasn't been created yet, it will be created. Otherwise pointer to the existing font will be returned.

Requirements

Header: hgeresource.h
Import library: hgehelp.lib