[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'agraphics' (#aros)

CloseFont

Release a pointer to a system font.

Declaration

Source position: agraphics.pas line 2067

procedure CloseFont(

  TextFont: PTextFont

);

Arguments

TextFont

  

A font pointer as returned by OpenFont() or OpenDiskFont()

Description

This function indicates that the font specified is no longer in use. It is used to close a font opened by OpenFont(), so that fonts that are no longer in use do not consume system resources.


Documentation generated on: 2017-01-10