fgf_unload() (Fastgraph/Fonts)

Win32 DirectX Fastgraph/Light

Prototype

void fgf_unload (int handle);

Sub fgf_unload (ByVal handle As Long)

procedure fgf_unload (handle : integer);

Description

The fgf_unload() function releases the handle for a font loaded with fgf_load() and releases the memory used by the font. Before your program exits, it should call fgf_unload() to unload all fonts loaded with fgf_load().

Parameters

handle is the font handle, between 1 and 256. Alternatively, handle can be negative if you want to unload all fonts.

Return value

none

Restrictions

This function has no effect if there is no font associated with the specified handle.

See also

fgf_load(), fgf_undefine()

Examples

FGFW1, FGFW2, FGFW3, FGFW5, FGFW6, FGFW7

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.