// ------------------------------------------------------------------------------ // // 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 double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotRect range) { fixed (byte* plabelId = labelId) { double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); return ret; } } /// /// To be documented. /// public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) { fixed (byte* plabelId = labelId) { double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); return ret; } } /// /// To be documented. /// public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotHistogramFlags flags) { fixed (byte* plabelId = labelId) { double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); return ret; } } /// /// To be documented. /// public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotHistogramFlags flags) { fixed (byte* plabelId = labelId) { double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); return ret; } } /// /// To be documented. /// public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) { fixed (byte* plabelId = labelId) { double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); return ret; } } /// /// To be documented. /// public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) { fixed (byte* plabelId = labelId) { double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); return ret; } } /// /// To be documented. /// public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags 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; } double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range) { 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; } double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins) { 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; } double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, int xBins) { 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; } double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static double PlotHistogram2D(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; } double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotRect range) { 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; } double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, ImPlotRect range) { 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; } double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotHistogramFlags 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; } double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotHistogramFlags 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; } double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, ImPlotHistogramFlags 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; } double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags 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; } double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, ImPlotRect range, ImPlotHistogramFlags 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; } double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } return ret; } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotDigitalNative(byte* labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[265])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[265])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotDigital(byte* labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { PlotDigitalNative(labelId, xs, ys, count, flags, offset, stride); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags, int offset) { PlotDigitalNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags) { PlotDigitalNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, float* xs, float* ys, int count) { PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, float* xs, float* ys, int count, int offset) { PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, float* xs, float* ys, int count, int offset, int stride) { PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, float* xs, float* ys, int count) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, float* xs, float* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, float* xs, float* ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, float* xs, float* ys, int count) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotDigital(string labelId, float* xs, float* ys, int count, ImPlotDigitalFlags 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; } PlotDigitalNative(pStr0, xs, ys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(string labelId, float* xs, float* ys, int count, ImPlotDigitalFlags 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; } PlotDigitalNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(string labelId, float* xs, float* ys, int count, ImPlotDigitalFlags 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; } PlotDigitalNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(string labelId, float* xs, float* ys, int count) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(string labelId, float* xs, float* ys, int count, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(string labelId, float* xs, float* ys, int count, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (float* pxs = &xs) { PlotDigitalNative(labelId, (float*)pxs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (float* pxs = &xs) { PlotDigitalNative(labelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags) { fixed (float* pxs = &xs) { PlotDigitalNative(labelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ref float xs, float* ys, int count) { fixed (float* pxs = &xs) { PlotDigitalNative(labelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ref float xs, float* ys, int count, int offset) { fixed (float* pxs = &xs) { PlotDigitalNative(labelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ref float xs, float* ys, int count, int offset, int stride) { fixed (float* pxs = &xs) { PlotDigitalNative(labelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, ref float xs, float* ys, int count) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, ref float xs, float* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, ref float xs, float* ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, ref float xs, float* ys, int count) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotDigital(string labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pxs = &xs) { PlotDigitalNative(pStr0, (float*)pxs, ys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotDigital(string labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pxs = &xs) { PlotDigitalNative(pStr0, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotDigital(string labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pxs = &xs) { PlotDigitalNative(pStr0, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotDigital(string labelId, ref float xs, float* ys, int count) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pxs = &xs) { PlotDigitalNative(pStr0, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotDigital(string labelId, ref float xs, float* ys, int count, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pxs = &xs) { PlotDigitalNative(pStr0, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotDigital(string labelId, ref float xs, float* ys, int count, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pxs = &xs) { PlotDigitalNative(pStr0, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (float* pys = &ys) { PlotDigitalNative(labelId, xs, (float*)pys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (float* pys = &ys) { PlotDigitalNative(labelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags) { fixed (float* pys = &ys) { PlotDigitalNative(labelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, float* xs, ref float ys, int count) { fixed (float* pys = &ys) { PlotDigitalNative(labelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, float* xs, ref float ys, int count, int offset) { fixed (float* pys = &ys) { PlotDigitalNative(labelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, float* xs, ref float ys, int count, int offset, int stride) { fixed (float* pys = &ys) { PlotDigitalNative(labelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (float* pys = &ys) { PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (float* pys = &ys) { PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags) { fixed (byte* plabelId = &labelId) { fixed (float* pys = &ys) { PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, float* xs, ref float ys, int count) { fixed (byte* plabelId = &labelId) { fixed (float* pys = &ys) { PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, float* xs, ref float ys, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (float* pys = &ys) { PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, float* xs, ref float ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (float* pys = &ys) { PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (float* pys = &ys) { PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (float* pys = &ys) { PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags) { fixed (byte* plabelId = labelId) { fixed (float* pys = &ys) { PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, float* xs, ref float ys, int count) { fixed (byte* plabelId = labelId) { fixed (float* pys = &ys) { PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (float* pys = &ys) { PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (float* pys = &ys) { PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotDigital(string labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pys = &ys) { PlotDigitalNative(pStr0, xs, (float*)pys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotDigital(string labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pys = &ys) { PlotDigitalNative(pStr0, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotDigital(string labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pys = &ys) { PlotDigitalNative(pStr0, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotDigital(string labelId, float* xs, ref float ys, int count) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pys = &ys) { PlotDigitalNative(pStr0, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotDigital(string labelId, float* xs, ref float ys, int count, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pys = &ys) { PlotDigitalNative(pStr0, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotDigital(string labelId, float* xs, ref float ys, int count, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pys = &ys) { PlotDigitalNative(pStr0, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotDigitalNative(labelId, (float*)pxs, (float*)pys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotDigitalNative(labelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotDigitalNative(labelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ref float xs, ref float ys, int count) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotDigitalNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ref float xs, ref float ys, int count, int offset) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotDigitalNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); } } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ref float xs, ref float ys, int count, int offset, int stride) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotDigitalNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); } } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); } } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, ref float xs, ref float ys, int count) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); } } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, ref float xs, ref float ys, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); } } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, ref float xs, ref float ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); } } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); } } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, ref float xs, ref float ys, int count) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); } } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); } } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotDigital(string labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotDigitalNative(pStr0, (float*)pxs, (float*)pys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotDigital(string labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotDigitalNative(pStr0, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotDigital(string labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotDigitalNative(pStr0, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotDigital(string labelId, ref float xs, ref float ys, int count) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotDigitalNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotDigital(string labelId, ref float xs, ref float ys, int count, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotDigitalNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotDigital(string labelId, ref float xs, ref float ys, int count, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (float* pxs = &xs) { fixed (float* pys = &ys) { PlotDigitalNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotDigitalNative(byte* labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[266])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[266])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotDigital(byte* labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { PlotDigitalNative(labelId, xs, ys, count, flags, offset, stride); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags, int offset) { PlotDigitalNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(double))); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags) { PlotDigitalNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, double* xs, double* ys, int count) { PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, double* xs, double* ys, int count, int offset) { PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, double* xs, double* ys, int count, int offset, int stride) { PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, double* xs, double* ys, int count) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, double* xs, double* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, double* xs, double* ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, double* xs, double* ys, int count) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotDigital(string labelId, double* xs, double* ys, int count, ImPlotDigitalFlags 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; } PlotDigitalNative(pStr0, xs, ys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(string labelId, double* xs, double* ys, int count, ImPlotDigitalFlags 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; } PlotDigitalNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(string labelId, double* xs, double* ys, int count, ImPlotDigitalFlags 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; } PlotDigitalNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(string labelId, double* xs, double* ys, int count) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(string labelId, double* xs, double* ys, int count, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(string labelId, double* xs, double* ys, int count, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (double* pxs = &xs) { PlotDigitalNative(labelId, (double*)pxs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (double* pxs = &xs) { PlotDigitalNative(labelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags) { fixed (double* pxs = &xs) { PlotDigitalNative(labelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ref double xs, double* ys, int count) { fixed (double* pxs = &xs) { PlotDigitalNative(labelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ref double xs, double* ys, int count, int offset) { fixed (double* pxs = &xs) { PlotDigitalNative(labelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ref double xs, double* ys, int count, int offset, int stride) { fixed (double* pxs = &xs) { PlotDigitalNative(labelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, ref double xs, double* ys, int count) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, ref double xs, double* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, ref double xs, double* ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, ref double xs, double* ys, int count) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotDigital(string labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags 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) { PlotDigitalNative(pStr0, (double*)pxs, ys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotDigital(string labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags 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) { PlotDigitalNative(pStr0, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotDigital(string labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags 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) { PlotDigitalNative(pStr0, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotDigital(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) { PlotDigitalNative(pStr0, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotDigital(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) { PlotDigitalNative(pStr0, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotDigital(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) { PlotDigitalNative(pStr0, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (double* pys = &ys) { PlotDigitalNative(labelId, xs, (double*)pys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (double* pys = &ys) { PlotDigitalNative(labelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags) { fixed (double* pys = &ys) { PlotDigitalNative(labelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, double* xs, ref double ys, int count) { fixed (double* pys = &ys) { PlotDigitalNative(labelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, double* xs, ref double ys, int count, int offset) { fixed (double* pys = &ys) { PlotDigitalNative(labelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, double* xs, ref double ys, int count, int offset, int stride) { fixed (double* pys = &ys) { PlotDigitalNative(labelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (double* pys = &ys) { PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (double* pys = &ys) { PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags) { fixed (byte* plabelId = &labelId) { fixed (double* pys = &ys) { PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, double* xs, ref double ys, int count) { fixed (byte* plabelId = &labelId) { fixed (double* pys = &ys) { PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, double* xs, ref double ys, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (double* pys = &ys) { PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, double* xs, ref double ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (double* pys = &ys) { PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (double* pys = &ys) { PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (double* pys = &ys) { PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags) { fixed (byte* plabelId = labelId) { fixed (double* pys = &ys) { PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, double* xs, ref double ys, int count) { fixed (byte* plabelId = labelId) { fixed (double* pys = &ys) { PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (double* pys = &ys) { PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (double* pys = &ys) { PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotDigital(string labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags 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) { PlotDigitalNative(pStr0, xs, (double*)pys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotDigital(string labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags 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) { PlotDigitalNative(pStr0, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotDigital(string labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags 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) { PlotDigitalNative(pStr0, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotDigital(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) { PlotDigitalNative(pStr0, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotDigital(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) { PlotDigitalNative(pStr0, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotDigital(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) { PlotDigitalNative(pStr0, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotDigitalNative(labelId, (double*)pxs, (double*)pys, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotDigitalNative(labelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotDigitalNative(labelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ref double xs, ref double ys, int count) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotDigitalNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ref double xs, ref double ys, int count, int offset) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotDigitalNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ref double xs, ref double ys, int count, int offset, int stride) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotDigitalNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, ref double xs, ref double ys, int count) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotDigital(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) { PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotDigital(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) { PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, ref double xs, ref double ys, int count) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotDigital(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) { PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotDigital(string labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags 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) { PlotDigitalNative(pStr0, (double*)pxs, (double*)pys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotDigital(string labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags 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) { PlotDigitalNative(pStr0, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotDigital(string labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags 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) { PlotDigitalNative(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 PlotDigital(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) { PlotDigitalNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotDigital(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) { PlotDigitalNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotDigital(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) { PlotDigitalNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotDigitalNative(byte* labelId, sbyte* xs, sbyte* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[267])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[267])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotDigital(byte* labelId, sbyte* xs, sbyte* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { PlotDigitalNative(labelId, xs, ys, count, flags, offset, stride); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, sbyte* xs, sbyte* ys, int count, ImPlotDigitalFlags flags, int offset) { PlotDigitalNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, sbyte* xs, sbyte* ys, int count, ImPlotDigitalFlags flags) { PlotDigitalNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, sbyte* xs, sbyte* ys, int count) { PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, sbyte* xs, sbyte* ys, int count, int offset) { PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, sbyte* xs, sbyte* ys, int count, int offset, int stride) { PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, sbyte* xs, sbyte* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, sbyte* xs, sbyte* ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, sbyte* xs, sbyte* ys, int count, ImPlotDigitalFlags flags) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, sbyte* xs, sbyte* ys, int count) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, sbyte* xs, sbyte* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, sbyte* xs, sbyte* ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, sbyte* xs, sbyte* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, sbyte* xs, sbyte* ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, sbyte* xs, sbyte* ys, int count, ImPlotDigitalFlags flags) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, sbyte* xs, sbyte* ys, int count) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, sbyte* xs, sbyte* ys, int count, int offset) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, sbyte* xs, sbyte* ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotDigital(string labelId, sbyte* xs, sbyte* ys, int count, ImPlotDigitalFlags 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; } PlotDigitalNative(pStr0, xs, ys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(string labelId, sbyte* xs, sbyte* ys, int count, ImPlotDigitalFlags 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; } PlotDigitalNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(string labelId, sbyte* xs, sbyte* ys, int count, ImPlotDigitalFlags 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; } PlotDigitalNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(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; } PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(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; } PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(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; } PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotDigitalNative(byte* labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[268])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[268])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotDigital(byte* labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { PlotDigitalNative(labelId, xs, ys, count, flags, offset, stride); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset) { PlotDigitalNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(byte))); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags) { PlotDigitalNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(byte))); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, byte* xs, byte* ys, int count) { PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(byte))); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, byte* xs, byte* ys, int count, int offset) { PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(byte))); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, byte* xs, byte* ys, int count, int offset, int stride) { PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(byte))); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(byte))); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, byte* xs, byte* ys, int count) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(byte))); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, byte* xs, byte* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(byte))); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, byte* xs, byte* ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(byte))); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(byte))); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, byte* xs, byte* ys, int count) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(byte))); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(byte))); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotDigital(string labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags 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; } PlotDigitalNative(pStr0, xs, ys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(string labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags 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; } PlotDigitalNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(byte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(string labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags 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; } PlotDigitalNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(byte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(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; } PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(byte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(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; } PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(byte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(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; } PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotDigitalNative(byte* labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[269])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[269])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotDigital(byte* labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { PlotDigitalNative(labelId, xs, ys, count, flags, offset, stride); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags, int offset) { PlotDigitalNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(short))); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags) { PlotDigitalNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, short* xs, short* ys, int count) { PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, short* xs, short* ys, int count, int offset) { PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, short* xs, short* ys, int count, int offset, int stride) { PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, short* xs, short* ys, int count) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, short* xs, short* ys, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotDigital(ref byte labelId, short* xs, short* ys, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, short* xs, short* ys, int count) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotDigital(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotDigital(string labelId, short* xs, short* ys, int count, ImPlotDigitalFlags 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; } PlotDigitalNative(pStr0, xs, ys, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(string labelId, short* xs, short* ys, int count, ImPlotDigitalFlags 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; } PlotDigitalNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(string labelId, short* xs, short* ys, int count, ImPlotDigitalFlags 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; } PlotDigitalNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(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; } PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(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; } PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotDigital(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; } PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotDigitalNative(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[270])(labelId, xs, ys, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[270])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { PlotDigitalNative(labelId, xs, ys, count, flags, offset, stride); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset) { PlotDigitalNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); } /// /// To be documented. /// public static void PlotDigital(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags) { PlotDigitalNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); } } }