summaryrefslogtreecommitdiffstats
path: root/servers/text_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers/text_server.h')
-rw-r--r--servers/text_server.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/text_server.h b/servers/text_server.h
index dfd6140fde..55c7d8a88e 100644
--- a/servers/text_server.h
+++ b/servers/text_server.h
@@ -490,6 +490,8 @@ public:
virtual Array shaped_text_get_objects(const RID &p_shaped) const = 0;
virtual Rect2 shaped_text_get_object_rect(const RID &p_shaped, const Variant &p_key) const = 0;
+ virtual Vector2i shaped_text_get_object_range(const RID &p_shaped, const Variant &p_key) const = 0;
+ virtual int64_t shaped_text_get_object_glyph(const RID &p_shaped, const Variant &p_key) const = 0;
virtual Size2 shaped_text_get_size(const RID &p_shaped) const = 0;
virtual double shaped_text_get_ascent(const RID &p_shaped) const = 0;