feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
|
|
@ -617,6 +617,14 @@
|
|||
Returns [code]true[/code], if font supports given language ([url=https://en.wikipedia.org/wiki/ISO_639-1]ISO 639[/url] code).
|
||||
</description>
|
||||
</method>
|
||||
<method name="_font_is_modulate_color_glyphs" qualifiers="virtual const">
|
||||
<return type="bool" />
|
||||
<param index="0" name="font_rid" type="RID" />
|
||||
<description>
|
||||
[b]Optional.[/b]
|
||||
Returns [code]true[/code], if color modulation is applied when drawing colored glyphs.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_font_is_multichannel_signed_distance_field" qualifiers="virtual const">
|
||||
<return type="bool" />
|
||||
<param index="0" name="font_rid" type="RID" />
|
||||
|
|
@ -942,6 +950,15 @@
|
|||
Adds override for [method _font_is_language_supported].
|
||||
</description>
|
||||
</method>
|
||||
<method name="_font_set_modulate_color_glyphs" qualifiers="virtual">
|
||||
<return type="void" />
|
||||
<param index="0" name="font_rid" type="RID" />
|
||||
<param index="1" name="modulate" type="bool" />
|
||||
<description>
|
||||
[b]Optional.[/b]
|
||||
If set to [code]true[/code], color modulation is applied when drawing colored glyphs, otherwise it's applied to the monochrome glyphs only.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_font_set_msdf_pixel_range" qualifiers="virtual">
|
||||
<return type="void" />
|
||||
<param index="0" name="font_rid" type="RID" />
|
||||
|
|
@ -1306,6 +1323,77 @@
|
|||
Saves optional TextServer database (e.g. ICU break iterators and dictionaries) to the file.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_shaped_get_run_count" qualifiers="virtual const">
|
||||
<return type="int" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
<description>
|
||||
[b]Required.[/b]
|
||||
Returns the number of uniform text runs in the buffer.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_shaped_get_run_direction" qualifiers="virtual const">
|
||||
<return type="int" enum="TextServer.Direction" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
<param index="1" name="index" type="int" />
|
||||
<description>
|
||||
[b]Required.[/b]
|
||||
Returns the direction of the [param index] text run (in visual order).
|
||||
</description>
|
||||
</method>
|
||||
<method name="_shaped_get_run_font_rid" qualifiers="virtual const">
|
||||
<return type="RID" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
<param index="1" name="index" type="int" />
|
||||
<description>
|
||||
[b]Required.[/b]
|
||||
Returns the font RID of the [param index] text run (in visual order).
|
||||
</description>
|
||||
</method>
|
||||
<method name="_shaped_get_run_font_size" qualifiers="virtual const">
|
||||
<return type="int" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
<param index="1" name="index" type="int" />
|
||||
<description>
|
||||
[b]Required.[/b]
|
||||
Returns the font size of the [param index] text run (in visual order).
|
||||
</description>
|
||||
</method>
|
||||
<method name="_shaped_get_run_language" qualifiers="virtual const">
|
||||
<return type="String" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
<param index="1" name="index" type="int" />
|
||||
<description>
|
||||
[b]Required.[/b]
|
||||
Returns the language of the [param index] text run (in visual order).
|
||||
</description>
|
||||
</method>
|
||||
<method name="_shaped_get_run_object" qualifiers="virtual const">
|
||||
<return type="Variant" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
<param index="1" name="index" type="int" />
|
||||
<description>
|
||||
[b]Required.[/b]
|
||||
Returns the embedded object of the [param index] text run (in visual order).
|
||||
</description>
|
||||
</method>
|
||||
<method name="_shaped_get_run_range" qualifiers="virtual const">
|
||||
<return type="Vector2i" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
<param index="1" name="index" type="int" />
|
||||
<description>
|
||||
[b]Required.[/b]
|
||||
Returns the source text range of the [param index] text run (in visual order).
|
||||
</description>
|
||||
</method>
|
||||
<method name="_shaped_get_run_text" qualifiers="virtual const">
|
||||
<return type="String" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
<param index="1" name="index" type="int" />
|
||||
<description>
|
||||
[b]Required.[/b]
|
||||
Returns the source text of the [param index] text run (in visual order).
|
||||
</description>
|
||||
</method>
|
||||
<method name="_shaped_get_span_count" qualifiers="virtual const">
|
||||
<return type="int" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
|
|
@ -1332,6 +1420,32 @@
|
|||
Returns text span metadata.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_shaped_get_span_object" qualifiers="virtual const">
|
||||
<return type="Variant" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
<param index="1" name="index" type="int" />
|
||||
<description>
|
||||
[b]Required.[/b]
|
||||
Returns the text span embedded object key.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_shaped_get_span_text" qualifiers="virtual const">
|
||||
<return type="String" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
<param index="1" name="index" type="int" />
|
||||
<description>
|
||||
[b]Required.[/b]
|
||||
Returns the text span source text.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_shaped_get_text" qualifiers="virtual const">
|
||||
<return type="String" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
<description>
|
||||
[b]Required.[/b]
|
||||
Returns the text buffer source text, including object replacement characters.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_shaped_set_span_update_font" qualifiers="virtual">
|
||||
<return type="void" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue