mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
33 lines
1.4 KiB
C#
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);
|
|
}
|
|
}
|