mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
114
Brutal.ImPlot/Generated/Functions/ImPlotRect.gen.cs
Normal file
114
Brutal.ImPlot/Generated/Functions/ImPlotRect.gen.cs
Normal file
|
|
@ -0,0 +1,114 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi
|
||||
{
|
||||
public static partial class ImPlotRectExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L499">implot.h:499</see><br/>
|
||||
/// <c>bool Contains(const ImPlotPoint& p) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Combination of two range limits for X and Y axes. Also an AABB defined by Min()/Max().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static unsafe bool Contains(this ImPlotRectPtr target, in double2 p)
|
||||
{
|
||||
fixed (double2* p_fixed = &p)
|
||||
{
|
||||
return PInvoke.ImPlotRect_Contains_0(target, p_fixed);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L500">implot.h:500</see><br/>
|
||||
/// <c>bool Contains(double x, double y) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Combination of two range limits for X and Y axes. Also an AABB defined by Min()/Max().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static unsafe bool Contains(this ImPlotRectPtr target, double x, double y) =>
|
||||
PInvoke.ImPlotRect_Contains_1(target, x, y);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L501">implot.h:501</see><br/>
|
||||
/// <c>ImPlotPoint Size() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Combination of two range limits for X and Y axes. Also an AABB defined by Min()/Max().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static unsafe double2 Size(this ImPlotRectPtr target) => PInvoke.ImPlotRect_Size(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L502">implot.h:502</see><br/>
|
||||
/// <c>ImPlotPoint Clamp(const ImPlotPoint& p)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Combination of two range limits for X and Y axes. Also an AABB defined by Min()/Max().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static unsafe double2 Clamp(this ImPlotRectPtr target, in double2 p)
|
||||
{
|
||||
fixed (double2* p_fixed = &p)
|
||||
{
|
||||
return PInvoke.ImPlotRect_Clamp_0(target, p_fixed);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L503">implot.h:503</see><br/>
|
||||
/// <c>ImPlotPoint Clamp(double x, double y)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Combination of two range limits for X and Y axes. Also an AABB defined by Min()/Max().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static unsafe double2 Clamp(this ImPlotRectPtr target, double x, double y) =>
|
||||
PInvoke.ImPlotRect_Clamp_1(target, x, y);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L504">implot.h:504</see><br/>
|
||||
/// <c>ImPlotPoint Min() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Combination of two range limits for X and Y axes. Also an AABB defined by Min()/Max().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static unsafe double2 Min(this ImPlotRectPtr target) => PInvoke.ImPlotRect_Min(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L505">implot.h:505</see><br/>
|
||||
/// <c>ImPlotPoint Max() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Combination of two range limits for X and Y axes. Also an AABB defined by Min()/Max().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static unsafe double2 Max(this ImPlotRectPtr target) => PInvoke.ImPlotRect_Max(target);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue