// ------------------------------------------------------------------------------ // // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // // ------------------------------------------------------------------------------ using System; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using HexaGen.Runtime; using System.Numerics; using Dalamud.Bindings.ImGui; namespace Dalamud.Bindings.ImPlot { /// /// To be documented. /// [StructLayout(LayoutKind.Sequential)] public partial struct ImPlotAxis { /// /// To be documented. /// public uint ID; /// /// To be documented. /// public ImPlotAxisFlags Flags; /// /// To be documented. /// public ImPlotAxisFlags PreviousFlags; /// /// To be documented. /// public ImPlotRange Range; /// /// To be documented. /// public ImPlotCond RangeCond; /// /// To be documented. /// public ImPlotScale Scale; /// /// To be documented. /// public ImPlotRange FitExtents; /// /// To be documented. /// public unsafe ImPlotAxis* OrthoAxis; /// /// To be documented. /// public ImPlotRange ConstraintRange; /// /// To be documented. /// public ImPlotRange ConstraintZoom; /// /// To be documented. /// public ImPlotTicker Ticker; /// /// To be documented. /// public unsafe void* Formatter; /// /// To be documented. /// public unsafe void* FormatterData; /// /// To be documented. /// public byte FormatSpec_0; public byte FormatSpec_1; public byte FormatSpec_2; public byte FormatSpec_3; public byte FormatSpec_4; public byte FormatSpec_5; public byte FormatSpec_6; public byte FormatSpec_7; public byte FormatSpec_8; public byte FormatSpec_9; public byte FormatSpec_10; public byte FormatSpec_11; public byte FormatSpec_12; public byte FormatSpec_13; public byte FormatSpec_14; public byte FormatSpec_15; /// /// To be documented. /// public unsafe void* Locator; /// /// To be documented. /// public unsafe double* LinkedMin; /// /// To be documented. /// public unsafe double* LinkedMax; /// /// To be documented. /// public int PickerLevel; /// /// To be documented. /// public ImPlotTime PickerTimeMin; /// /// To be documented. /// public ImPlotTime PickerTimeMax; /// /// To be documented. /// public unsafe void* TransformForward; /// /// To be documented. /// public unsafe void* TransformInverse; /// /// To be documented. /// public unsafe void* TransformData; /// /// To be documented. /// public float PixelMin; /// /// To be documented. /// public float PixelMax; /// /// To be documented. /// public double ScaleMin; /// /// To be documented. /// public double ScaleMax; /// /// To be documented. /// public double ScaleToPixel; /// /// To be documented. /// public float Datum1; /// /// To be documented. /// public float Datum2; /// /// To be documented. /// public ImRect HoverRect; /// /// To be documented. /// public int LabelOffset; /// /// To be documented. /// public uint ColorMaj; /// /// To be documented. /// public uint ColorMin; /// /// To be documented. /// public uint ColorTick; /// /// To be documented. /// public uint ColorTxt; /// /// To be documented. /// public uint ColorBg; /// /// To be documented. /// public uint ColorHov; /// /// To be documented. /// public uint ColorAct; /// /// To be documented. /// public uint ColorHiLi; /// /// To be documented. /// public byte Enabled; /// /// To be documented. /// public byte Vertical; /// /// To be documented. /// public byte FitThisFrame; /// /// To be documented. /// public byte HasRange; /// /// To be documented. /// public byte HasFormatSpec; /// /// To be documented. /// public byte ShowDefaultTicks; /// /// To be documented. /// public byte Hovered; /// /// To be documented. /// public byte Held; /// /// To be documented. /// public unsafe ImPlotAxis(uint id = default, ImPlotAxisFlags flags = default, ImPlotAxisFlags previousFlags = default, ImPlotRange range = default, ImPlotCond rangeCond = default, ImPlotScale scale = default, ImPlotRange fitExtents = default, ImPlotAxis* orthoAxis = default, ImPlotRange constraintRange = default, ImPlotRange constraintZoom = default, ImPlotTicker ticker = default, ImPlotFormatter formatter = default, void* formatterData = default, byte* formatSpec = default, ImPlotLocator locator = default, double* linkedMin = default, double* linkedMax = default, int pickerLevel = default, ImPlotTime pickerTimeMin = default, ImPlotTime pickerTimeMax = default, ImPlotTransform transformForward = default, ImPlotTransform transformInverse = default, void* transformData = default, float pixelMin = default, float pixelMax = default, double scaleMin = default, double scaleMax = default, double scaleToPixel = default, float datum1 = default, float datum2 = default, ImRect hoverRect = default, int labelOffset = default, uint colorMaj = default, uint colorMin = default, uint colorTick = default, uint colorTxt = default, uint colorBg = default, uint colorHov = default, uint colorAct = default, uint colorHiLi = default, bool enabled = default, bool vertical = default, bool fitThisFrame = default, bool hasRange = default, bool hasFormatSpec = default, bool showDefaultTicks = default, bool hovered = default, bool held = default) { ID = id; Flags = flags; PreviousFlags = previousFlags; Range = range; RangeCond = rangeCond; Scale = scale; FitExtents = fitExtents; OrthoAxis = orthoAxis; ConstraintRange = constraintRange; ConstraintZoom = constraintZoom; Ticker = ticker; Formatter = (void*)Marshal.GetFunctionPointerForDelegate(formatter); FormatterData = formatterData; if (formatSpec != default(byte*)) { FormatSpec_0 = formatSpec[0]; FormatSpec_1 = formatSpec[1]; FormatSpec_2 = formatSpec[2]; FormatSpec_3 = formatSpec[3]; FormatSpec_4 = formatSpec[4]; FormatSpec_5 = formatSpec[5]; FormatSpec_6 = formatSpec[6]; FormatSpec_7 = formatSpec[7]; FormatSpec_8 = formatSpec[8]; FormatSpec_9 = formatSpec[9]; FormatSpec_10 = formatSpec[10]; FormatSpec_11 = formatSpec[11]; FormatSpec_12 = formatSpec[12]; FormatSpec_13 = formatSpec[13]; FormatSpec_14 = formatSpec[14]; FormatSpec_15 = formatSpec[15]; } Locator = (void*)Marshal.GetFunctionPointerForDelegate(locator); LinkedMin = linkedMin; LinkedMax = linkedMax; PickerLevel = pickerLevel; PickerTimeMin = pickerTimeMin; PickerTimeMax = pickerTimeMax; TransformForward = (void*)Marshal.GetFunctionPointerForDelegate(transformForward); TransformInverse = (void*)Marshal.GetFunctionPointerForDelegate(transformInverse); TransformData = transformData; PixelMin = pixelMin; PixelMax = pixelMax; ScaleMin = scaleMin; ScaleMax = scaleMax; ScaleToPixel = scaleToPixel; Datum1 = datum1; Datum2 = datum2; HoverRect = hoverRect; LabelOffset = labelOffset; ColorMaj = colorMaj; ColorMin = colorMin; ColorTick = colorTick; ColorTxt = colorTxt; ColorBg = colorBg; ColorHov = colorHov; ColorAct = colorAct; ColorHiLi = colorHiLi; Enabled = enabled ? (byte)1 : (byte)0; Vertical = vertical ? (byte)1 : (byte)0; FitThisFrame = fitThisFrame ? (byte)1 : (byte)0; HasRange = hasRange ? (byte)1 : (byte)0; HasFormatSpec = hasFormatSpec ? (byte)1 : (byte)0; ShowDefaultTicks = showDefaultTicks ? (byte)1 : (byte)0; Hovered = hovered ? (byte)1 : (byte)0; Held = held ? (byte)1 : (byte)0; } /// /// To be documented. /// public unsafe ImPlotAxis(uint id = default, ImPlotAxisFlags flags = default, ImPlotAxisFlags previousFlags = default, ImPlotRange range = default, ImPlotCond rangeCond = default, ImPlotScale scale = default, ImPlotRange fitExtents = default, ImPlotAxis* orthoAxis = default, ImPlotRange constraintRange = default, ImPlotRange constraintZoom = default, ImPlotTicker ticker = default, ImPlotFormatter formatter = default, void* formatterData = default, Span formatSpec = default, ImPlotLocator locator = default, double* linkedMin = default, double* linkedMax = default, int pickerLevel = default, ImPlotTime pickerTimeMin = default, ImPlotTime pickerTimeMax = default, ImPlotTransform transformForward = default, ImPlotTransform transformInverse = default, void* transformData = default, float pixelMin = default, float pixelMax = default, double scaleMin = default, double scaleMax = default, double scaleToPixel = default, float datum1 = default, float datum2 = default, ImRect hoverRect = default, int labelOffset = default, uint colorMaj = default, uint colorMin = default, uint colorTick = default, uint colorTxt = default, uint colorBg = default, uint colorHov = default, uint colorAct = default, uint colorHiLi = default, bool enabled = default, bool vertical = default, bool fitThisFrame = default, bool hasRange = default, bool hasFormatSpec = default, bool showDefaultTicks = default, bool hovered = default, bool held = default) { ID = id; Flags = flags; PreviousFlags = previousFlags; Range = range; RangeCond = rangeCond; Scale = scale; FitExtents = fitExtents; OrthoAxis = orthoAxis; ConstraintRange = constraintRange; ConstraintZoom = constraintZoom; Ticker = ticker; Formatter = (void*)Marshal.GetFunctionPointerForDelegate(formatter); FormatterData = formatterData; if (formatSpec != default(Span)) { FormatSpec_0 = formatSpec[0]; FormatSpec_1 = formatSpec[1]; FormatSpec_2 = formatSpec[2]; FormatSpec_3 = formatSpec[3]; FormatSpec_4 = formatSpec[4]; FormatSpec_5 = formatSpec[5]; FormatSpec_6 = formatSpec[6]; FormatSpec_7 = formatSpec[7]; FormatSpec_8 = formatSpec[8]; FormatSpec_9 = formatSpec[9]; FormatSpec_10 = formatSpec[10]; FormatSpec_11 = formatSpec[11]; FormatSpec_12 = formatSpec[12]; FormatSpec_13 = formatSpec[13]; FormatSpec_14 = formatSpec[14]; FormatSpec_15 = formatSpec[15]; } Locator = (void*)Marshal.GetFunctionPointerForDelegate(locator); LinkedMin = linkedMin; LinkedMax = linkedMax; PickerLevel = pickerLevel; PickerTimeMin = pickerTimeMin; PickerTimeMax = pickerTimeMax; TransformForward = (void*)Marshal.GetFunctionPointerForDelegate(transformForward); TransformInverse = (void*)Marshal.GetFunctionPointerForDelegate(transformInverse); TransformData = transformData; PixelMin = pixelMin; PixelMax = pixelMax; ScaleMin = scaleMin; ScaleMax = scaleMax; ScaleToPixel = scaleToPixel; Datum1 = datum1; Datum2 = datum2; HoverRect = hoverRect; LabelOffset = labelOffset; ColorMaj = colorMaj; ColorMin = colorMin; ColorTick = colorTick; ColorTxt = colorTxt; ColorBg = colorBg; ColorHov = colorHov; ColorAct = colorAct; ColorHiLi = colorHiLi; Enabled = enabled ? (byte)1 : (byte)0; Vertical = vertical ? (byte)1 : (byte)0; FitThisFrame = fitThisFrame ? (byte)1 : (byte)0; HasRange = hasRange ? (byte)1 : (byte)0; HasFormatSpec = hasFormatSpec ? (byte)1 : (byte)0; ShowDefaultTicks = showDefaultTicks ? (byte)1 : (byte)0; Hovered = hovered ? (byte)1 : (byte)0; Held = held ? (byte)1 : (byte)0; } /// /// To be documented. /// public unsafe void ApplyFit(float padding) { fixed (ImPlotAxis* @this = &this) { ImPlot.ApplyFitNative(@this, padding); } } /// /// To be documented. /// public unsafe bool CanInitFit() { fixed (ImPlotAxis* @this = &this) { byte ret = ImPlot.CanInitFitNative(@this); return ret != 0; } } /// /// To be documented. /// public unsafe void Constrain() { fixed (ImPlotAxis* @this = &this) { ImPlot.ConstrainNative(@this); } } /// /// To be documented. /// public unsafe void Destroy() { fixed (ImPlotAxis* @this = &this) { ImPlot.DestroyNative(@this); } } /// /// To be documented. /// public unsafe void ExtendFit(double v) { fixed (ImPlotAxis* @this = &this) { ImPlot.ExtendFitNative(@this, v); } } /// /// To be documented. /// public unsafe void ExtendFitWith(ImPlotAxis* alt, double v, double vAlt) { fixed (ImPlotAxis* @this = &this) { ImPlot.ExtendFitWithNative(@this, alt, v, vAlt); } } /// /// To be documented. /// public unsafe void ExtendFitWith(ref ImPlotAxis alt, double v, double vAlt) { fixed (ImPlotAxis* @this = &this) { fixed (ImPlotAxis* palt = &alt) { ImPlot.ExtendFitWithNative(@this, (ImPlotAxis*)palt, v, vAlt); } } } /// /// To be documented. /// public unsafe double GetAspect() { fixed (ImPlotAxis* @this = &this) { double ret = ImPlot.GetAspectNative(@this); return ret; } } /// /// To be documented. /// public unsafe bool HasGridLines() { fixed (ImPlotAxis* @this = &this) { byte ret = ImPlot.HasGridLinesNative(@this); return ret != 0; } } /// /// To be documented. /// public unsafe bool HasLabel() { fixed (ImPlotAxis* @this = &this) { byte ret = ImPlot.HasLabelNative(@this); return ret != 0; } } /// /// To be documented. /// public unsafe bool HasMenus() { fixed (ImPlotAxis* @this = &this) { byte ret = ImPlot.HasMenusNative(@this); return ret != 0; } } /// /// To be documented. /// public unsafe bool HasTickLabels() { fixed (ImPlotAxis* @this = &this) { byte ret = ImPlot.HasTickLabelsNative(@this); return ret != 0; } } /// /// To be documented. /// public unsafe bool HasTickMarks() { fixed (ImPlotAxis* @this = &this) { byte ret = ImPlot.HasTickMarksNative(@this); return ret != 0; } } /// /// To be documented. /// public unsafe bool IsAutoFitting() { fixed (ImPlotAxis* @this = &this) { byte ret = ImPlot.IsAutoFittingNative(@this); return ret != 0; } } /// /// To be documented. /// public unsafe bool IsForeground() { fixed (ImPlotAxis* @this = &this) { byte ret = ImPlot.IsForegroundNative(@this); return ret != 0; } } /// /// To be documented. /// public unsafe bool IsInputLocked() { fixed (ImPlotAxis* @this = &this) { byte ret = ImPlot.IsInputLockedNative(@this); return ret != 0; } } /// /// To be documented. /// public unsafe bool IsInputLockedMax() { fixed (ImPlotAxis* @this = &this) { byte ret = ImPlot.IsInputLockedMaxNative(@this); return ret != 0; } } /// /// To be documented. /// public unsafe bool IsInputLockedMin() { fixed (ImPlotAxis* @this = &this) { byte ret = ImPlot.IsInputLockedMinNative(@this); return ret != 0; } } /// /// To be documented. /// public unsafe bool IsInverted() { fixed (ImPlotAxis* @this = &this) { byte ret = ImPlot.IsInvertedNative(@this); return ret != 0; } } /// /// To be documented. /// public unsafe bool IsLocked() { fixed (ImPlotAxis* @this = &this) { byte ret = ImPlot.IsLockedNative(@this); return ret != 0; } } /// /// To be documented. /// public unsafe bool IsLockedMax() { fixed (ImPlotAxis* @this = &this) { byte ret = ImPlot.IsLockedMaxNative(@this); return ret != 0; } } /// /// To be documented. /// public unsafe bool IsLockedMin() { fixed (ImPlotAxis* @this = &this) { byte ret = ImPlot.IsLockedMinNative(@this); return ret != 0; } } /// /// To be documented. /// public unsafe bool IsOpposite() { fixed (ImPlotAxis* @this = &this) { byte ret = ImPlot.IsOppositeNative(@this); return ret != 0; } } /// /// To be documented. /// public unsafe bool IsPanLocked(bool increasing) { fixed (ImPlotAxis* @this = &this) { byte ret = ImPlot.IsPanLockedNative(@this, increasing ? (byte)1 : (byte)0); return ret != 0; } } /// /// To be documented. /// public unsafe bool IsRangeLocked() { fixed (ImPlotAxis* @this = &this) { byte ret = ImPlot.IsRangeLockedNative(@this); return ret != 0; } } /// /// To be documented. /// public unsafe float PixelSize() { fixed (ImPlotAxis* @this = &this) { float ret = ImPlot.PixelSizeNative(@this); return ret; } } /// /// To be documented. /// public unsafe double PixelsToPlot(float pix) { fixed (ImPlotAxis* @this = &this) { double ret = ImPlot.PixelsToPlotNative(@this, pix); return ret; } } /// /// To be documented. /// public unsafe float PlotToPixels(double plt) { fixed (ImPlotAxis* @this = &this) { float ret = ImPlot.PlotToPixelsNative(@this, plt); return ret; } } /// /// To be documented. /// public unsafe void PullLinks() { fixed (ImPlotAxis* @this = &this) { ImPlot.PullLinksNative(@this); } } /// /// To be documented. /// public unsafe void PushLinks() { fixed (ImPlotAxis* @this = &this) { ImPlot.PushLinksNative(@this); } } /// /// To be documented. /// public unsafe void Reset() { fixed (ImPlotAxis* @this = &this) { ImPlot.ResetNative(@this); } } /// /// To be documented. /// public unsafe void SetAspect(double unitPerPix) { fixed (ImPlotAxis* @this = &this) { ImPlot.SetAspectNative(@this, unitPerPix); } } /// /// To be documented. /// public unsafe bool SetMax(double max, bool force) { fixed (ImPlotAxis* @this = &this) { byte ret = ImPlot.SetMaxNative(@this, max, force ? (byte)1 : (byte)0); return ret != 0; } } /// /// To be documented. /// public unsafe bool SetMax(double max) { fixed (ImPlotAxis* @this = &this) { byte ret = ImPlot.SetMaxNative(@this, max, (byte)(0)); return ret != 0; } } /// /// To be documented. /// public unsafe bool SetMin(double min, bool force) { fixed (ImPlotAxis* @this = &this) { byte ret = ImPlot.SetMinNative(@this, min, force ? (byte)1 : (byte)0); return ret != 0; } } /// /// To be documented. /// public unsafe bool SetMin(double min) { fixed (ImPlotAxis* @this = &this) { byte ret = ImPlot.SetMinNative(@this, min, (byte)(0)); return ret != 0; } } /// /// To be documented. /// public unsafe void SetRange(double v1, double v2) { fixed (ImPlotAxis* @this = &this) { ImPlot.SetRangeNative(@this, v1, v2); } } /// /// To be documented. /// public unsafe void SetRange(ImPlotRange range) { fixed (ImPlotAxis* @this = &this) { ImPlot.SetRangeNative(@this, range); } } /// /// To be documented. /// public unsafe void UpdateTransformCache() { fixed (ImPlotAxis* @this = &this) { ImPlot.UpdateTransformCacheNative(@this); } } /// /// To be documented. /// public unsafe bool WillRender() { fixed (ImPlotAxis* @this = &this) { byte ret = ImPlot.WillRenderNative(@this); return ret != 0; } } } /// /// To be documented. /// #if NET5_0_OR_GREATER [DebuggerDisplay("{DebuggerDisplay,nq}")] #endif public unsafe struct ImPlotAxisPtr : IEquatable { public ImPlotAxisPtr(ImPlotAxis* handle) { Handle = handle; } public ImPlotAxis* Handle; public bool IsNull => Handle == null; public static ImPlotAxisPtr Null => new ImPlotAxisPtr(null); public ImPlotAxis this[int index] { get => Handle[index]; set => Handle[index] = value; } public static implicit operator ImPlotAxisPtr(ImPlotAxis* handle) => new ImPlotAxisPtr(handle); public static implicit operator ImPlotAxis*(ImPlotAxisPtr handle) => handle.Handle; public static bool operator ==(ImPlotAxisPtr left, ImPlotAxisPtr right) => left.Handle == right.Handle; public static bool operator !=(ImPlotAxisPtr left, ImPlotAxisPtr right) => left.Handle != right.Handle; public static bool operator ==(ImPlotAxisPtr left, ImPlotAxis* right) => left.Handle == right; public static bool operator !=(ImPlotAxisPtr left, ImPlotAxis* right) => left.Handle != right; public bool Equals(ImPlotAxisPtr other) => Handle == other.Handle; /// public override bool Equals(object obj) => obj is ImPlotAxisPtr handle && Equals(handle); /// public override int GetHashCode() => ((nuint)Handle).GetHashCode(); #if NET5_0_OR_GREATER private string DebuggerDisplay => string.Format("ImPlotAxisPtr [0x{0}]", ((nuint)Handle).ToString("X")); #endif /// /// To be documented. /// public ref uint ID => ref Unsafe.AsRef(&Handle->ID); /// /// To be documented. /// public ref ImPlotAxisFlags Flags => ref Unsafe.AsRef(&Handle->Flags); /// /// To be documented. /// public ref ImPlotAxisFlags PreviousFlags => ref Unsafe.AsRef(&Handle->PreviousFlags); /// /// To be documented. /// public ref ImPlotRange Range => ref Unsafe.AsRef(&Handle->Range); /// /// To be documented. /// public ref ImPlotCond RangeCond => ref Unsafe.AsRef(&Handle->RangeCond); /// /// To be documented. /// public ref ImPlotScale Scale => ref Unsafe.AsRef(&Handle->Scale); /// /// To be documented. /// public ref ImPlotRange FitExtents => ref Unsafe.AsRef(&Handle->FitExtents); /// /// To be documented. /// public ref ImPlotAxisPtr OrthoAxis => ref Unsafe.AsRef(&Handle->OrthoAxis); /// /// To be documented. /// public ref ImPlotRange ConstraintRange => ref Unsafe.AsRef(&Handle->ConstraintRange); /// /// To be documented. /// public ref ImPlotRange ConstraintZoom => ref Unsafe.AsRef(&Handle->ConstraintZoom); /// /// To be documented. /// public ref ImPlotTicker Ticker => ref Unsafe.AsRef(&Handle->Ticker); /// /// To be documented. /// public void* Formatter { get => Handle->Formatter; set => Handle->Formatter = value; } /// /// To be documented. /// public void* FormatterData { get => Handle->FormatterData; set => Handle->FormatterData = value; } /// /// To be documented. /// public unsafe Span FormatSpec { get { return new Span(&Handle->FormatSpec_0, 16); } } /// /// To be documented. /// public void* Locator { get => Handle->Locator; set => Handle->Locator = value; } /// /// To be documented. /// public double* LinkedMin { get => Handle->LinkedMin; set => Handle->LinkedMin = value; } /// /// To be documented. /// public double* LinkedMax { get => Handle->LinkedMax; set => Handle->LinkedMax = value; } /// /// To be documented. /// public ref int PickerLevel => ref Unsafe.AsRef(&Handle->PickerLevel); /// /// To be documented. /// public ref ImPlotTime PickerTimeMin => ref Unsafe.AsRef(&Handle->PickerTimeMin); /// /// To be documented. /// public ref ImPlotTime PickerTimeMax => ref Unsafe.AsRef(&Handle->PickerTimeMax); /// /// To be documented. /// public void* TransformForward { get => Handle->TransformForward; set => Handle->TransformForward = value; } /// /// To be documented. /// public void* TransformInverse { get => Handle->TransformInverse; set => Handle->TransformInverse = value; } /// /// To be documented. /// public void* TransformData { get => Handle->TransformData; set => Handle->TransformData = value; } /// /// To be documented. /// public ref float PixelMin => ref Unsafe.AsRef(&Handle->PixelMin); /// /// To be documented. /// public ref float PixelMax => ref Unsafe.AsRef(&Handle->PixelMax); /// /// To be documented. /// public ref double ScaleMin => ref Unsafe.AsRef(&Handle->ScaleMin); /// /// To be documented. /// public ref double ScaleMax => ref Unsafe.AsRef(&Handle->ScaleMax); /// /// To be documented. /// public ref double ScaleToPixel => ref Unsafe.AsRef(&Handle->ScaleToPixel); /// /// To be documented. /// public ref float Datum1 => ref Unsafe.AsRef(&Handle->Datum1); /// /// To be documented. /// public ref float Datum2 => ref Unsafe.AsRef(&Handle->Datum2); /// /// To be documented. /// public ref ImRect HoverRect => ref Unsafe.AsRef(&Handle->HoverRect); /// /// To be documented. /// public ref int LabelOffset => ref Unsafe.AsRef(&Handle->LabelOffset); /// /// To be documented. /// public ref uint ColorMaj => ref Unsafe.AsRef(&Handle->ColorMaj); /// /// To be documented. /// public ref uint ColorMin => ref Unsafe.AsRef(&Handle->ColorMin); /// /// To be documented. /// public ref uint ColorTick => ref Unsafe.AsRef(&Handle->ColorTick); /// /// To be documented. /// public ref uint ColorTxt => ref Unsafe.AsRef(&Handle->ColorTxt); /// /// To be documented. /// public ref uint ColorBg => ref Unsafe.AsRef(&Handle->ColorBg); /// /// To be documented. /// public ref uint ColorHov => ref Unsafe.AsRef(&Handle->ColorHov); /// /// To be documented. /// public ref uint ColorAct => ref Unsafe.AsRef(&Handle->ColorAct); /// /// To be documented. /// public ref uint ColorHiLi => ref Unsafe.AsRef(&Handle->ColorHiLi); /// /// To be documented. /// public ref bool Enabled => ref Unsafe.AsRef(&Handle->Enabled); /// /// To be documented. /// public ref bool Vertical => ref Unsafe.AsRef(&Handle->Vertical); /// /// To be documented. /// public ref bool FitThisFrame => ref Unsafe.AsRef(&Handle->FitThisFrame); /// /// To be documented. /// public ref bool HasRange => ref Unsafe.AsRef(&Handle->HasRange); /// /// To be documented. /// public ref bool HasFormatSpec => ref Unsafe.AsRef(&Handle->HasFormatSpec); /// /// To be documented. /// public ref bool ShowDefaultTicks => ref Unsafe.AsRef(&Handle->ShowDefaultTicks); /// /// To be documented. /// public ref bool Hovered => ref Unsafe.AsRef(&Handle->Hovered); /// /// To be documented. /// public ref bool Held => ref Unsafe.AsRef(&Handle->Held); /// /// To be documented. /// public unsafe void ApplyFit(float padding) { ImPlot.ApplyFitNative(Handle, padding); } /// /// To be documented. /// public unsafe bool CanInitFit() { byte ret = ImPlot.CanInitFitNative(Handle); return ret != 0; } /// /// To be documented. /// public unsafe void Constrain() { ImPlot.ConstrainNative(Handle); } /// /// To be documented. /// public unsafe void Destroy() { ImPlot.DestroyNative(Handle); } /// /// To be documented. /// public unsafe void ExtendFit(double v) { ImPlot.ExtendFitNative(Handle, v); } /// /// To be documented. /// public unsafe void ExtendFitWith(ImPlotAxisPtr alt, double v, double vAlt) { ImPlot.ExtendFitWithNative(Handle, alt, v, vAlt); } /// /// To be documented. /// public unsafe void ExtendFitWith(ref ImPlotAxis alt, double v, double vAlt) { fixed (ImPlotAxis* palt = &alt) { ImPlot.ExtendFitWithNative(Handle, (ImPlotAxis*)palt, v, vAlt); } } /// /// To be documented. /// public unsafe double GetAspect() { double ret = ImPlot.GetAspectNative(Handle); return ret; } /// /// To be documented. /// public unsafe bool HasGridLines() { byte ret = ImPlot.HasGridLinesNative(Handle); return ret != 0; } /// /// To be documented. /// public unsafe bool HasLabel() { byte ret = ImPlot.HasLabelNative(Handle); return ret != 0; } /// /// To be documented. /// public unsafe bool HasMenus() { byte ret = ImPlot.HasMenusNative(Handle); return ret != 0; } /// /// To be documented. /// public unsafe bool HasTickLabels() { byte ret = ImPlot.HasTickLabelsNative(Handle); return ret != 0; } /// /// To be documented. /// public unsafe bool HasTickMarks() { byte ret = ImPlot.HasTickMarksNative(Handle); return ret != 0; } /// /// To be documented. /// public unsafe bool IsAutoFitting() { byte ret = ImPlot.IsAutoFittingNative(Handle); return ret != 0; } /// /// To be documented. /// public unsafe bool IsForeground() { byte ret = ImPlot.IsForegroundNative(Handle); return ret != 0; } /// /// To be documented. /// public unsafe bool IsInputLocked() { byte ret = ImPlot.IsInputLockedNative(Handle); return ret != 0; } /// /// To be documented. /// public unsafe bool IsInputLockedMax() { byte ret = ImPlot.IsInputLockedMaxNative(Handle); return ret != 0; } /// /// To be documented. /// public unsafe bool IsInputLockedMin() { byte ret = ImPlot.IsInputLockedMinNative(Handle); return ret != 0; } /// /// To be documented. /// public unsafe bool IsInverted() { byte ret = ImPlot.IsInvertedNative(Handle); return ret != 0; } /// /// To be documented. /// public unsafe bool IsLocked() { byte ret = ImPlot.IsLockedNative(Handle); return ret != 0; } /// /// To be documented. /// public unsafe bool IsLockedMax() { byte ret = ImPlot.IsLockedMaxNative(Handle); return ret != 0; } /// /// To be documented. /// public unsafe bool IsLockedMin() { byte ret = ImPlot.IsLockedMinNative(Handle); return ret != 0; } /// /// To be documented. /// public unsafe bool IsOpposite() { byte ret = ImPlot.IsOppositeNative(Handle); return ret != 0; } /// /// To be documented. /// public unsafe bool IsPanLocked(bool increasing) { byte ret = ImPlot.IsPanLockedNative(Handle, increasing ? (byte)1 : (byte)0); return ret != 0; } /// /// To be documented. /// public unsafe bool IsRangeLocked() { byte ret = ImPlot.IsRangeLockedNative(Handle); return ret != 0; } /// /// To be documented. /// public unsafe float PixelSize() { float ret = ImPlot.PixelSizeNative(Handle); return ret; } /// /// To be documented. /// public unsafe double PixelsToPlot(float pix) { double ret = ImPlot.PixelsToPlotNative(Handle, pix); return ret; } /// /// To be documented. /// public unsafe float PlotToPixels(double plt) { float ret = ImPlot.PlotToPixelsNative(Handle, plt); return ret; } /// /// To be documented. /// public unsafe void PullLinks() { ImPlot.PullLinksNative(Handle); } /// /// To be documented. /// public unsafe void PushLinks() { ImPlot.PushLinksNative(Handle); } /// /// To be documented. /// public unsafe void Reset() { ImPlot.ResetNative(Handle); } /// /// To be documented. /// public unsafe void SetAspect(double unitPerPix) { ImPlot.SetAspectNative(Handle, unitPerPix); } /// /// To be documented. /// public unsafe bool SetMax(double max, bool force) { byte ret = ImPlot.SetMaxNative(Handle, max, force ? (byte)1 : (byte)0); return ret != 0; } /// /// To be documented. /// public unsafe bool SetMax(double max) { byte ret = ImPlot.SetMaxNative(Handle, max, (byte)(0)); return ret != 0; } /// /// To be documented. /// public unsafe bool SetMin(double min, bool force) { byte ret = ImPlot.SetMinNative(Handle, min, force ? (byte)1 : (byte)0); return ret != 0; } /// /// To be documented. /// public unsafe bool SetMin(double min) { byte ret = ImPlot.SetMinNative(Handle, min, (byte)(0)); return ret != 0; } /// /// To be documented. /// public unsafe void SetRange(double v1, double v2) { ImPlot.SetRangeNative(Handle, v1, v2); } /// /// To be documented. /// public unsafe void SetRange(ImPlotRange range) { ImPlot.SetRangeNative(Handle, range); } /// /// To be documented. /// public unsafe void UpdateTransformCache() { ImPlot.UpdateTransformCacheNative(Handle); } /// /// To be documented. /// public unsafe bool WillRender() { byte ret = ImPlot.WillRenderNative(Handle); return ret != 0; } } }