NewFont

From SwinGame

NewFont loads a font so the loaded data can be obtained from the game using the GameFont routine.

Warning: This must be called from the LoadFonts routine.

Where is it: GAMERESOURCES

Contents

Languages

Pascal

procedure NewFont(fontName, fileName: String; size: Integer);

C#

private void Resources.NewFont(String fontName, String filename, int size);

Visual Basic .NET

Private Sub Resources.NewFont(ByVal fontName As String, ByVal filename As String, ByVal size As Integer)

Visual Basic 6

Private Sub NewFont(ByVal fontName As String, ByVal fileName As String, ByVal size As Long)

Example

Also See