ImGui::ImDrawList
Constructors
Instance methods
add_bezier_cubic(p1 : ImVec2, p2 : ImVec2, p3 : ImVec2, p4 : ImVec2, col : UInt32, thickness : Float32, num_segments : Int32 = 0) : Void
Sourceadd_bezier_quadratic(p1 : ImVec2, p2 : ImVec2, p3 : ImVec2, col : UInt32, thickness : Float32, num_segments : Int32 = 0) : Void
Sourceadd_callback
Sourceadd_circle(center : ImVec2, radius : Float32, col : UInt32, num_segments : Int32 = 0, thickness : Float32 = 1.0) : Void
Sourceadd_draw_cmd
Sourceadd_ellipse(center : ImVec2, radius : ImVec2, col : UInt32, rot : Float32 = 0.0, num_segments : Int32 = 0, thickness : Float32 = 1.0) : Void
Sourceadd_ellipse_filled(center : ImVec2, radius : ImVec2, col : UInt32, rot : Float32 = 0.0, num_segments : Int32 = 0) : Void
Sourceadd_image(user_texture_id : ImTextureID, p_min : ImVec2, p_max : ImVec2, uv_min : ImVec2 = ImVec2.new(0, 0), uv_max : ImVec2 = ImVec2.new(1, 1), col : UInt32 = 4294967295_i64) : Void
Sourceadd_image_quad(user_texture_id : ImTextureID, p1 : ImVec2, p2 : ImVec2, p3 : ImVec2, p4 : ImVec2, uv1 : ImVec2 = ImVec2.new(0, 0), uv2 : ImVec2 = ImVec2.new(1, 0), uv3 : ImVec2 = ImVec2.new(1, 1), uv4 : ImVec2 = ImVec2.new(0, 1), col : UInt32 = 4294967295_i64) : Void
Sourceadd_image_rounded(user_texture_id : ImTextureID, p_min : ImVec2, p_max : ImVec2, uv_min : ImVec2, uv_max : ImVec2, col : UInt32, rounding : Float32, flags : ImDrawFlags = ImDrawFlags.new(0)) : Void
Sourceadd_ngon(center : ImVec2, radius : Float32, col : UInt32, num_segments : Int32, thickness : Float32 = 1.0) : Void
Sourceadd_polyline(points : Pointer(ImVec2), num_points : Int32, col : UInt32, flags : ImDrawFlags, thickness : Float32) : Void
Sourceadd_quad(p1 : ImVec2, p2 : ImVec2, p3 : ImVec2, p4 : ImVec2, col : UInt32, thickness : Float32 = 1.0) : Void
Sourceadd_rect(p_min : ImVec2, p_max : ImVec2, col : UInt32, rounding : Float32 = 0.0, flags : ImDrawFlags = ImDrawFlags.new(0), thickness : Float32 = 1.0) : Void
Sourceadd_rect_filled(p_min : ImVec2, p_max : ImVec2, col : UInt32, rounding : Float32 = 0.0, flags : ImDrawFlags = ImDrawFlags.new(0)) : Void
Sourceadd_rect_filled_multi_color(p_min : ImVec2, p_max : ImVec2, col_upr_left : UInt32, col_upr_right : UInt32, col_bot_right : UInt32, col_bot_left : UInt32) : Void
Sourceadd_text(font : ImFont, font_size : Float32, pos : ImVec2, col : UInt32, text : Bytes | String, wrap_width : Float32 = 0.0, cpu_fine_clip_rect : Pointer(ImVec4) = Pointer(ImVec4).null) : Void
Sourcechannels_merge
Sourceclone_output
Sourcecmd_buffer
Sourcecmd_buffer=(cmd_buffer : ImVector(LibImGui::ImDrawCmd))
Sourceflags
Sourceflags=(flags : ImDrawListFlags)
Sourceget_clip_rect_max
Sourceget_clip_rect_min
Sourceidx_buffer
Sourceidx_buffer=(idx_buffer : ImVector(ImDrawIdx))
Sourcepath_arc_to(center : ImVec2, radius : Float32, a_min : Float32, a_max : Float32, num_segments : Int32 = 0) : Void
Sourcepath_arc_to_fast(center : ImVec2, radius : Float32, a_min_of_12 : Int32, a_max_of_12 : Int32) : Void
Sourcepath_clear
Sourcepath_elliptical_arc_to(center : ImVec2, radius : ImVec2, rot : Float32, a_min : Float32, a_max : Float32, num_segments : Int32 = 0) : Void
Sourcepath_line_to(pos : ImVec2) : Void
Sourcepath_line_to_merge_duplicate(pos : ImVec2) : Void
Sourcepath_rect(rect_min : ImVec2, rect_max : ImVec2, rounding : Float32 = 0.0, flags : ImDrawFlags = ImDrawFlags.new(0)) : Void
Sourcepath_stroke(col : UInt32, flags : ImDrawFlags = ImDrawFlags.new(0), thickness : Float32 = 1.0) : Void
Sourcepop_clip_rect
Sourcepop_texture_id
Sourceprim_quad_uv(a : ImVec2, b : ImVec2, c : ImVec2, d : ImVec2, uv_a : ImVec2, uv_b : ImVec2, uv_c : ImVec2, uv_d : ImVec2, col : UInt32) : Void
Sourceprim_write_idx(idx : ImDrawIdx) : Void
Sourcepush_clip_rect(clip_rect_min : ImVec2, clip_rect_max : ImVec2, intersect_with_current_clip_rect : Bool = false) : Void
Sourcepush_clip_rect_full_screen
Sourcepush_texture_id(texture_id : ImTextureID) : Void
Sourceto_unsafe
Sourcevtx_buffer
Sourcevtx_buffer=(vtx_buffer : ImVector(ImDrawVert))
Source