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")
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.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = ImGui.DrawList:getCircleSegmentMaxError()
 
(number) = ImGui.DrawList:getCircleSegmentMaxError()
 
</source>
 
</source>
Line 13: Line 13:
  
 
=== Example ===
 
=== Example ===
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
</source>
 
</source>
  
 
{{ImGui.DrawList}}
 
{{ImGui.DrawList}}

Revision as of 15:28, 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. <syntaxhighlight lang="lua"> (number) = ImGui.DrawList:getCircleSegmentMaxError() </source>

Return values

Returns (number) the circle maximum segment error

Example

<syntaxhighlight lang="lua"> </source>