Difference between revisions of "ImGui.DrawList"

From GiderosMobile
 
(3 intermediate revisions by the same user not shown)
Line 10: Line 10:
  
 
'''PLEASE NOTE THE DOCUMENTATION IS WORK IN PROGRESS'''
 
'''PLEASE NOTE THE DOCUMENTATION IS WORK IN PROGRESS'''
 
  
 
{|-
 
{|-
Line 20: Line 19:
  
 
[[ImGui.DrawList:addLine]] ''adds a line to an ImGui draw list''<br/><!--GIDEROSMTD:ImGui.DrawList:addLine(p1, p2, color, alpha, thickness) adds a line to an ImGui draw list-->
 
[[ImGui.DrawList:addLine]] ''adds a line to an ImGui draw list''<br/><!--GIDEROSMTD:ImGui.DrawList:addLine(p1, p2, color, alpha, thickness) adds a line to an ImGui draw list-->
 +
[[ImGui.DrawList:addRect]] ''adds a rectangle to an ImGui draw list''<br/><!--GIDEROSMTD:ImGui.DrawList:addRect((p_min_x, p_min_y, p_max_x, p_max_y, color, [rounding=0, rounding_corners=ImGui.CornerFlags_All, thickness=1]) adds a rectangle to an ImGui draw list-->
 +
[[ImGui.DrawList:getCircleSegmentMaxError]] ''gets the draw list max circle segment error''<br/><!--GIDEROSMTD:ImGui.DrawList:getCircleSegmentMaxError() gets the draw list max circle segment error-->
 +
[[ImGui.DrawList:getCurveTessellationTol]] ''gets the draw list curve tessellation tolerance''<br/><!--GIDEROSMTD:ImGui.DrawList:getCurveTessellationTol() gets the draw list curve tessellation tolerance-->
 +
[[ImGui.DrawList:getFont]] ''gets the draw list font''<br/><!--GIDEROSMTD:ImGui.DrawList:getFont() gets the draw list font-->
 +
[[ImGui.DrawList:getFontSize]] ''gets the draw list font size''<br/><!--GIDEROSMTD:ImGui.DrawList:getFontSize() gets the draw list font size-->
  
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
Line 30: Line 34:
 
----
 
----
 
'''[[Dear ImGui]]'''
 
'''[[Dear ImGui]]'''
 +
{{GIDEROS IMPORTANT LINKS}}

Latest revision as of 13:05, 27 August 2024

Supported platforms: Platform android.pngPlatform ios.pngPlatform mac.pngPlatform pc.pngPlatform html5.pngPlatform winrt.pngPlatform win32.png
Available since: Gideros 2020.9

Description

This is the ImGui DrawList class.

This class gets the draw list associated to the current window, to append your own drawing primitives.


PLEASE NOTE THE DOCUMENTATION IS WORK IN PROGRESS

Methods

ImGui.DrawList:getBackgroundDrawList gets the background ImGui draw list
ImGui.DrawList:getForegroundDrawList gets the foreground ImGui draw list
ImGui.DrawList:getWindowDrawList gets the window ImGui draw list

ImGui.DrawList:addLine adds a line to an ImGui draw list
ImGui.DrawList:addRect adds a rectangle to an ImGui draw list
ImGui.DrawList:getCircleSegmentMaxError gets the draw list max circle segment error
ImGui.DrawList:getCurveTessellationTol gets the draw list curve tessellation tolerance
ImGui.DrawList:getFont gets the draw list font
ImGui.DrawList:getFontSize gets the draw list font size

Events

Constants


Dear ImGui