Adds the glyphs of s to the run; byte offsets count from the start of this piece.
font := load_font("", "Roboto-Regular.ttf", 24);
begin_prepare_text(font);
append_prepare_text(font, "Hello, ");
append_prepare_text(font, "world");
end_prepare_text(font);This one is only checked to compile, not run.
append_prepare_text :: (
font: *Dynamic_Font,
s: string,
effect_flags: Font_Effects = 0
)
Parameters
- font: *Dynamic_Font
- s: string
- effect_flags: Font_Effects = 0