Difference between revisions of "ImGui.DrawList"
(One intermediate revision by the same user not shown) | |||
Line 20: | Line 20: | ||
[[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--> |
Latest revision as of 01:42, 1 May 2021
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 |