struct

ImGui::ImDrawList

Inherits ImGui::ClassType < Struct < Value < Object

Constructors

new(shared_data : ImDrawListSharedData) : ImDrawList
Source

Instance methods

add_bezier_cubic(p1 : ImVec2, p2 : ImVec2, p3 : ImVec2, p4 : ImVec2, col : UInt32, thickness : Float32, num_segments : Int32 = 0) : Void
Source
add_bezier_quadratic(p1 : ImVec2, p2 : ImVec2, p3 : ImVec2, col : UInt32, thickness : Float32, num_segments : Int32 = 0) : Void
Source
add_callback(callback : ImDrawCallback, callback_data : Pointer(Void)) : Void
Source
add_callback
Source
add_circle(center : ImVec2, radius : Float32, col : UInt32, num_segments : Int32 = 0, thickness : Float32 = 1.0) : Void
Source
add_circle_filled(center : ImVec2, radius : Float32, col : UInt32, num_segments : Int32 = 0) : Void
Source
add_concave_poly_filled(points : Pointer(ImVec2), num_points : Int32, col : UInt32) : Void
Source
add_convex_poly_filled(points : Pointer(ImVec2), num_points : Int32, col : UInt32) : Void
Source
add_draw_cmd
Source
add_ellipse(center : ImVec2, radius : ImVec2, col : UInt32, rot : Float32 = 0.0, num_segments : Int32 = 0, thickness : Float32 = 1.0) : Void
Source
add_ellipse_filled(center : ImVec2, radius : ImVec2, col : UInt32, rot : Float32 = 0.0, num_segments : Int32 = 0) : Void
Source
add_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
Source
add_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
Source
add_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
Source
add_line(p1 : ImVec2, p2 : ImVec2, col : UInt32, thickness : Float32 = 1.0) : Void
Source
add_ngon(center : ImVec2, radius : Float32, col : UInt32, num_segments : Int32, thickness : Float32 = 1.0) : Void
Source
add_ngon_filled(center : ImVec2, radius : Float32, col : UInt32, num_segments : Int32) : Void
Source
add_polyline(points : Pointer(ImVec2), num_points : Int32, col : UInt32, flags : ImDrawFlags, thickness : Float32) : Void
Source
add_quad(p1 : ImVec2, p2 : ImVec2, p3 : ImVec2, p4 : ImVec2, col : UInt32, thickness : Float32 = 1.0) : Void
Source
add_quad_filled(p1 : ImVec2, p2 : ImVec2, p3 : ImVec2, p4 : ImVec2, col : UInt32) : Void
Source
add_rect(p_min : ImVec2, p_max : ImVec2, col : UInt32, rounding : Float32 = 0.0, flags : ImDrawFlags = ImDrawFlags.new(0), thickness : Float32 = 1.0) : Void
Source
add_rect_filled(p_min : ImVec2, p_max : ImVec2, col : UInt32, rounding : Float32 = 0.0, flags : ImDrawFlags = ImDrawFlags.new(0)) : Void
Source
add_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
Source
add_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
Source
add_text(pos : ImVec2, col : UInt32, text : Bytes | String) : Void
Source
add_triangle(p1 : ImVec2, p2 : ImVec2, p3 : ImVec2, col : UInt32, thickness : Float32 = 1.0) : Void
Source
add_triangle_filled(p1 : ImVec2, p2 : ImVec2, p3 : ImVec2, col : UInt32) : Void
Source
channels_merge
Source
channels_set_current(n : Int32) : Void
Source
channels_split(count : Int32) : Void
Source
clone_output
Source
cmd_buffer
Source
cmd_buffer=(cmd_buffer : ImVector(LibImGui::ImDrawCmd))
Source
flags
Source
flags=(flags : ImDrawListFlags)
Source
get_clip_rect_max
Source
get_clip_rect_min
Source
idx_buffer
Source
idx_buffer=(idx_buffer : ImVector(ImDrawIdx))
Source
path_arc_to(center : ImVec2, radius : Float32, a_min : Float32, a_max : Float32, num_segments : Int32 = 0) : Void
Source
path_arc_to_fast(center : ImVec2, radius : Float32, a_min_of_12 : Int32, a_max_of_12 : Int32) : Void
Source
path_bezier_cubic_curve_to(p2 : ImVec2, p3 : ImVec2, p4 : ImVec2, num_segments : Int32 = 0) : Void
Source
path_bezier_quadratic_curve_to(p2 : ImVec2, p3 : ImVec2, num_segments : Int32 = 0) : Void
Source
path_clear
Source
path_elliptical_arc_to(center : ImVec2, radius : ImVec2, rot : Float32, a_min : Float32, a_max : Float32, num_segments : Int32 = 0) : Void
Source
path_fill_concave(col : UInt32) : Void
Source
path_fill_convex(col : UInt32) : Void
Source
path_line_to(pos : ImVec2) : Void
Source
path_line_to_merge_duplicate(pos : ImVec2) : Void
Source
path_rect(rect_min : ImVec2, rect_max : ImVec2, rounding : Float32 = 0.0, flags : ImDrawFlags = ImDrawFlags.new(0)) : Void
Source
path_stroke(col : UInt32, flags : ImDrawFlags = ImDrawFlags.new(0), thickness : Float32 = 1.0) : Void
Source
pop_clip_rect
Source
pop_texture_id
Source
prim_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
Source
prim_rect(a : ImVec2, b : ImVec2, col : UInt32) : Void
Source
prim_rect_uv(a : ImVec2, b : ImVec2, uv_a : ImVec2, uv_b : ImVec2, col : UInt32) : Void
Source
prim_reserve(idx_count : Int32, vtx_count : Int32) : Void
Source
prim_unreserve(idx_count : Int32, vtx_count : Int32) : Void
Source
prim_vtx(pos : ImVec2, uv : ImVec2, col : UInt32) : Void
Source
prim_write_idx(idx : ImDrawIdx) : Void
Source
prim_write_vtx(pos : ImVec2, uv : ImVec2, col : UInt32) : Void
Source
push_clip_rect(clip_rect_min : ImVec2, clip_rect_max : ImVec2, intersect_with_current_clip_rect : Bool = false) : Void
Source
push_clip_rect_full_screen
Source
push_texture_id(texture_id : ImTextureID) : Void
Source
to_unsafe
Source
vtx_buffer
Source
vtx_buffer=(vtx_buffer : ImVector(ImDrawVert))
Source