mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
3 changed files with 784842 additions and 0 deletions
20853
Brutal.ImPlot/Generated/Functions/ImPlot.gen.cs
Normal file
20853
Brutal.ImPlot/Generated/Functions/ImPlot.gen.cs
Normal file
File diff suppressed because it is too large
Load diff
50
Brutal.ImPlot/Generated/Functions/ImPlotRange.gen.cs
Normal file
50
Brutal.ImPlot/Generated/Functions/ImPlotRange.gen.cs
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi
|
||||
{
|
||||
public static partial class ImPlotRangeExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L489">implot.h:489</see><br/>
|
||||
/// <c>bool Contains(double value) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Range defined by a min/max value.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static unsafe bool Contains(this ImPlotRangePtr target, double value) =>
|
||||
PInvoke.ImPlotRange_Contains(target, value);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L490">implot.h:490</see><br/>
|
||||
/// <c>double Size() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Range defined by a min/max value.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static unsafe double Size(this ImPlotRangePtr target) => PInvoke.ImPlotRange_Size(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L491">implot.h:491</see><br/>
|
||||
/// <c>double Clamp(double value) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Range defined by a min/max value.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static unsafe double Clamp(this ImPlotRangePtr target, double value) =>
|
||||
PInvoke.ImPlotRange_Clamp(target, value);
|
||||
}
|
||||
}
|
||||
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