diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-02-24 12:55:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-24 12:55:36 +0100 |
commit | a527c6856bbc59698793ae67aa6f034b31231a8c (patch) | |
tree | 28bacef7857161b51ba598010c0391ba9d765e42 /modules/gdnative/include | |
parent | 19bfbcfec29b8791711e7f99bcc4ba28e932d3f2 (diff) | |
parent | bee718f1affca7ccf6ce2dbe3bf69a2cc1882cce (diff) |
Merge pull request #46045 from bruvzg/text_server_bmp_create
[TextServer] 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 ef60633a3d..86fc745134 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); |