diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-12-13 20:05:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-13 20:05:27 +0100 |
commit | 06314c1b0e8100546a53cf2786fa244c5d19af6f (patch) | |
tree | 20f75fac2110d3466e759d51518b5202506490ff /modules/gdnative/include/text/godot_text.h | |
parent | bbf7bb383810f397760961cb1666860f9b0791b8 (diff) | |
parent | c1d261fdb09db3aae4c7fa6587812a697f2ea8cd (diff) |
Merge pull request #43030 from bruvzg/ctl_var_font
[Complex Text Layouts] Add variable fonts support.
Diffstat (limited to 'modules/gdnative/include/text/godot_text.h')
-rw-r--r-- | modules/gdnative/include/text/godot_text.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gdnative/include/text/godot_text.h b/modules/gdnative/include/text/godot_text.h index 2eac6adfb5..6885f2463d 100644 --- a/modules/gdnative/include/text/godot_text.h +++ b/modules/gdnative/include/text/godot_text.h @@ -82,6 +82,9 @@ typedef struct { void (*font_set_antialiased)(void *, godot_rid *, bool); bool (*font_get_antialiased)(void *, godot_rid *); godot_dictionary (*font_get_feature_list)(void *, godot_rid *); + godot_dictionary (*font_get_variation_list)(void *, godot_rid *); + void (*font_set_variation)(void *, godot_rid *, const godot_string *, double); + double (*font_get_variation)(void *, godot_rid *, const godot_string *); void (*font_set_distance_field_hint)(void *, godot_rid *, bool); bool (*font_get_distance_field_hint)(void *, godot_rid *); void (*font_set_hinting)(void *, godot_rid *, godot_int); |