summaryrefslogtreecommitdiff
path: root/modules/gdnative/include
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2020-12-10 17:30:25 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2021-03-31 09:32:14 +0300
commit0d3fa2a12558d90e7b9cc05f38e8b5c866a2d794 (patch)
tree23385098a4f26118be7ab4537c49db73d1d60186 /modules/gdnative/include
parent2a66714bfb4654f466479c7b0bc8be103ee9218a (diff)
[Complex Text Layouts] Provide access to glyph contour points.
Diffstat (limited to 'modules/gdnative/include')
-rw-r--r--modules/gdnative/include/text/godot_text.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdnative/include/text/godot_text.h b/modules/gdnative/include/text/godot_text.h
index 86fc745134..99c78c72e6 100644
--- a/modules/gdnative/include/text/godot_text.h
+++ b/modules/gdnative/include/text/godot_text.h
@@ -118,6 +118,7 @@ typedef struct {
godot_vector2 (*font_get_glyph_kerning)(void *, godot_rid *, uint32_t, uint32_t, int);
godot_vector2 (*font_draw_glyph)(void *, godot_rid *, godot_rid *, int, const godot_vector2 *, uint32_t, const godot_color *);
godot_vector2 (*font_draw_glyph_outline)(void *, godot_rid *, godot_rid *, int, int, const godot_vector2 *, uint32_t, const godot_color *);
+ bool (*font_get_glyph_contours)(void *, godot_rid *, int, uint32_t, godot_packed_vector3_array *, godot_packed_int32_array *, bool *);
float (*font_get_oversampling)(void *);
void (*font_set_oversampling)(void *, float);
godot_packed_string_array (*get_system_fonts)(void *);