brutal/Brutal.ImGui/Generated/PInvoke/CalcTextSize.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

39 lines
1.5 KiB
C#

// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
public partial class ImGui
{
public unsafe partial class PInvoke
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1069">imgui.h:1069</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L6205">imgui.cpp:6205</see>
/// <br/>
/// <c>ImVec2 CalcTextSize(const char* text, const char* text_end = NULL, bool hide_text_after_double_hash = false, float wrap_width = -1.0f)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Text Utilities
/// </para>
/// <code>
/// Calculate text size. Text can be multi-line. Optionally ignore text after a ## marker.
/// CalcTextSize("") should return ImVec2(0.0f, g.FontSize)
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial float2 CalcTextSize(
byte* text,
byte* text_end,
Bool8 hide_text_after_double_hash,
float wrap_width
);
}
}
}