// ------------------------------------------------------------------------------ // // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // // ------------------------------------------------------------------------------ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using HexaGen.Runtime; using System.Numerics; using Dalamud.Bindings.ImGui; namespace Dalamud.Bindings.ImPlot { public unsafe partial class ImPlot { /// /// To be documented. /// public static void PlotBars(string labelId, ref double xs, double* ys, int count, double barSize, 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) { PlotBarsNative(pStr0, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (double* pys = &ys) { PlotBarsNative(labelId, xs, (double*)pys, count, barSize, flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (double* pys = &ys) { PlotBarsNative(labelId, xs, (double*)pys, count, barSize, flags, offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (double* pys = &ys) { PlotBarsNative(labelId, xs, (double*)pys, count, barSize, flags, (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, double* xs, ref double ys, int count, double barSize) { fixed (double* pys = &ys) { PlotBarsNative(labelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, double* xs, ref double ys, int count, double barSize, int offset) { fixed (double* pys = &ys) { PlotBarsNative(labelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, double* xs, ref double ys, int count, double barSize, int offset, int stride) { fixed (double* pys = &ys) { PlotBarsNative(labelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (double* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (double* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, flags, offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (double* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, flags, (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, double* xs, ref double ys, int count, double barSize) { fixed (byte* plabelId = &labelId) { fixed (double* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, double* xs, ref double ys, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { fixed (double* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, double* xs, ref double ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (double* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (double* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (double* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, flags, offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { fixed (double* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, flags, (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, double* xs, ref double ys, int count, double barSize) { fixed (byte* plabelId = labelId) { fixed (double* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, double* xs, ref double ys, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { fixed (double* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, double* xs, ref double ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (double* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(string labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags 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) { PlotBarsNative(pStr0, xs, (double*)pys, count, barSize, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags 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) { PlotBarsNative(pStr0, xs, (double*)pys, count, barSize, flags, offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags 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) { PlotBarsNative(pStr0, xs, (double*)pys, count, barSize, flags, (int)(0), (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, double* xs, ref double ys, int count, double barSize) { 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) { PlotBarsNative(pStr0, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, double* xs, ref double ys, int count, double barSize, 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) { PlotBarsNative(pStr0, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, double* xs, ref double ys, int count, double barSize, 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) { PlotBarsNative(pStr0, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotBarsNative(labelId, (double*)pxs, (double*)pys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotBarsNative(labelId, (double*)pxs, (double*)pys, count, barSize, flags, offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotBarsNative(labelId, (double*)pxs, (double*)pys, count, barSize, flags, (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref double xs, ref double ys, int count, double barSize) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotBarsNative(labelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref double xs, ref double ys, int count, double barSize, int offset) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotBarsNative(labelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref double xs, ref double ys, int count, double barSize, int offset, int stride) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotBarsNative(labelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, flags, offset, (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, flags, (int)(0), (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref double xs, ref double ys, int count, double barSize) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref double xs, ref double ys, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref double xs, ref double ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, flags, offset, (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, flags, (int)(0), (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double barSize) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (double* pxs = &xs) { fixed (double* pys = &ys) { PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags 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) { PlotBarsNative(pStr0, (double*)pxs, (double*)pys, count, barSize, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags 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) { PlotBarsNative(pStr0, (double*)pxs, (double*)pys, count, barSize, flags, offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags 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) { PlotBarsNative(pStr0, (double*)pxs, (double*)pys, count, barSize, flags, (int)(0), (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref double xs, ref double ys, int count, double barSize) { 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) { PlotBarsNative(pStr0, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref double xs, ref double ys, int count, double barSize, 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) { PlotBarsNative(pStr0, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref double xs, ref double ys, int count, double barSize, 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) { PlotBarsNative(pStr0, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotBarsNative(byte* labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[147])(labelId, xs, ys, count, barSize, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[147])((nint)labelId, (nint)xs, (nint)ys, count, barSize, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotBars(byte* labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, stride); } /// /// To be documented. /// public static void PlotBars(byte* labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(sbyte))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags) { PlotBarsNative(labelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, byte* xs, byte* ys, int count, double barSize) { PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, byte* xs, byte* ys, int count, double barSize, int offset) { PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, byte* xs, byte* ys, int count, double barSize, int offset, int stride) { PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotBars(ref byte labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, byte* xs, byte* ys, int count, double barSize) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, byte* xs, byte* ys, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, byte* xs, byte* ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double barSize) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(string labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags 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; } PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags 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; } PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags 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; } PlotBarsNative(pStr0, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, byte* xs, byte* ys, int count, double barSize) { 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; } PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, byte* xs, byte* ys, int count, double barSize, 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; } PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, byte* xs, byte* ys, int count, double barSize, 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; } PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* pxs = &xs) { PlotBarsNative(labelId, (byte*)pxs, ys, count, barSize, flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* pxs = &xs) { PlotBarsNative(labelId, (byte*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* pxs = &xs) { PlotBarsNative(labelId, (byte*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref byte xs, byte* ys, int count, double barSize) { fixed (byte* pxs = &xs) { PlotBarsNative(labelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref byte xs, byte* ys, int count, double barSize, int offset) { fixed (byte* pxs = &xs) { PlotBarsNative(labelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref byte xs, byte* ys, int count, double barSize, int offset, int stride) { fixed (byte* pxs = &xs) { PlotBarsNative(labelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (byte* pxs = &xs) { PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (byte* pxs = &xs) { PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (byte* pxs = &xs) { PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref byte xs, byte* ys, int count, double barSize) { fixed (byte* plabelId = &labelId) { fixed (byte* pxs = &xs) { PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref byte xs, byte* ys, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { fixed (byte* pxs = &xs) { PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref byte xs, byte* ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (byte* pxs = &xs) { PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (byte* pxs = &xs) { PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (byte* pxs = &xs) { PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { fixed (byte* pxs = &xs) { PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double barSize) { fixed (byte* plabelId = labelId) { fixed (byte* pxs = &xs) { PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { fixed (byte* pxs = &xs) { PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (byte* pxs = &xs) { PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags 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 (byte* pxs = &xs) { PlotBarsNative(pStr0, (byte*)pxs, ys, count, barSize, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags 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 (byte* pxs = &xs) { PlotBarsNative(pStr0, (byte*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags 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 (byte* pxs = &xs) { PlotBarsNative(pStr0, (byte*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref byte xs, byte* ys, int count, double barSize) { 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 (byte* pxs = &xs) { PlotBarsNative(pStr0, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref byte xs, byte* ys, int count, double barSize, 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 (byte* pxs = &xs) { PlotBarsNative(pStr0, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref byte xs, byte* ys, int count, double barSize, 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 (byte* pxs = &xs) { PlotBarsNative(pStr0, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* pys = &ys) { PlotBarsNative(labelId, xs, (byte*)pys, count, barSize, flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* pys = &ys) { PlotBarsNative(labelId, xs, (byte*)pys, count, barSize, flags, offset, (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* pys = &ys) { PlotBarsNative(labelId, xs, (byte*)pys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, byte* xs, ref byte ys, int count, double barSize) { fixed (byte* pys = &ys) { PlotBarsNative(labelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, byte* xs, ref byte ys, int count, double barSize, int offset) { fixed (byte* pys = &ys) { PlotBarsNative(labelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, byte* xs, ref byte ys, int count, double barSize, int offset, int stride) { fixed (byte* pys = &ys) { PlotBarsNative(labelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (byte* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (byte* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, flags, offset, (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (byte* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, byte* xs, ref byte ys, int count, double barSize) { fixed (byte* plabelId = &labelId) { fixed (byte* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, byte* xs, ref byte ys, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { fixed (byte* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, byte* xs, ref byte ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (byte* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (byte* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (byte* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, flags, offset, (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { fixed (byte* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double barSize) { fixed (byte* plabelId = labelId) { fixed (byte* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { fixed (byte* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (byte* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(string labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags 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 (byte* pys = &ys) { PlotBarsNative(pStr0, xs, (byte*)pys, count, barSize, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags 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 (byte* pys = &ys) { PlotBarsNative(pStr0, xs, (byte*)pys, count, barSize, flags, offset, (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags 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 (byte* pys = &ys) { PlotBarsNative(pStr0, xs, (byte*)pys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, byte* xs, ref byte ys, int count, double barSize) { 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 (byte* pys = &ys) { PlotBarsNative(pStr0, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, byte* xs, ref byte ys, int count, double barSize, 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 (byte* pys = &ys) { PlotBarsNative(pStr0, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, byte* xs, ref byte ys, int count, double barSize, 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 (byte* pys = &ys) { PlotBarsNative(pStr0, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* pxs = &xs) { fixed (byte* pys = &ys) { PlotBarsNative(labelId, (byte*)pxs, (byte*)pys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* pxs = &xs) { fixed (byte* pys = &ys) { PlotBarsNative(labelId, (byte*)pxs, (byte*)pys, count, barSize, flags, offset, (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* pxs = &xs) { fixed (byte* pys = &ys) { PlotBarsNative(labelId, (byte*)pxs, (byte*)pys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref byte xs, ref byte ys, int count, double barSize) { fixed (byte* pxs = &xs) { fixed (byte* pys = &ys) { PlotBarsNative(labelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref byte xs, ref byte ys, int count, double barSize, int offset) { fixed (byte* pxs = &xs) { fixed (byte* pys = &ys) { PlotBarsNative(labelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref byte xs, ref byte ys, int count, double barSize, int offset, int stride) { fixed (byte* pxs = &xs) { fixed (byte* pys = &ys) { PlotBarsNative(labelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (byte* pxs = &xs) { fixed (byte* pys = &ys) { PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (byte* pxs = &xs) { fixed (byte* pys = &ys) { PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, flags, offset, (int)(sizeof(sbyte))); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (byte* pxs = &xs) { fixed (byte* pys = &ys) { PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref byte xs, ref byte ys, int count, double barSize) { fixed (byte* plabelId = &labelId) { fixed (byte* pxs = &xs) { fixed (byte* pys = &ys) { PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref byte xs, ref byte ys, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { fixed (byte* pxs = &xs) { fixed (byte* pys = &ys) { PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref byte xs, ref byte ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (byte* pxs = &xs) { fixed (byte* pys = &ys) { PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (byte* pxs = &xs) { fixed (byte* pys = &ys) { PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (byte* pxs = &xs) { fixed (byte* pys = &ys) { PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, flags, offset, (int)(sizeof(sbyte))); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { fixed (byte* pxs = &xs) { fixed (byte* pys = &ys) { PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double barSize) { fixed (byte* plabelId = labelId) { fixed (byte* pxs = &xs) { fixed (byte* pys = &ys) { PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { fixed (byte* pxs = &xs) { fixed (byte* pys = &ys) { PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (byte* pxs = &xs) { fixed (byte* pys = &ys) { PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags 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 (byte* pxs = &xs) { fixed (byte* pys = &ys) { PlotBarsNative(pStr0, (byte*)pxs, (byte*)pys, count, barSize, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags 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 (byte* pxs = &xs) { fixed (byte* pys = &ys) { PlotBarsNative(pStr0, (byte*)pxs, (byte*)pys, count, barSize, flags, offset, (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags 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 (byte* pxs = &xs) { fixed (byte* pys = &ys) { PlotBarsNative(pStr0, (byte*)pxs, (byte*)pys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref byte xs, ref byte ys, int count, double barSize) { 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 (byte* pxs = &xs) { fixed (byte* pys = &ys) { PlotBarsNative(pStr0, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref byte xs, ref byte ys, int count, double barSize, 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 (byte* pxs = &xs) { fixed (byte* pys = &ys) { PlotBarsNative(pStr0, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref byte xs, ref byte ys, int count, double barSize, 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 (byte* pxs = &xs) { fixed (byte* pys = &ys) { PlotBarsNative(pStr0, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotBarsNative(byte* labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[148])(labelId, xs, ys, count, barSize, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[148])((nint)labelId, (nint)xs, (nint)ys, count, barSize, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotBars(byte* labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, stride); } /// /// To be documented. /// public static void PlotBars(byte* labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(short))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags) { PlotBarsNative(labelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(short))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, short* xs, short* ys, int count, double barSize) { PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, short* xs, short* ys, int count, double barSize, int offset) { PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, short* xs, short* ys, int count, double barSize, int offset, int stride) { PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotBars(ref byte labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, short* xs, short* ys, int count, double barSize) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, short* xs, short* ys, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, short* xs, short* ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, short* xs, short* ys, int count, double barSize) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, short* xs, short* ys, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, short* xs, short* ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(string labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags 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; } PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags 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; } PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags 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; } PlotBarsNative(pStr0, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, short* xs, short* ys, int count, double barSize) { 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; } PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, short* xs, short* ys, int count, double barSize, 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; } PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, short* xs, short* ys, int count, double barSize, 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; } PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (short* pxs = &xs) { PlotBarsNative(labelId, (short*)pxs, ys, count, barSize, flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (short* pxs = &xs) { PlotBarsNative(labelId, (short*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (short* pxs = &xs) { PlotBarsNative(labelId, (short*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref short xs, short* ys, int count, double barSize) { fixed (short* pxs = &xs) { PlotBarsNative(labelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref short xs, short* ys, int count, double barSize, int offset) { fixed (short* pxs = &xs) { PlotBarsNative(labelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref short xs, short* ys, int count, double barSize, int offset, int stride) { fixed (short* pxs = &xs) { PlotBarsNative(labelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (short* pxs = &xs) { PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (short* pxs = &xs) { PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (short* pxs = &xs) { PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref short xs, short* ys, int count, double barSize) { fixed (byte* plabelId = &labelId) { fixed (short* pxs = &xs) { PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref short xs, short* ys, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { fixed (short* pxs = &xs) { PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref short xs, short* ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (short* pxs = &xs) { PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (short* pxs = &xs) { PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (short* pxs = &xs) { PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { fixed (short* pxs = &xs) { PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref short xs, short* ys, int count, double barSize) { fixed (byte* plabelId = labelId) { fixed (short* pxs = &xs) { PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref short xs, short* ys, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { fixed (short* pxs = &xs) { PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref short xs, short* ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (short* pxs = &xs) { PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags 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 (short* pxs = &xs) { PlotBarsNative(pStr0, (short*)pxs, ys, count, barSize, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags 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 (short* pxs = &xs) { PlotBarsNative(pStr0, (short*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags 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 (short* pxs = &xs) { PlotBarsNative(pStr0, (short*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref short xs, short* ys, int count, double barSize) { 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 (short* pxs = &xs) { PlotBarsNative(pStr0, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref short xs, short* ys, int count, double barSize, 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 (short* pxs = &xs) { PlotBarsNative(pStr0, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref short xs, short* ys, int count, double barSize, 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 (short* pxs = &xs) { PlotBarsNative(pStr0, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (short* pys = &ys) { PlotBarsNative(labelId, xs, (short*)pys, count, barSize, flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (short* pys = &ys) { PlotBarsNative(labelId, xs, (short*)pys, count, barSize, flags, offset, (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (short* pys = &ys) { PlotBarsNative(labelId, xs, (short*)pys, count, barSize, flags, (int)(0), (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, short* xs, ref short ys, int count, double barSize) { fixed (short* pys = &ys) { PlotBarsNative(labelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, short* xs, ref short ys, int count, double barSize, int offset) { fixed (short* pys = &ys) { PlotBarsNative(labelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, short* xs, ref short ys, int count, double barSize, int offset, int stride) { fixed (short* pys = &ys) { PlotBarsNative(labelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (short* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (short* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, flags, offset, (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (short* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, flags, (int)(0), (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, short* xs, ref short ys, int count, double barSize) { fixed (byte* plabelId = &labelId) { fixed (short* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, short* xs, ref short ys, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { fixed (short* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, short* xs, ref short ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (short* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (short* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (short* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, flags, offset, (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { fixed (short* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, flags, (int)(0), (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, short* xs, ref short ys, int count, double barSize) { fixed (byte* plabelId = labelId) { fixed (short* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, short* xs, ref short ys, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { fixed (short* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, short* xs, ref short ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (short* pys = &ys) { PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(string labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags 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 (short* pys = &ys) { PlotBarsNative(pStr0, xs, (short*)pys, count, barSize, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags 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 (short* pys = &ys) { PlotBarsNative(pStr0, xs, (short*)pys, count, barSize, flags, offset, (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags 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 (short* pys = &ys) { PlotBarsNative(pStr0, xs, (short*)pys, count, barSize, flags, (int)(0), (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, short* xs, ref short ys, int count, double barSize) { 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 (short* pys = &ys) { PlotBarsNative(pStr0, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, short* xs, ref short ys, int count, double barSize, 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 (short* pys = &ys) { PlotBarsNative(pStr0, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(string labelId, short* xs, ref short ys, int count, double barSize, 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 (short* pys = &ys) { PlotBarsNative(pStr0, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotBarsNative(labelId, (short*)pxs, (short*)pys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotBarsNative(labelId, (short*)pxs, (short*)pys, count, barSize, flags, offset, (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotBarsNative(labelId, (short*)pxs, (short*)pys, count, barSize, flags, (int)(0), (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref short xs, ref short ys, int count, double barSize) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotBarsNative(labelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref short xs, ref short ys, int count, double barSize, int offset) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotBarsNative(labelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); } } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref short xs, ref short ys, int count, double barSize, int offset, int stride) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotBarsNative(labelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, flags, offset, (int)(sizeof(short))); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, flags, (int)(0), (int)(sizeof(short))); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref short xs, ref short ys, int count, double barSize) { fixed (byte* plabelId = &labelId) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref short xs, ref short ys, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); } } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref short xs, ref short ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, flags, offset, stride); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, flags, offset, (int)(sizeof(short))); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, flags, (int)(0), (int)(sizeof(short))); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double barSize) { fixed (byte* plabelId = labelId) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); } } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (short* pxs = &xs) { fixed (short* pys = &ys) { PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags 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 (short* pxs = &xs) { fixed (short* pys = &ys) { PlotBarsNative(pStr0, (short*)pxs, (short*)pys, count, barSize, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags 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 (short* pxs = &xs) { fixed (short* pys = &ys) { PlotBarsNative(pStr0, (short*)pxs, (short*)pys, count, barSize, flags, offset, (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags 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 (short* pxs = &xs) { fixed (short* pys = &ys) { PlotBarsNative(pStr0, (short*)pxs, (short*)pys, count, barSize, flags, (int)(0), (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref short xs, ref short ys, int count, double barSize) { 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 (short* pxs = &xs) { fixed (short* pys = &ys) { PlotBarsNative(pStr0, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref short xs, ref short ys, int count, double barSize, 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 (short* pxs = &xs) { fixed (short* pys = &ys) { PlotBarsNative(pStr0, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref short xs, ref short ys, int count, double barSize, 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 (short* pxs = &xs) { fixed (short* pys = &ys) { PlotBarsNative(pStr0, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotBarsNative(byte* labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[149])(labelId, xs, ys, count, barSize, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[149])((nint)labelId, (nint)xs, (nint)ys, count, barSize, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotBars(byte* labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, stride); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(ushort))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags) { PlotBarsNative(labelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ushort* xs, ushort* ys, int count, double barSize) { PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ushort* xs, ushort* ys, int count, double barSize, int offset) { PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); } /// /// To be documented. /// public static void PlotBars(byte* labelId, ushort* xs, ushort* ys, int count, double barSize, int offset, int stride) { PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ushort* xs, ushort* ys, int count, double barSize) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ushort* xs, ushort* ys, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ushort* xs, ushort* ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double barSize) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(string labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags 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; } PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags 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; } PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, (int)(sizeof(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags 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; } PlotBarsNative(pStr0, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ushort* xs, ushort* ys, int count, double barSize) { 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; } PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ushort* xs, ushort* ys, int count, double barSize, 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; } PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(string labelId, ushort* xs, ushort* ys, int count, double barSize, 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; } PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (ushort* pxs = &xs) { PlotBarsNative(labelId, (ushort*)pxs, ys, count, barSize, flags, offset, stride); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (ushort* pxs = &xs) { PlotBarsNative(labelId, (ushort*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (ushort* pxs = &xs) { PlotBarsNative(labelId, (ushort*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref ushort xs, ushort* ys, int count, double barSize) { fixed (ushort* pxs = &xs) { PlotBarsNative(labelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref ushort xs, ushort* ys, int count, double barSize, int offset) { fixed (ushort* pxs = &xs) { PlotBarsNative(labelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotBars(byte* labelId, ref ushort xs, ushort* ys, int count, double barSize, int offset, int stride) { fixed (ushort* pxs = &xs) { PlotBarsNative(labelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (ushort* pxs = &xs) { PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (ushort* pxs = &xs) { PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = &labelId) { fixed (ushort* pxs = &xs) { PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref ushort xs, ushort* ys, int count, double barSize) { fixed (byte* plabelId = &labelId) { fixed (ushort* pxs = &xs) { PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref ushort xs, ushort* ys, int count, double barSize, int offset) { fixed (byte* plabelId = &labelId) { fixed (ushort* pxs = &xs) { PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotBars(ref byte labelId, ref ushort xs, ushort* ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (ushort* pxs = &xs) { PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (ushort* pxs = &xs) { PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (ushort* pxs = &xs) { PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags) { fixed (byte* plabelId = labelId) { fixed (ushort* pxs = &xs) { PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double barSize) { fixed (byte* plabelId = labelId) { fixed (ushort* pxs = &xs) { PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double barSize, int offset) { fixed (byte* plabelId = labelId) { fixed (ushort* pxs = &xs) { PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double barSize, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (ushort* pxs = &xs) { PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotBars(string labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags 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 (ushort* pxs = &xs) { PlotBarsNative(pStr0, (ushort*)pxs, ys, count, barSize, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } } }