Skip to content

Draw_set_font

hugh greene edited this page Jun 20, 2022 · 1 revision

NOTOC {{-}}

Notation

Description

Sets the font used when drawing text.

Parameters

  • font, index of the font resource

Return Values

This function has no return values.

Example Call

draw_set_font(fnt_hud);
draw_text(5, 5, "FPS: " + string(fps));

Demonstrates setting the font to one used for drawing on the HUD, and then drawing the frames per second in the top left corner with it.

Clone this wiki locally