summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-02-13 07:20:13 +0100
committerFabrice <fabrice@schaub-dev.xyz>2026-02-13 07:20:13 +0100
commitb22b4f825e25cc41ec2119911db3945642099ab5 (patch)
tree2cb906230b20949c94f4dd484aec178806d4d57b /src
parent2c89955b4cdbed8814f3b618f5a79a4173c16e17 (diff)
formatting
Diffstat (limited to 'src')
-rw-r--r--src/text.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/text.h b/src/text.h
index 216a842..13b0dcd 100644
--- a/src/text.h
+++ b/src/text.h
@@ -57,10 +57,13 @@ enum font_error_e wayc_font_init(struct font_s* font,
struct font_context_s* context,
const char* path, u32 font_size,
u32 atlas_width, u32 atlas_height);
+
enum font_error_e wayc_font_render(struct font_s* font, codepoint_t codepoint,
struct glyph_s* glyph);
+
static inline enum font_error_e wayc_font_flush(struct font_s* font) {
enum atlas_error_e atlas_err = wayc_atlas_flush(&font->atlas);
return (enum font_error_e)wayc_max(atlas_err, FONT_ERROR_NONE);
}
+
void wayc_font_deinit(struct font_s* font);