Draws the text last given to prepare_text, so a text drawn many times is laid out once.
- font: the font the text was prepared with.
- x: where the text starts.
- y: the baseline of the text.
- color: white by default.
- effects: the same flags the text was prepared with.
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.