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

33 lines
1.4 KiB
C#

// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
public static partial class ImGuiStyleExtensions
{
/// <summary>
/// <para>
/// Scale all spacing/padding/thickness values. Do not scale fonts.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2408">imgui.h:2408</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L1494">imgui.cpp:1494</see>
/// <br/><c>void ScaleAllSizes(float scale_factor)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Functions
/// </para>
/// <code>
/// Scale all spacing/padding/thickness values. Do not scale fonts.
/// Important: This operation is lossy because we round all sizes to integer. If you need to change your scale multiples, call this over a freshly initialized ImGuiStyle structure rather than scaling multiple times.
/// </code>
/// </remarks>
public static unsafe void ScaleAllSizes(this ImGuiStylePtr target, float scaleFactor) =>
PInvoke.ImGuiStyle_ScaleAllSizes(target, scaleFactor);
}
}