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

31 lines
1.2 KiB
C#

// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImPlotApi.Internal
{
public unsafe partial class PInvoke
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1416">implot_internal.h:1416</see>
/// , <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L556">implot.cpp:556</see><br/>
/// <c>ImVec2 GetLocationPos(const ImRect&amp; outer_rect, const ImVec2&amp; inner_size, ImPlotLocation location, const ImVec2&amp; pad = ImVec2(0,0))</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Gets the position of an inner rect that is located inside of an outer rect according to an
/// ImPlotLocation and padding amount.
/// </para>
/// </remarks>
[LibraryImport("implot")]
public static unsafe partial float2 GetLocationPos_internal(
floatRect* outer_rect,
float2* inner_size,
ImPlotLocation location,
float2* pad
);
}
}