Difference between revisions of "ImGui.DrawList:getCircleSegmentMaxError"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
Line 7: | Line 7: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
(number) = ImGui.DrawList:getCircleSegmentMaxError() | (number) = ImGui.DrawList:getCircleSegmentMaxError() | ||
− | </ | + | </syntaxhighlight> |
=== Return values === | === Return values === | ||
Line 14: | Line 14: | ||
=== Example === | === Example === | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
− | </ | + | </syntaxhighlight> |
{{ImGui.DrawList}} | {{ImGui.DrawList}} |
Latest revision as of 15:29, 13 July 2023
Available since: Gideros 2020.9
Class: ImGui.DrawList
Description
Gets the maximum error (in pixels) allowed when using AddCircle()/AddCircleFilled() or drawing rounded corner rectangles with no explicit segment count specified. Decrease for higher quality but more geometry.
(number) = ImGui.DrawList:getCircleSegmentMaxError()
Return values
Returns (number) the circle maximum segment error
Example