[TextServer / Font] Add support for customizable baseline offset.
This commit is contained in:
parent
17e7f85c06
commit
85df221610
19 changed files with 242 additions and 24 deletions
|
|
@ -105,6 +105,12 @@
|
|||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_font_get_baseline_offset" qualifiers="virtual const">
|
||||
<return type="float" />
|
||||
<param index="0" name="font_rid" type="RID" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_font_get_char_from_glyph_index" qualifiers="virtual const">
|
||||
<return type="int" />
|
||||
<param index="0" name="font_rid" type="RID" />
|
||||
|
|
@ -552,6 +558,13 @@
|
|||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_font_set_baseline_offset" qualifiers="virtual">
|
||||
<return type="void" />
|
||||
<param index="0" name="font_rid" type="RID" />
|
||||
<param index="1" name="baseline_offset" type="float" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_font_set_data" qualifiers="virtual">
|
||||
<return type="void" />
|
||||
<param index="0" name="font_rid" type="RID" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue