ImDrawList_AddText2
Definition
-- @/lua/common/extensions/ui/imgui_gen_luaintf.lua:2066
function M.ImDrawList_AddText2(ImDrawList_ctx, ImFont_font, float_font_size, ImVec2_pos, ImU32_col, string_text_begin, string_text_end, float_wrap_width, ImVec4_cpu_fine_clip_rect)
-- string_text_end is optional and can be nil
if float_wrap_width == nil then float_wrap_width = 0 end
-- ImVec4_cpu_fine_clip_rect is optional and can be nil
if ImFont_font == nil then log("E", "", "Parameter 'ImFont_font' of function 'AddText2' cannot be nil, as the c type is 'const ImFont *'") ; return end
if string_text_begin == nil then log("E", "", "Parameter 'string_text_begin' of function 'AddText2' cannot be nil, as the c type is 'const char *'") ; return end
ImDrawList_ctx:AddText2(ImFont_font, float_font_size, ImVec2_pos, ImU32_col, string_text_begin, string_text_end, float_wrap_width, ImVec4_cpu_fine_clip_rect)
end
Callers