// ------------------------------------------------------------------------------ // // 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(ref byte labelId, ref double xs, double* ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan 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(ReadOnlySpan 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(ReadOnlySpan 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(ReadOnlySpan 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(ReadOnlySpan 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))); } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotLine(string labelId, ref 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; } fixed (double* pxs = &xs) { PlotLineNative(pStr0, (double*)pxs, ys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotLine(string labelId, ref 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; } fixed (double* pxs = &xs) { PlotLineNative(pStr0, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotLine(string labelId, ref 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; } fixed (double* pxs = &xs) { PlotLineNative(pStr0, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotLine(string labelId, ref 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; } fixed (double* pxs = &xs) { PlotLineNative(pStr0, (double*)pxs, 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, ref 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; } fixed (double* pxs = &xs) { PlotLineNative(pStr0, (double*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotLine(string labelId, ref 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; } fixed (double* pxs = &xs) { PlotLineNative(pStr0, (double*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotLine(byte* labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags, int offset, int stride) { fixed (double* pys = &ys) { PlotLineNative(labelId, xs, (double*)pys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotLine(byte* labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags, int offset) { fixed (double* pys = &ys) { PlotLineNative(labelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotLine(byte* labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags) { fixed (double* pys = &ys) { PlotLineNative(labelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotLine(byte* labelId, double* xs, ref double ys, int count) { fixed (double* pys = &ys) { PlotLineNative(labelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotLine(byte* labelId, double* xs, ref double ys, int count, int offset) { fixed (double* pys = &ys) { PlotLineNative(labelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotLine(byte* labelId, double* xs, ref double ys, int count, int offset, int stride) { fixed (double* pys = &ys) { PlotLineNative(labelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (double* pys = &ys) { PlotLineNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (double* pys = &ys) { PlotLineNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = &labelId) { fixed (double* pys = &ys) { PlotLineNative((byte*)plabelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, double* xs, ref double ys, int count) { fixed (byte* plabelId = &labelId) { fixed (double* pys = &ys) { PlotLineNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, double* xs, ref double ys, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (double* pys = &ys) { PlotLineNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, double* xs, ref double ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (double* pys = &ys) { PlotLineNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (double* pys = &ys) { PlotLineNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (double* pys = &ys) { PlotLineNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = labelId) { fixed (double* pys = &ys) { PlotLineNative((byte*)plabelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, double* xs, ref double ys, int count) { fixed (byte* plabelId = labelId) { fixed (double* pys = &ys) { PlotLineNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (double* pys = &ys) { PlotLineNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (double* pys = &ys) { PlotLineNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotLine(string labelId, double* xs, ref 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; } fixed (double* pys = &ys) { PlotLineNative(pStr0, xs, (double*)pys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotLine(string labelId, double* xs, ref 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; } fixed (double* pys = &ys) { PlotLineNative(pStr0, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotLine(string labelId, double* xs, ref 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; } fixed (double* pys = &ys) { PlotLineNative(pStr0, xs, (double*)pys, 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, ref 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; } fixed (double* pys = &ys) { PlotLineNative(pStr0, xs, (double*)pys, 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, ref 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; } fixed (double* pys = &ys) { PlotLineNative(pStr0, xs, (double*)pys, 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, ref 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; } fixed (double* pys = &ys) { PlotLineNative(pStr0, xs, (double*)pys, count, (ImPlotLineFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotLine(byte* labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset, int stride) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotLineNative(labelId, (double*)pxs, (double*)pys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotLine(byte* labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotLineNative(labelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotLine(byte* labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotLineNative(labelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotLine(byte* labelId, ref double xs, ref double ys, int count) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotLineNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotLine(byte* labelId, ref double xs, ref double ys, int count, int offset) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotLineNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotLine(byte* labelId, ref double xs, ref double ys, int count, int offset, int stride) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotLineNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ref double xs, ref double ys, int count) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ref double xs, ref double ys, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ref double xs, ref double ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ref double xs, ref double ys, int count) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotLine(string labelId, ref double xs, ref 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; } fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotLineNative(pStr0, (double*)pxs, (double*)pys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotLine(string labelId, ref double xs, ref 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; } fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotLineNative(pStr0, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotLine(string labelId, ref double xs, ref 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; } fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotLineNative(pStr0, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotLine(string labelId, ref double xs, ref 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; } fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotLineNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotLine(string labelId, ref double xs, ref 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; } fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotLineNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotLine(string labelId, ref double xs, ref 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; } fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotLineNative(pStr0, (double*)pxs, (double*)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, sbyte* xs, sbyte* ys, int count, ImPlotLineFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[66])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[66])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotLine(byte* labelId, sbyte* xs, sbyte* 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, sbyte* xs, sbyte* ys, int count, ImPlotLineFlags flags, int offset) { PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, sbyte* xs, sbyte* ys, int count, ImPlotLineFlags flags) { PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, sbyte* xs, sbyte* ys, int count) { PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, sbyte* xs, sbyte* ys, int count, int offset) { PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, sbyte* xs, sbyte* 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, sbyte* xs, sbyte* 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, sbyte* xs, sbyte* ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, sbyte* xs, sbyte* ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, sbyte* xs, sbyte* ys, int count) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, sbyte* xs, sbyte* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, sbyte* xs, sbyte* 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, sbyte* xs, sbyte* 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, sbyte* xs, sbyte* ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, sbyte* xs, sbyte* ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, sbyte* xs, sbyte* ys, int count) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, sbyte* xs, sbyte* ys, int count, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, sbyte* xs, sbyte* 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, sbyte* xs, sbyte* 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, sbyte* xs, sbyte* 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(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, sbyte* xs, sbyte* 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(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, sbyte* xs, sbyte* 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(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, sbyte* xs, sbyte* 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(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, sbyte* xs, sbyte* 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. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotLineNative(byte* labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[67])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[67])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotLine(byte* labelId, byte* xs, byte* 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, byte* xs, byte* ys, int count, ImPlotLineFlags flags, int offset) { PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(byte))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags) { PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(byte))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, byte* xs, byte* ys, int count) { PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(byte))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, byte* xs, byte* ys, int count, int offset) { PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(byte))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, byte* xs, byte* 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, byte* xs, byte* 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, byte* xs, byte* ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(byte))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(byte))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, byte* xs, byte* ys, int count) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(byte))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, byte* xs, byte* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(byte))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, byte* xs, byte* 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, byte* xs, byte* 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, byte* xs, byte* ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(byte))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(byte))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, byte* xs, byte* ys, int count) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(byte))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(byte))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, byte* xs, byte* 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, byte* xs, byte* 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, byte* xs, byte* 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(byte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, byte* xs, byte* 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(byte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, byte* xs, byte* 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(byte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, byte* xs, byte* 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(byte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, byte* xs, byte* 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. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotLineNative(byte* labelId, short* xs, short* ys, int count, ImPlotLineFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[68])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[68])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotLine(byte* labelId, short* xs, short* 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, short* xs, short* ys, int count, ImPlotLineFlags flags, int offset) { PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(short))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, short* xs, short* ys, int count, ImPlotLineFlags flags) { PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, short* xs, short* ys, int count) { PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, short* xs, short* ys, int count, int offset) { PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, short* xs, short* 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, short* xs, short* 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, short* xs, short* ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, short* xs, short* ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, short* xs, short* ys, int count) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, short* xs, short* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, short* xs, short* 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, short* xs, short* 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, short* xs, short* ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, short* xs, short* ys, int count) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, short* xs, short* 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, short* xs, short* 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, short* xs, short* 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(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, short* xs, short* 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(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, short* xs, short* 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(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, short* xs, short* 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(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, short* xs, short* 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. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotLineNative(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[69])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[69])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotLine(byte* labelId, ushort* xs, ushort* 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, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags, int offset) { PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags) { PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, ushort* xs, ushort* ys, int count) { PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, ushort* xs, ushort* ys, int count, int offset) { PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, ushort* xs, ushort* 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, ushort* xs, ushort* 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, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ushort* xs, ushort* ys, int count) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ushort* xs, ushort* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ushort* xs, ushort* 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, ushort* xs, ushort* 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, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ushort* 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, ushort* xs, ushort* 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, ushort* xs, ushort* 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(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, ushort* xs, ushort* 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(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, ushort* xs, ushort* 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(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, ushort* xs, ushort* 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(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, ushort* xs, ushort* 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. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotLineNative(byte* labelId, int* xs, int* ys, int count, ImPlotLineFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[70])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[70])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotLine(byte* labelId, int* xs, int* 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, int* xs, int* ys, int count, ImPlotLineFlags flags, int offset) { PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(int))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, int* xs, int* ys, int count, ImPlotLineFlags flags) { PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, int* xs, int* ys, int count) { PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, int* xs, int* ys, int count, int offset) { PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, int* xs, int* 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, int* xs, int* 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, int* xs, int* ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, int* xs, int* ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, int* xs, int* ys, int count) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, int* xs, int* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, int* xs, int* 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, int* xs, int* 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, int* xs, int* ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, int* xs, int* ys, int count) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, int* xs, int* 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, int* xs, int* 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, int* xs, int* 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(int))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, int* xs, int* 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(int))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, int* xs, int* 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(int))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, int* xs, int* 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(int))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, int* xs, int* 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. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotLineNative(byte* labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[71])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[71])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotLine(byte* labelId, uint* xs, uint* 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, uint* xs, uint* ys, int count, ImPlotLineFlags flags, int offset) { PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags) { PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, uint* xs, uint* ys, int count) { PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, uint* xs, uint* ys, int count, int offset) { PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, uint* xs, uint* 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, uint* xs, uint* 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, uint* xs, uint* ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, uint* xs, uint* ys, int count) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, uint* xs, uint* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, uint* xs, uint* 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, uint* xs, uint* 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, uint* xs, uint* ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, uint* xs, uint* ys, int count) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, uint* xs, uint* 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, uint* xs, uint* 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, uint* xs, uint* 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(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, uint* xs, uint* 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(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, uint* xs, uint* 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(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, uint* xs, uint* 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(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, uint* xs, uint* 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. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotLineNative(byte* labelId, long* xs, long* ys, int count, ImPlotLineFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[72])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[72])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotLine(byte* labelId, long* xs, long* 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, long* xs, long* ys, int count, ImPlotLineFlags flags, int offset) { PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, long* xs, long* ys, int count, ImPlotLineFlags flags) { PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, long* xs, long* ys, int count) { PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, long* xs, long* ys, int count, int offset) { PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, long* xs, long* 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, long* xs, long* 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, long* xs, long* ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, long* xs, long* ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, long* xs, long* ys, int count) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, long* xs, long* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, long* xs, long* 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, long* xs, long* 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, long* xs, long* ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, long* xs, long* ys, int count) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, long* xs, long* 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, long* xs, long* 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, long* xs, long* 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(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, long* xs, long* 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(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, long* xs, long* 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(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, long* xs, long* 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(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, long* xs, long* 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. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotLineNative(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[73])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[73])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotLine(byte* labelId, ulong* xs, ulong* 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, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags, int offset) { PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags) { PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, ulong* xs, ulong* ys, int count) { PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, ulong* xs, ulong* ys, int count, int offset) { PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotLine(byte* labelId, ulong* xs, ulong* 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, ulong* xs, ulong* 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, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ulong* xs, ulong* ys, int count) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ulong* xs, ulong* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ref byte labelId, ulong* xs, ulong* 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, ulong* xs, ulong* 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, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset) { fixed (byte* plabelId = labelId) { PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ulong* 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, ulong* xs, ulong* 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, ulong* xs, ulong* 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(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, ulong* xs, ulong* 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(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, ulong* xs, ulong* 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(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, ulong* xs, ulong* 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(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotLine(string labelId, ulong* xs, ulong* 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. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotScatterNative(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[74])(labelId, values, count, xscale, xstart, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[74])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotScatter(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) { PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, stride); } /// /// To be documented. /// public static void PlotScatter(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) { PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotScatter(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) { PlotScatterNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotScatter(byte* labelId, float* values, int count, double xscale, double xstart) { PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotScatter(byte* labelId, float* values, int count, double xscale) { PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotScatter(byte* labelId, float* values, int count) { PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotScatter(byte* labelId, float* values, int count, double xscale, ImPlotScatterFlags flags) { PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotScatter(byte* labelId, float* values, int count, ImPlotScatterFlags flags) { PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotScatter(byte* labelId, float* values, int count, double xscale, double xstart, int offset) { PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotScatter(byte* labelId, float* values, int count, double xscale, int offset) { PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotScatter(byte* labelId, float* values, int count, int offset) { PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotScatter(byte* labelId, float* values, int count, double xscale, ImPlotScatterFlags flags, int offset) { PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotScatter(byte* labelId, float* values, int count, ImPlotScatterFlags flags, int offset) { PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotScatter(byte* labelId, float* values, int count, double xscale, double xstart, int offset, int stride) { PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotScatter(byte* labelId, float* values, int count, double xscale, int offset, int stride) { PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotScatter(byte* labelId, float* values, int count, int offset, int stride) { PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotScatter(byte* labelId, float* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) { PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); } /// /// To be documented. /// public static void PlotScatter(byte* labelId, float* values, int count, ImPlotScatterFlags flags, int offset, int stride) { PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); } /// /// To be documented. /// public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); } } /// /// To be documented. /// public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) { fixed (byte* plabelId = &labelId) { PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, double xstart) { fixed (byte* plabelId = &labelId) { PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotScatter(ref byte labelId, float* values, int count, double xscale) { fixed (byte* plabelId = &labelId) { PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotScatter(ref byte labelId, float* values, int count) { fixed (byte* plabelId = &labelId) { PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, ImPlotScatterFlags flags) { fixed (byte* plabelId = &labelId) { PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotScatter(ref byte labelId, float* values, int count, ImPlotScatterFlags flags) { fixed (byte* plabelId = &labelId) { PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, double xstart, int offset) { fixed (byte* plabelId = &labelId) { PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, int offset) { fixed (byte* plabelId = &labelId) { PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotScatter(ref byte labelId, float* values, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, ImPlotScatterFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotScatter(ref byte labelId, float* values, int count, ImPlotScatterFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, double xstart, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotScatter(ref byte labelId, float* values, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotScatter(ref byte labelId, float* values, int count, ImPlotScatterFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); } } /// /// To be documented. /// public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) { fixed (byte* plabelId = labelId) { PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart) { fixed (byte* plabelId = labelId) { PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale) { fixed (byte* plabelId = labelId) { PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotScatter(ReadOnlySpan labelId, float* values, int count) { fixed (byte* plabelId = labelId) { PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, ImPlotScatterFlags flags) { fixed (byte* plabelId = labelId) { PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, ImPlotScatterFlags flags) { fixed (byte* plabelId = labelId) { PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, int offset) { fixed (byte* plabelId = labelId) { PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, int offset) { fixed (byte* plabelId = labelId) { PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, int offset) { fixed (byte* plabelId = labelId) { PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, ImPlotScatterFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, ImPlotScatterFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, ImPlotScatterFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); } } /// /// To be documented. /// public static void PlotScatter(string labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags 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; } PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotScatter(string labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags 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; } PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotScatter(string labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags 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; } PlotScatterNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotScatter(string labelId, float* 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; } PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotScatter(string labelId, float* 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; } PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotScatter(string labelId, float* 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; } PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotScatter(string labelId, float* values, int count, double xscale, ImPlotScatterFlags 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; } PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotScatter(string labelId, float* values, int count, ImPlotScatterFlags 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; } PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotScatter(string labelId, float* 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; } PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotScatter(string labelId, float* 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; } PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotScatter(string labelId, float* 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; } PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } }