//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi
{
///
///
/// C++: implot.h:495
/// struct ImPlotRect {
///
///
///
///
/// Combination of two range limits for X and Y axes. Also an AABB defined by Min()/Max().
///
///
[StructLayout(LayoutKind.Explicit, Size = 32)]
public partial struct ImPlotRect
{
///
///
/// C++: implot.h:496
/// ImPlotRange X
///
///
///
///
/// Combination of two range limits for X and Y axes. Also an AABB defined by Min()/Max().
///
///
[FieldOffset(0)]
public ImPlotRange X;
///
///
/// C++: implot.h:496
/// ImPlotRange X, Y
///
///
///
///
/// Combination of two range limits for X and Y axes. Also an AABB defined by Min()/Max().
///
///
[FieldOffset(16)]
public ImPlotRange Y;
}
///
///
/// C++: implot.h:495
/// struct ImPlotRect {
///
///
///
///
/// Combination of two range limits for X and Y axes. Also an AABB defined by Min()/Max().
///
///
public unsafe partial struct ImPlotRectPtr(ImPlotRect* ptr) : INullable
{
private ImPlotRect* _ptr = ptr;
public ImPlotRect* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImPlotRectPtr(ImPlotRect* ptr) => new(ptr);
public static implicit operator ImPlotRect*(ImPlotRectPtr wrapper) => wrapper.Ptr;
///
///
/// C++: implot.h:496
/// ImPlotRange X
///
///
///
///
/// Combination of two range limits for X and Y axes. Also an AABB defined by Min()/Max().
///
///
public ref ImPlotRange X => ref Unsafe.AsRef(&_ptr->X);
///
///
/// C++: implot.h:496
/// ImPlotRange X, Y
///
///
///
///
/// Combination of two range limits for X and Y axes. Also an AABB defined by Min()/Max().
///
///
public ref ImPlotRange Y => ref Unsafe.AsRef(&_ptr->Y);
}
}