Difference between revisions of "ImGui.DrawList:getCircleSegmentMaxError"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2020.9<br/> '''Class:''' ImGui.DrawList<br/> === Description === Gets the maximum error (in pixels) allowed when using AddCircle(...") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
=== Description === | === 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. | 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. | ||
− | < | + | <syntaxhighlight lang="lua"> |
(number) = ImGui.DrawList:getCircleSegmentMaxError() | (number) = ImGui.DrawList:getCircleSegmentMaxError() | ||
− | </ | + | </syntaxhighlight> |
=== Return values === | === Return values === | ||
Line 13: | Line 13: | ||
=== Example === | === Example === | ||
− | < | + | <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