|
@@ -132,7 +132,7 @@ public:
|
|
virtual void font_set_hinting(RID p_font_rid, Hinting p_hinting) override;
|
|
virtual void font_set_hinting(RID p_font_rid, Hinting p_hinting) override;
|
|
virtual Hinting font_get_hinting(RID p_font_rid) const override;
|
|
virtual Hinting font_get_hinting(RID p_font_rid) const override;
|
|
GDVIRTUAL2(_font_set_hinting, RID, Hinting);
|
|
GDVIRTUAL2(_font_set_hinting, RID, Hinting);
|
|
- GDVIRTUAL1RC(/*Hinting*/ int, _font_get_hinting, RID);
|
|
|
|
|
|
+ GDVIRTUAL1RC(Hinting, _font_get_hinting, RID);
|
|
|
|
|
|
virtual void font_set_variation_coordinates(RID p_font_rid, const Dictionary &p_variation_coordinates) override;
|
|
virtual void font_set_variation_coordinates(RID p_font_rid, const Dictionary &p_variation_coordinates) override;
|
|
virtual Dictionary font_get_variation_coordinates(RID p_font_rid) const override;
|
|
virtual Dictionary font_get_variation_coordinates(RID p_font_rid) const override;
|
|
@@ -317,8 +317,8 @@ public:
|
|
virtual Direction shaped_text_get_direction(RID p_shaped) const override;
|
|
virtual Direction shaped_text_get_direction(RID p_shaped) const override;
|
|
virtual Direction shaped_text_get_inferred_direction(RID p_shaped) const override;
|
|
virtual Direction shaped_text_get_inferred_direction(RID p_shaped) const override;
|
|
GDVIRTUAL2(_shaped_text_set_direction, RID, Direction);
|
|
GDVIRTUAL2(_shaped_text_set_direction, RID, Direction);
|
|
- GDVIRTUAL1RC(/*Direction*/ int, _shaped_text_get_direction, RID);
|
|
|
|
- GDVIRTUAL1RC(/*Direction*/ int, _shaped_text_get_inferred_direction, RID);
|
|
|
|
|
|
+ GDVIRTUAL1RC(Direction, _shaped_text_get_direction, RID);
|
|
|
|
+ GDVIRTUAL1RC(Direction, _shaped_text_get_inferred_direction, RID);
|
|
|
|
|
|
virtual void shaped_text_set_bidi_override(RID p_shaped, const Array &p_override) override;
|
|
virtual void shaped_text_set_bidi_override(RID p_shaped, const Array &p_override) override;
|
|
GDVIRTUAL2(_shaped_text_set_bidi_override, RID, const Array &);
|
|
GDVIRTUAL2(_shaped_text_set_bidi_override, RID, const Array &);
|
|
@@ -331,7 +331,7 @@ public:
|
|
virtual void shaped_text_set_orientation(RID p_shaped, Orientation p_orientation = ORIENTATION_HORIZONTAL) override;
|
|
virtual void shaped_text_set_orientation(RID p_shaped, Orientation p_orientation = ORIENTATION_HORIZONTAL) override;
|
|
virtual Orientation shaped_text_get_orientation(RID p_shaped) const override;
|
|
virtual Orientation shaped_text_get_orientation(RID p_shaped) const override;
|
|
GDVIRTUAL2(_shaped_text_set_orientation, RID, Orientation);
|
|
GDVIRTUAL2(_shaped_text_set_orientation, RID, Orientation);
|
|
- GDVIRTUAL1RC(/*Orientation*/ int, _shaped_text_get_orientation, RID);
|
|
|
|
|
|
+ GDVIRTUAL1RC(Orientation, _shaped_text_get_orientation, RID);
|
|
|
|
|
|
virtual void shaped_text_set_preserve_invalid(RID p_shaped, bool p_enabled) override;
|
|
virtual void shaped_text_set_preserve_invalid(RID p_shaped, bool p_enabled) override;
|
|
virtual bool shaped_text_get_preserve_invalid(RID p_shaped) const override;
|
|
virtual bool shaped_text_get_preserve_invalid(RID p_shaped) const override;
|
|
@@ -380,8 +380,8 @@ public:
|
|
virtual const Glyph *shaped_text_get_glyphs(RID p_shaped) const override;
|
|
virtual const Glyph *shaped_text_get_glyphs(RID p_shaped) const override;
|
|
virtual const Glyph *shaped_text_sort_logical(RID p_shaped) override;
|
|
virtual const Glyph *shaped_text_sort_logical(RID p_shaped) override;
|
|
virtual int shaped_text_get_glyph_count(RID p_shaped) const override;
|
|
virtual int shaped_text_get_glyph_count(RID p_shaped) const override;
|
|
- GDVIRTUAL2C(_shaped_text_get_glyphs, RID, GDNativePtr<const Glyph *>);
|
|
|
|
- GDVIRTUAL2(_shaped_text_sort_logical, RID, GDNativePtr<const Glyph *>);
|
|
|
|
|
|
+ GDVIRTUAL1RC(GDNativePtr<Glyph>, _shaped_text_get_glyphs, RID);
|
|
|
|
+ GDVIRTUAL1R(GDNativePtr<Glyph>, _shaped_text_sort_logical, RID);
|
|
GDVIRTUAL1RC(int, _shaped_text_get_glyph_count, RID);
|
|
GDVIRTUAL1RC(int, _shaped_text_get_glyph_count, RID);
|
|
|
|
|
|
virtual Vector2i shaped_text_get_range(RID p_shaped) const override;
|
|
virtual Vector2i shaped_text_get_range(RID p_shaped) const override;
|
|
@@ -400,7 +400,7 @@ public:
|
|
virtual int shaped_text_get_ellipsis_glyph_count(RID p_shaped) const override;
|
|
virtual int shaped_text_get_ellipsis_glyph_count(RID p_shaped) const override;
|
|
GDVIRTUAL1RC(int, _shaped_text_get_trim_pos, RID);
|
|
GDVIRTUAL1RC(int, _shaped_text_get_trim_pos, RID);
|
|
GDVIRTUAL1RC(int, _shaped_text_get_ellipsis_pos, RID);
|
|
GDVIRTUAL1RC(int, _shaped_text_get_ellipsis_pos, RID);
|
|
- GDVIRTUAL2C(_shaped_text_get_ellipsis_glyphs, RID, GDNativePtr<const Glyph *>);
|
|
|
|
|
|
+ GDVIRTUAL1RC(GDNativePtr<Glyph>, _shaped_text_get_ellipsis_glyphs, RID);
|
|
GDVIRTUAL1RC(int, _shaped_text_get_ellipsis_glyph_count, RID);
|
|
GDVIRTUAL1RC(int, _shaped_text_get_ellipsis_glyph_count, RID);
|
|
|
|
|
|
virtual void shaped_text_overrun_trim_to_width(RID p_shaped, float p_width, uint16_t p_trim_flags) override;
|
|
virtual void shaped_text_overrun_trim_to_width(RID p_shaped, float p_width, uint16_t p_trim_flags) override;
|