summaryrefslogtreecommitdiff
path: root/modules/gdnative/include
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2020-10-22 19:40:18 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2020-12-13 18:43:39 +0200
commitc1d261fdb09db3aae4c7fa6587812a697f2ea8cd (patch)
tree20f75fac2110d3466e759d51518b5202506490ff /modules/gdnative/include
parentbbf7bb383810f397760961cb1666860f9b0791b8 (diff)
[Complex Text Layouts] Add variable fonts support.
Diffstat (limited to 'modules/gdnative/include')
-rw-r--r--modules/gdnative/include/text/godot_text.h3
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);