diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-02-06 16:34:06 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-02-15 10:46:49 +0200 |
commit | bee718f1affca7ccf6ce2dbe3bf69a2cc1882cce (patch) | |
tree | 39dd425c3a9afc9ebc54e08136aa4ea62da24ff5 /modules/gdnative/include | |
parent | 8fa92c70eacd180866535a42d409e1c9e1074d73 (diff) |
[Text Server] Restores bitmap font dynamic construction functions.
Diffstat (limited to 'modules/gdnative/include')
-rw-r--r-- | modules/gdnative/include/text/godot_text.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gdnative/include/text/godot_text.h b/modules/gdnative/include/text/godot_text.h index 44fac3c190..cdbd12a6a8 100644 --- a/modules/gdnative/include/text/godot_text.h +++ b/modules/gdnative/include/text/godot_text.h @@ -74,6 +74,10 @@ typedef struct { godot_rid (*create_font_system)(void *, const godot_string *, int); godot_rid (*create_font_resource)(void *, const godot_string *, int); godot_rid (*create_font_memory)(void *, const uint8_t *, size_t, godot_string *, int); + godot_rid (*create_font_bitmap)(void *, float, float, int); + void (*font_bitmap_add_texture)(void *, godot_rid *, const godot_object *); + void (*font_bitmap_add_char)(void *, godot_rid *, char32_t, int, const godot_rect2 *, const godot_vector2 *, float); + void (*font_bitmap_add_kerning_pair)(void *, godot_rid *, char32_t, char32_t, int); float (*font_get_height)(void *, godot_rid *, int); float (*font_get_ascent)(void *, godot_rid *, int); float (*font_get_descent)(void *, godot_rid *, int); |