diff options
| author | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-20 06:30:47 +0100 |
|---|---|---|
| committer | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-20 06:30:47 +0100 |
| commit | 4b44d3420637076ce225c2633019f25b75bc62a1 (patch) | |
| tree | ff8a43b30ad5a4f1b7f975cd1b2ef67dd8507962 /src/text.h | |
| parent | 027efb4c89e54f88f8a519a773ca803ec258c369 (diff) | |
improving rasterization
Diffstat (limited to 'src/text.h')
| -rw-r--r-- | src/text.h | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -67,10 +67,6 @@ static inline enum font_error_e wayc_font_flush(struct font_s* font) { return (enum font_error_e)wayc_max(atlas_err, FONT_ERROR_NONE); } -enum font_error_e wayc_font_raster_text(struct font_s* font, const char* text, - usize text_len, struct glyph_s* glyphs, - usize max_glyphs); - void wayc_font_deinit(struct font_s* font); struct text_mesh_s { @@ -81,5 +77,5 @@ struct text_mesh_s { }; bool wayc_text_mesh_init(struct text_mesh_s* mesh, const char* text, - usize text_len, struct font_s* font); + usize text_len, struct font_s* font, vec2 position); void wayc_text_mesh_deinit(struct text_mesh_s* mesh); |
