summaryrefslogtreecommitdiff
path: root/src/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/text.h b/src/text.h
index 8522c93..aed11ed 100644
--- a/src/text.h
+++ b/src/text.h
@@ -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);