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