mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Fix window title drawn outside the title bar
This commit is contained in:
@@ -1400,6 +1400,7 @@
|
||||
<param index="6" name="oversampling" type="float" default="0.0" />
|
||||
<description>
|
||||
Draw shaped text into a canvas item at a given position, with [param color]. [param pos] specifies the leftmost point of the baseline (for horizontal layout) or topmost point of the baseline (for vertical layout). If [param oversampling] is greater than zero, it is used as font oversampling factor, otherwise viewport oversampling settings are used.
|
||||
[param clip_l] and [param clip_r] are offsets relative to [param pos], going to the right in horizontal layout and downward in vertical layout. If [param clip_l] is not negative, glyphs starting before the offset are clipped. If [param clip_r] is not negative, glyphs ending after the offset are clipped.
|
||||
</description>
|
||||
</method>
|
||||
<method name="shaped_text_draw_outline" qualifiers="const">
|
||||
@@ -1414,6 +1415,7 @@
|
||||
<param index="7" name="oversampling" type="float" default="0.0" />
|
||||
<description>
|
||||
Draw the outline of the shaped text into a canvas item at a given position, with [param color]. [param pos] specifies the leftmost point of the baseline (for horizontal layout) or topmost point of the baseline (for vertical layout). If [param oversampling] is greater than zero, it is used as font oversampling factor, otherwise viewport oversampling settings are used.
|
||||
[param clip_l] and [param clip_r] are offsets relative to [param pos], going to the right in horizontal layout and downward in vertical layout. If [param clip_l] is not negative, glyphs starting before the offset are clipped. If [param clip_r] is not negative, glyphs ending after the offset are clipped.
|
||||
</description>
|
||||
</method>
|
||||
<method name="shaped_text_fit_to_width">
|
||||
|
||||
Reference in New Issue
Block a user