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

265 lines
12 KiB
C#

// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3304">imgui.h:3304</see>
/// <br/><c>enum ImDrawFlags_</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImDrawList functions
/// (Legacy: bit 0 must always correspond to ImDrawFlags_Closed to be backward compatible with old API using a bool. Bits 1..3 must be unused)
/// </code>
/// </remarks>
[Flags]
public enum ImDrawFlags : int
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3306">imgui.h:3306</see>
/// <br/><c>ImDrawFlags_None = 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImDrawList functions
/// (Legacy: bit 0 must always correspond to ImDrawFlags_Closed to be backward compatible with old API using a bool. Bits 1..3 must be unused)
/// </code>
/// </remarks>
None = 0,
/// <summary>
/// <para>
/// PathStroke(), AddPolyline(): specify that shape should be closed (Important: this is always == 1 for
/// legacy reason)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3307">imgui.h:3307</see>
/// <br/><c>ImDrawFlags_Closed = 1 &lt;&lt; 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImDrawList functions
/// (Legacy: bit 0 must always correspond to ImDrawFlags_Closed to be backward compatible with old API using a bool. Bits 1..3 must be unused)
/// </code>
/// </remarks>
Closed = 1 << 0,
/// <summary>
/// <para>
/// AddRect(), AddRectFilled(), PathRect(): enable rounding top-left corner only (when rounding &gt; 0.0f,
/// we default to all corners). Was 0x01.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3308">imgui.h:3308</see>
/// <br/><c>ImDrawFlags_RoundCornersTopLeft = 1 &lt;&lt; 4</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImDrawList functions
/// (Legacy: bit 0 must always correspond to ImDrawFlags_Closed to be backward compatible with old API using a bool. Bits 1..3 must be unused)
/// </code>
/// </remarks>
RoundCornersTopLeft = 1 << 4,
/// <summary>
/// <para>
/// AddRect(), AddRectFilled(), PathRect(): enable rounding top-right corner only (when rounding &gt; 0.0f,
/// we default to all corners). Was 0x02.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3309">imgui.h:3309</see>
/// <br/><c>ImDrawFlags_RoundCornersTopRight = 1 &lt;&lt; 5</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImDrawList functions
/// (Legacy: bit 0 must always correspond to ImDrawFlags_Closed to be backward compatible with old API using a bool. Bits 1..3 must be unused)
/// </code>
/// </remarks>
RoundCornersTopRight = 1 << 5,
/// <summary>
/// <para>
/// AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-left corner only (when rounding &gt;
/// 0.0f, we default to all corners). Was 0x04.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3310">imgui.h:3310</see>
/// <br/><c>ImDrawFlags_RoundCornersBottomLeft = 1 &lt;&lt; 6</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImDrawList functions
/// (Legacy: bit 0 must always correspond to ImDrawFlags_Closed to be backward compatible with old API using a bool. Bits 1..3 must be unused)
/// </code>
/// </remarks>
RoundCornersBottomLeft = 1 << 6,
/// <summary>
/// <para>
/// AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-right corner only (when rounding &gt;
/// 0.0f, we default to all corners). Wax 0x08.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3311">imgui.h:3311</see>
/// <br/><c>ImDrawFlags_RoundCornersBottomRight = 1 &lt;&lt; 7</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImDrawList functions
/// (Legacy: bit 0 must always correspond to ImDrawFlags_Closed to be backward compatible with old API using a bool. Bits 1..3 must be unused)
/// </code>
/// </remarks>
RoundCornersBottomRight = 1 << 7,
/// <summary>
/// <para>
/// AddRect(), AddRectFilled(), PathRect(): disable rounding on all corners (when rounding &gt; 0.0f). This
/// is NOT zero, NOT an implicit flag!
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3312">imgui.h:3312</see>
/// <br/><c>ImDrawFlags_RoundCornersNone = 1 &lt;&lt; 8</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImDrawList functions
/// (Legacy: bit 0 must always correspond to ImDrawFlags_Closed to be backward compatible with old API using a bool. Bits 1..3 must be unused)
/// </code>
/// </remarks>
RoundCornersNone = 1 << 8,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3313">imgui.h:3313</see>
/// <br/>
/// <c>ImDrawFlags_RoundCornersTop = ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImDrawList functions
/// (Legacy: bit 0 must always correspond to ImDrawFlags_Closed to be backward compatible with old API using a bool. Bits 1..3 must be unused)
/// </code>
/// </remarks>
RoundCornersTop = RoundCornersTopLeft | RoundCornersTopRight,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3314">imgui.h:3314</see>
/// <br/>
/// <c>ImDrawFlags_RoundCornersBottom = ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImDrawList functions
/// (Legacy: bit 0 must always correspond to ImDrawFlags_Closed to be backward compatible with old API using a bool. Bits 1..3 must be unused)
/// </code>
/// </remarks>
RoundCornersBottom = RoundCornersBottomLeft | RoundCornersBottomRight,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3315">imgui.h:3315</see>
/// <br/>
/// <c>ImDrawFlags_RoundCornersLeft = ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersTopLeft</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImDrawList functions
/// (Legacy: bit 0 must always correspond to ImDrawFlags_Closed to be backward compatible with old API using a bool. Bits 1..3 must be unused)
/// </code>
/// </remarks>
RoundCornersLeft = RoundCornersBottomLeft | RoundCornersTopLeft,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3316">imgui.h:3316</see>
/// <br/>
/// <c>ImDrawFlags_RoundCornersRight = ImDrawFlags_RoundCornersBottomRight | ImDrawFlags_RoundCornersTopRight</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImDrawList functions
/// (Legacy: bit 0 must always correspond to ImDrawFlags_Closed to be backward compatible with old API using a bool. Bits 1..3 must be unused)
/// </code>
/// </remarks>
RoundCornersRight = RoundCornersBottomRight | RoundCornersTopRight,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3317">imgui.h:3317</see>
/// <br/>
/// <c>ImDrawFlags_RoundCornersAll = ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight | ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImDrawList functions
/// (Legacy: bit 0 must always correspond to ImDrawFlags_Closed to be backward compatible with old API using a bool. Bits 1..3 must be unused)
/// </code>
/// </remarks>
RoundCornersAll = RoundCornersTopLeft | RoundCornersTopRight | RoundCornersBottomLeft | RoundCornersBottomRight,
/// <summary>
/// <para>
/// Default to ALL corners if none of the _RoundCornersXX flags are specified.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3318">imgui.h:3318</see>
/// <br/><c>ImDrawFlags_RoundCornersDefault_ = ImDrawFlags_RoundCornersAll</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImDrawList functions
/// (Legacy: bit 0 must always correspond to ImDrawFlags_Closed to be backward compatible with old API using a bool. Bits 1..3 must be unused)
/// </code>
/// </remarks>
RoundCornersDefault = RoundCornersAll,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3319">imgui.h:3319</see>
/// <br/><c>ImDrawFlags_RoundCornersMask_ = ImDrawFlags_RoundCornersAll | ImDrawFlags_RoundCornersNone</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImDrawList functions
/// (Legacy: bit 0 must always correspond to ImDrawFlags_Closed to be backward compatible with old API using a bool. Bits 1..3 must be unused)
/// </code>
/// </remarks>
RoundCornersMask = RoundCornersAll | RoundCornersNone,
}
}