Simp module

draw_prepared_text

procedure · 1 overloadSource

Draws the text last given to prepare_text, so a text drawn many times is laid out once.

draw_prepared_text :: (
    font: *Dynamic_Font,
    x: s64,
    y: s64,
    color := Vector4.{ 1, 1, 1, 1 },
    effects: Font_Effects = 0
)

Draws the text last given to prepare_text, so a text drawn many times is laid out once.

Parameters

font: *Dynamic_Font
the font the text was prepared with.
x: s64
where the text starts.
y: s64
the baseline of the text.
color := Vector4.{ 1, 1, 1, 1 }
white by default.
effects: Font_Effects
the same flags the text was prepared with.

See also