// ------------------------------------------------------------------------------ // // 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.Runtime.CompilerServices; using System.Runtime.InteropServices; using HexaGen.Runtime; using System.Numerics; using Dalamud.Bindings.ImGui; namespace Dalamud.Bindings.ImPlot { public unsafe partial class ImPlot { /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotLine(string labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, uint* values, int count, double xscale, double xstart) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, uint* values, int count, double xscale) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, uint* values, int count) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, uint* values, int count, double xscale, ImPlotLineFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, uint* values, int count, ImPlotLineFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, uint* values, int count, double xscale, double xstart, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, uint* values, int count, double xscale, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, uint* values, int count, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, uint* values, int count, double xscale, ImPlotLineFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, uint* values, int count, ImPlotLineFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, uint* values, int count, double xscale, double xstart, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, uint* values, int count, double xscale, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, uint* values, int count, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, uint* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, uint* values, int count, ImPlotLineFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotLineNative(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[62])(labelId, values, count, xscale, xstart, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[62])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotLine(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) { PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, stride); } /// /// To be documented. /// public static void PlotLine(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) { PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags) { PlotLineNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, long* values, int count, double xscale, double xstart) { PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, long* values, int count, double xscale) { PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, long* values, int count) { PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, long* values, int count, double xscale, ImPlotLineFlags flags) { PlotLineNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, long* values, int count, ImPlotLineFlags flags) { PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, long* values, int count, double xscale, double xstart, int offset) { PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, long* values, int count, double xscale, int offset) { PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, long* values, int count, int offset) { PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, long* values, int count, double xscale, ImPlotLineFlags flags, int offset) { PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, long* values, int count, ImPlotLineFlags flags, int offset) { PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, long* values, int count, double xscale, double xstart, int offset, int stride) { PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotLine(byte* labelId, long* values, int count, double xscale, int offset, int stride) { PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotLine(byte* labelId, long* values, int count, int offset, int stride) { PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotLine(byte* labelId, long* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) { PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); } /// /// To be documented. /// public static void PlotLine(byte* labelId, long* values, int count, ImPlotLineFlags flags, int offset, int stride) { PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); } /// /// To be documented. /// public static void PlotLine(ref byte labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, long* values, int count, double xscale, double xstart) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, long* values, int count, double xscale) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, long* values, int count) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, long* values, int count, double xscale, ImPlotLineFlags flags) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, long* values, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, long* values, int count, double xscale, double xstart, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, long* values, int count, double xscale, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, long* values, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, long* values, int count, double xscale, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, long* values, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, long* values, int count, double xscale, double xstart, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, long* values, int count, double xscale, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, long* values, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, long* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, long* values, int count, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, long* values, int count) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, ImPlotLineFlags flags) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, long* values, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, long* values, int count, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, long* values, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, long* values, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, long* values, int count, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotLine(string labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, long* values, int count, double xscale, double xstart) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, long* values, int count, double xscale) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, long* values, int count) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, long* values, int count, double xscale, ImPlotLineFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, long* values, int count, ImPlotLineFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, long* values, int count, double xscale, double xstart, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, long* values, int count, double xscale, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, long* values, int count, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, long* values, int count, double xscale, ImPlotLineFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, long* values, int count, ImPlotLineFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, long* values, int count, double xscale, double xstart, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, long* values, int count, double xscale, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, long* values, int count, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, long* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, long* values, int count, ImPlotLineFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotLineNative(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[63])(labelId, values, count, xscale, xstart, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[63])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) { PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, stride); } /// /// To be documented. /// public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) { PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags) { PlotLineNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, double xstart) { PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, ulong* values, int count, double xscale) { PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, ulong* values, int count) { PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags) { PlotLineNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, ulong* values, int count, ImPlotLineFlags flags) { PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, double xstart, int offset) { PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, int offset) { PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, ulong* values, int count, int offset) { PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags, int offset) { PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, ulong* values, int count, ImPlotLineFlags flags, int offset) { PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) { PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, int offset, int stride) { PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotLine(byte* labelId, ulong* values, int count, int offset, int stride) { PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) { PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); } /// /// To be documented. /// public static void PlotLine(byte* labelId, ulong* values, int count, ImPlotLineFlags flags, int offset, int stride) { PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, double xstart) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ulong* values, int count) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ulong* values, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, double xstart, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ulong* values, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ulong* values, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ulong* values, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ulong* values, int count, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotLine(string labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, ulong* values, int count, double xscale, double xstart) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, ulong* values, int count, double xscale) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, ulong* values, int count) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, ulong* values, int count, ImPlotLineFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, ulong* values, int count, double xscale, double xstart, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, ulong* values, int count, double xscale, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, ulong* values, int count, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, ulong* values, int count, ImPlotLineFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, ulong* values, int count, double xscale, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, ulong* values, int count, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, ulong* values, int count, ImPlotLineFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotLineNative(byte* labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[64])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[64])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotLine(byte* labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) { PlotLineNative(labelId, xs, ys, count, flags, offset, stride); } /// /// To be documented. /// public static void PlotLine(byte* labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset) { PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, float* xs, float* ys, int count, ImPlotLineFlags flags) { PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, float* xs, float* ys, int count) { PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, float* xs, float* ys, int count, int offset) { PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, float* xs, float* ys, int count, int offset, int stride) { PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotLine(ref byte labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, float* xs, float* ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, float* xs, float* ys, int count) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, float* xs, float* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, float* xs, float* ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, float* xs, float* ys, int count) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotLine(string labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, xs, ys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, float* xs, float* ys, int count, ImPlotLineFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, float* xs, float* ys, int count) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, float* xs, float* ys, int count, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, float* xs, float* ys, int count, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(byte* labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) { fixed (float* pxs = &xs) { PlotLineNative(labelId, (float*)pxs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotLine(byte* labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags, int offset) { fixed (float* pxs = &xs) { PlotLineNative(labelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLine(byte* labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags) { fixed (float* pxs = &xs) { PlotLineNative(labelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLine(byte* labelId, ref float xs, float* ys, int count) { fixed (float* pxs = &xs) { PlotLineNative(labelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLine(byte* labelId, ref float xs, float* ys, int count, int offset) { fixed (float* pxs = &xs) { PlotLineNative(labelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLine(byte* labelId, ref float xs, float* ys, int count, int offset, int stride) { fixed (float* pxs = &xs) { PlotLineNative(labelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ref float xs, float* ys, int count) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ref float xs, float* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ref float xs, float* ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ref float xs, float* ys, int count) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotLine(string labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pxs = &xs) { PlotLineNative(pStr0, (float*)pxs, ys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotLine(string labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pxs = &xs) { PlotLineNative(pStr0, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotLine(string labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pxs = &xs) { PlotLineNative(pStr0, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotLine(string labelId, ref float xs, float* ys, int count) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pxs = &xs) { PlotLineNative(pStr0, (float*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotLine(string labelId, ref float xs, float* ys, int count, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pxs = &xs) { PlotLineNative(pStr0, (float*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotLine(string labelId, ref float xs, float* ys, int count, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pxs = &xs) { PlotLineNative(pStr0, (float*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotLine(byte* labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) { fixed (float* pys = &ys) { PlotLineNative(labelId, xs, (float*)pys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotLine(byte* labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags, int offset) { fixed (float* pys = &ys) { PlotLineNative(labelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLine(byte* labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags) { fixed (float* pys = &ys) { PlotLineNative(labelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLine(byte* labelId, float* xs, ref float ys, int count) { fixed (float* pys = &ys) { PlotLineNative(labelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLine(byte* labelId, float* xs, ref float ys, int count, int offset) { fixed (float* pys = &ys) { PlotLineNative(labelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotLine(byte* labelId, float* xs, ref float ys, int count, int offset, int stride) { fixed (float* pys = &ys) { PlotLineNative(labelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (float* pys = &ys) { PlotLineNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (float* pys = &ys) { PlotLineNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = &labelId) { fixed (float* pys = &ys) { PlotLineNative((byte*)plabelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, float* xs, ref float ys, int count) { fixed (byte* plabelId = &labelId) { fixed (float* pys = &ys) { PlotLineNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, float* xs, ref float ys, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (float* pys = &ys) { PlotLineNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, float* xs, ref float ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (float* pys = &ys) { PlotLineNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (float* pys = &ys) { PlotLineNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (float* pys = &ys) { PlotLineNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = labelId) { fixed (float* pys = &ys) { PlotLineNative((byte*)plabelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, float* xs, ref float ys, int count) { fixed (byte* plabelId = labelId) { fixed (float* pys = &ys) { PlotLineNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (float* pys = &ys) { PlotLineNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (float* pys = &ys) { PlotLineNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotLine(string labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pys = &ys) { PlotLineNative(pStr0, xs, (float*)pys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotLine(string labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pys = &ys) { PlotLineNative(pStr0, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotLine(string labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pys = &ys) { PlotLineNative(pStr0, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotLine(string labelId, float* xs, ref float ys, int count) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pys = &ys) { PlotLineNative(pStr0, xs, (float*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotLine(string labelId, float* xs, ref float ys, int count, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pys = &ys) { PlotLineNative(pStr0, xs, (float*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotLine(string labelId, float* xs, ref float ys, int count, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pys = &ys) { PlotLineNative(pStr0, xs, (float*)pys, count, (ImPlotLineFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotLine(byte* labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotLineNative(labelId, (float*)pxs, (float*)pys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotLine(byte* labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotLineNative(labelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotLine(byte* labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotLineNative(labelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotLine(byte* labelId, ref float xs, ref float ys, int count) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotLineNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotLine(byte* labelId, ref float xs, ref float ys, int count, int offset) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotLineNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotLine(byte* labelId, ref float xs, ref float ys, int count, int offset, int stride) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotLineNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); } } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); } } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ref float xs, ref float ys, int count) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); } } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ref float xs, ref float ys, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); } } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ref float xs, ref float ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); } } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); } } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ref float xs, ref float ys, int count) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); } } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); } } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotLine(string labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotLineNative(pStr0, (float*)pxs, (float*)pys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotLine(string labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotLineNative(pStr0, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotLine(string labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotLineNative(pStr0, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotLine(string labelId, ref float xs, ref float ys, int count) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotLineNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotLine(string labelId, ref float xs, ref float ys, int count, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotLineNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotLine(string labelId, ref float xs, ref float ys, int count, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotLineNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotLineNative(byte* labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[65])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[65])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotLine(byte* labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset, int stride) { PlotLineNative(labelId, xs, ys, count, flags, offset, stride); } /// /// To be documented. /// public static void PlotLine(byte* labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset) { PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(double))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, double* xs, double* ys, int count, ImPlotLineFlags flags) { PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, double* xs, double* ys, int count) { PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, double* xs, double* ys, int count, int offset) { PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, double* xs, double* ys, int count, int offset, int stride) { PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotLine(ref byte labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, double* xs, double* ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, double* xs, double* ys, int count) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, double* xs, double* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, double* xs, double* ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, double* xs, double* ys, int count) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotLine(string labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, xs, ys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, double* xs, double* ys, int count, ImPlotLineFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, double* xs, double* ys, int count) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, double* xs, double* ys, int count, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, double* xs, double* ys, int count, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(byte* labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags, int offset, int stride) { fixed (double* pxs = &xs) { PlotLineNative(labelId, (double*)pxs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotLine(byte* labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags, int offset) { fixed (double* pxs = &xs) { PlotLineNative(labelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotLine(byte* labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags) { fixed (double* pxs = &xs) { PlotLineNative(labelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotLine(byte* labelId, ref double xs, double* ys, int count) { fixed (double* pxs = &xs) { PlotLineNative(labelId, (double*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotLine(byte* labelId, ref double xs, double* ys, int count, int offset) { fixed (double* pxs = &xs) { PlotLineNative(labelId, (double*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotLine(byte* labelId, ref double xs, double* ys, int count, int offset, int stride) { fixed (double* pxs = &xs) { PlotLineNative(labelId, (double*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ref double xs, double* ys, int count) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ref double xs, double* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); } } } } }