Please enable JavaScript to use RhodeCode Enterprise
Commit Description:
Add issue.
Commit Description:
Add issue.
using System ;
using System.Numerics ;
using System.Runtime.CompilerServices ;
using System.Text ;
using ImGuiNET ;
namespace ImPlotNET
{
public unsafe partial struct ImPlotRange
{
public double Min ;
public double Max ;
}
public unsafe partial struct ImPlotRangePtr
{
public ImPlotRange * NativePtr { get ; }
public ImPlotRangePtr ( ImPlotRange * nativePtr ) => NativePtr = nativePtr ;
public ImPlotRangePtr ( IntPtr nativePtr ) => NativePtr = ( ImPlotRange *) nativePtr ;
public static implicit operator ImPlotRangePtr ( ImPlotRange * nativePtr ) => new ImPlotRangePtr ( nativePtr );
public static implicit operator ImPlotRange * ( ImPlotRangePtr wrappedPtr ) => wrappedPtr . NativePtr ;
public static implicit operator ImPlotRangePtr ( IntPtr nativePtr ) => new ImPlotRangePtr ( nativePtr );
public ref double Min => ref Unsafe . AsRef < double >(& NativePtr -> Min );
public ref double Max => ref Unsafe . AsRef < double >(& NativePtr -> Max );
public bool Contains ( double value )
{
byte ret = ImPlotNative . ImPlotRange_Contains (( ImPlotRange *)( NativePtr ), value );
return ret != 0 ;
}
public void Destroy ()
{
ImPlotNative . ImPlotRange_destroy (( ImPlotRange *)( NativePtr ));
}
public double Size ()
{
double ret = ImPlotNative . ImPlotRange_Size (( ImPlotRange *)( NativePtr ));
return ret ;
}
}
}
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository permissions settings