Difference between revisions of "ImGui.DrawList"
(2 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: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--> | [[ImGui.DrawList:getFontSize]] ''gets the draw list font size''<br/><!--GIDEROSMTD:ImGui.DrawList:getFontSize() gets the draw list font size--> | ||
Line 32: | Line 34: | ||
---- | ---- | ||
'''[[Dear ImGui]]''' | '''[[Dear ImGui]]''' | ||
+ | {{GIDEROS IMPORTANT LINKS}} |
Latest revision as of 13:05, 27 August 2024
Supported platforms:
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
MethodsImGui.DrawList:getBackgroundDrawList gets the background ImGui draw list ImGui.DrawList:addLine adds a line to an ImGui draw list |
EventsConstants |