mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Replace global oversampling with overrideable per-viewport oversampling.
This commit is contained in:
@@ -42,8 +42,9 @@
|
||||
<param index="0" name="canvas" type="RID" />
|
||||
<param index="1" name="pos" type="Vector2" />
|
||||
<param index="2" name="color" type="Color" default="Color(1, 1, 1, 1)" />
|
||||
<param index="3" name="oversampling" type="float" default="0.0" />
|
||||
<description>
|
||||
Draw text into a canvas item at a given position, with [param color]. [param pos] specifies the top left corner of the bounding box.
|
||||
Draw text into a canvas item at a given position, with [param color]. [param pos] specifies the top left corner of the bounding box. If [param oversampling] is greater than zero, it is used as font oversampling factor, otherwise viewport oversampling settings are used.
|
||||
</description>
|
||||
</method>
|
||||
<method name="draw_outline" qualifiers="const">
|
||||
@@ -52,8 +53,9 @@
|
||||
<param index="1" name="pos" type="Vector2" />
|
||||
<param index="2" name="outline_size" type="int" default="1" />
|
||||
<param index="3" name="color" type="Color" default="Color(1, 1, 1, 1)" />
|
||||
<param index="4" name="oversampling" type="float" default="0.0" />
|
||||
<description>
|
||||
Draw text into a canvas item at a given position, with [param color]. [param pos] specifies the top left corner of the bounding box.
|
||||
Draw text into a canvas item at a given position, with [param color]. [param pos] specifies the top left corner of the bounding box. If [param oversampling] is greater than zero, it is used as font oversampling factor, otherwise viewport oversampling settings are used.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_inferred_direction" qualifiers="const">
|
||||
|
||||
Reference in New Issue
Block a user