Improve the make_rst.py parser for BBCode tags
This commit is contained in:
parent
4426049c64
commit
d953d9590b
6 changed files with 704 additions and 529 deletions
|
|
@ -692,7 +692,7 @@
|
|||
<return type="int" />
|
||||
<param index="0" name="screen" type="int" default="-1" />
|
||||
<description>
|
||||
Returns the dots per inch density of the specified screen. If [param screen] is [/code]SCREEN_OF_MAIN_WINDOW[/code] (the default value), a screen with the main window will be used.
|
||||
Returns the dots per inch density of the specified screen. If [param screen] is [constant SCREEN_OF_MAIN_WINDOW] (the default value), a screen with the main window will be used.
|
||||
[b]Note:[/b] On macOS, returned value is inaccurate if fractional display scaling mode is used.
|
||||
[b]Note:[/b] On Android devices, the actual screen densities are grouped into six generalized densities:
|
||||
[codeblock]
|
||||
|
|
|
|||
|
|
@ -942,7 +942,7 @@
|
|||
<param index="0" name="string" type="String" />
|
||||
<param index="1" name="dict" type="PackedStringArray" />
|
||||
<description>
|
||||
Returns index of the first string in [code]dict[/dict] which is visually confusable with the [code]string[/string], or [code]-1[/code] if none is found.
|
||||
Returns index of the first string in [param dict] which is visually confusable with the [param string], or [code]-1[/code] if none is found.
|
||||
[b]Note:[/b] This method doesn't detect invisible characters, for spoof detection use it in combination with [method spoof_check].
|
||||
[b]Note:[/b] Always returns [code]-1[/code] if the server does not support the [constant FEATURE_UNICODE_SECURITY] feature.
|
||||
</description>
|
||||
|
|
@ -1707,10 +1707,10 @@
|
|||
Glyph horizontal position is rounded to one quarter of the pixel size, each glyph is rasterized up to four times.
|
||||
</constant>
|
||||
<constant name="SUBPIXEL_POSITIONING_ONE_HALF_MAX_SIZE" value="20" enum="SubpixelPositioning">
|
||||
Maximum font size which will use one half of the pixel subpixel positioning in [constants SUBPIXEL_POSITIONING_AUTO] mode.
|
||||
Maximum font size which will use one half of the pixel subpixel positioning in [constant SUBPIXEL_POSITIONING_AUTO] mode.
|
||||
</constant>
|
||||
<constant name="SUBPIXEL_POSITIONING_ONE_QUARTER_MAX_SIZE" value="16" enum="SubpixelPositioning">
|
||||
Maximum font size which will use one quarter of the pixel subpixel positioning in [constants SUBPIXEL_POSITIONING_AUTO] mode.
|
||||
Maximum font size which will use one quarter of the pixel subpixel positioning in [constant SUBPIXEL_POSITIONING_AUTO] mode.
|
||||
</constant>
|
||||
<constant name="FEATURE_SIMPLE_LAYOUT" value="1" enum="Feature">
|
||||
TextServer supports simple text layouts.
|
||||
|
|
|
|||
|
|
@ -939,7 +939,7 @@
|
|||
<param index="0" name="string" type="String" />
|
||||
<param index="1" name="dict" type="PackedStringArray" />
|
||||
<description>
|
||||
Returns index of the first string in [code]dict[/dict] which is visually confusable with the [code]string[/string], or [code]-1[/code] if none is found.
|
||||
Returns index of the first string in [param dict] which is visually confusable with the [param string], or [code]-1[/code] if none is found.
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_locale_right_to_left" qualifiers="virtual const">
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
Translates [code]uv[/code] by using [code]scale[/code] and [code]offset[/code] values using the following formula: [code]uv = uv + offset * scale[/code]. [code]uv[/code] port is connected to [code]UV[/code] built-in by default.
|
||||
</constant>
|
||||
<constant name="FUNC_SCALING" value="1" enum="Function">
|
||||
Scales [code]uv[/uv] by using [code]scale[/code] and [code]pivot[/code] values using the following formula: [code]uv = (uv - pivot) * scale + pivot[/code]. [code]uv[/code] port is connected to [code]UV[/code] built-in by default.
|
||||
Scales [code]uv[/code] by using [code]scale[/code] and [code]pivot[/code] values using the following formula: [code]uv = (uv - pivot) * scale + pivot[/code]. [code]uv[/code] port is connected to [code]UV[/code] built-in by default.
|
||||
</constant>
|
||||
<constant name="FUNC_MAX" value="2" enum="Function">
|
||||
Represents the size of the [enum Function] enum.
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue