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 ImPlotLimits
{
public ImPlotRange X ;
public ImPlotRange Y ;
}
public unsafe partial struct ImPlotLimitsPtr
{
public ImPlotLimits * NativePtr { get ; }
public ImPlotLimitsPtr ( ImPlotLimits * nativePtr ) => NativePtr = nativePtr ;
public ImPlotLimitsPtr ( IntPtr nativePtr ) => NativePtr = ( ImPlotLimits *) nativePtr ;
public static implicit operator ImPlotLimitsPtr ( ImPlotLimits * nativePtr ) => new ImPlotLimitsPtr ( nativePtr );
public static implicit operator ImPlotLimits * ( ImPlotLimitsPtr wrappedPtr ) => wrappedPtr . NativePtr ;
public static implicit operator ImPlotLimitsPtr ( IntPtr nativePtr ) => new ImPlotLimitsPtr ( nativePtr );
public ref ImPlotRange X => ref Unsafe . AsRef < ImPlotRange >(& NativePtr -> X );
public ref ImPlotRange Y => ref Unsafe . AsRef < ImPlotRange >(& NativePtr -> Y );
public bool Contains ( ImPlotPoint p )
{
byte ret = ImPlotNative . ImPlotLimits_ContainsPlotPoInt (( ImPlotLimits *)( NativePtr ), p );
return ret != 0 ;
}
public bool Contains ( double x , double y )
{
byte ret = ImPlotNative . ImPlotLimits_Containsdouble (( ImPlotLimits *)( NativePtr ), x , y );
return ret != 0 ;
}
}
}
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