// ------------------------------------------------------------------------------ // // 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 PlotInfLines(byte* labelId, ushort* values, int count) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ushort))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ushort* values, int count, int offset) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ushort))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ushort* values, int count, int offset, int stride) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ushort* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ushort* values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ushort* values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ushort* values, int count) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ushort* values, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ushort* values, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ushort* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ushort* values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ushort* values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ushort* values, int count) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ushort* values, int count, int offset) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ushort* values, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ushort* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ushort* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ushort* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ushort* values, int count) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ushort* values, int count, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ushort* values, int count, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (ushort* pvalues = &values) { PlotInfLinesNative(labelId, (ushort*)pvalues, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (ushort* pvalues = &values) { PlotInfLinesNative(labelId, (ushort*)pvalues, count, flags, offset, (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref ushort values, int count, ImPlotInfLinesFlags flags) { fixed (ushort* pvalues = &values) { PlotInfLinesNative(labelId, (ushort*)pvalues, count, flags, (int)(0), (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref ushort values, int count) { fixed (ushort* pvalues = &values) { PlotInfLinesNative(labelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref ushort values, int count, int offset) { fixed (ushort* pvalues = &values) { PlotInfLinesNative(labelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ushort))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref ushort values, int count, int offset, int stride) { fixed (ushort* pvalues = &values) { PlotInfLinesNative(labelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (ushort* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (ushort* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, flags, offset, (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref ushort values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = &labelId) { fixed (ushort* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, flags, (int)(0), (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref ushort values, int count) { fixed (byte* plabelId = &labelId) { fixed (ushort* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref ushort values, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (ushort* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref ushort values, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (ushort* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (ushort* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (ushort* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, flags, offset, (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref ushort values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = labelId) { fixed (ushort* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, flags, (int)(0), (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref ushort values, int count) { fixed (byte* plabelId = labelId) { fixed (ushort* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref ushort values, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (ushort* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ushort))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref ushort values, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (ushort* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref ushort values, int count, ImPlotInfLinesFlags 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* pvalues = &values) { PlotInfLinesNative(pStr0, (ushort*)pvalues, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref ushort values, int count, ImPlotInfLinesFlags 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 (ushort* pvalues = &values) { PlotInfLinesNative(pStr0, (ushort*)pvalues, count, flags, offset, (int)(sizeof(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref ushort values, int count, ImPlotInfLinesFlags 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 (ushort* pvalues = &values) { PlotInfLinesNative(pStr0, (ushort*)pvalues, count, flags, (int)(0), (int)(sizeof(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref ushort values, int count) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ushort* pvalues = &values) { PlotInfLinesNative(pStr0, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref ushort values, int count, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ushort* pvalues = &values) { PlotInfLinesNative(pStr0, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ushort))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref ushort values, int count, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ushort* pvalues = &values) { PlotInfLinesNative(pStr0, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotInfLinesNative(byte* labelId, int* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[204])(labelId, values, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[204])((nint)labelId, (nint)values, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, int* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { PlotInfLinesNative(labelId, values, count, flags, offset, stride); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, int* values, int count, ImPlotInfLinesFlags flags, int offset) { PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(int))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, int* values, int count, ImPlotInfLinesFlags flags) { PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(int))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, int* values, int count) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(int))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, int* values, int count, int offset) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(int))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, int* values, int count, int offset, int stride) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, int* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, int* values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, int* values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, int* values, int count) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, int* values, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, int* values, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, int* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, int* values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, int* values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, int* values, int count) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, int* values, int count, int offset) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, int* values, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, int* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, int* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(int))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, int* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(int))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, int* values, int count) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(int))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, int* values, int count, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(int))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, int* values, int count, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref int values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (int* pvalues = &values) { PlotInfLinesNative(labelId, (int*)pvalues, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref int values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (int* pvalues = &values) { PlotInfLinesNative(labelId, (int*)pvalues, count, flags, offset, (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref int values, int count, ImPlotInfLinesFlags flags) { fixed (int* pvalues = &values) { PlotInfLinesNative(labelId, (int*)pvalues, count, flags, (int)(0), (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref int values, int count) { fixed (int* pvalues = &values) { PlotInfLinesNative(labelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref int values, int count, int offset) { fixed (int* pvalues = &values) { PlotInfLinesNative(labelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(int))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref int values, int count, int offset, int stride) { fixed (int* pvalues = &values) { PlotInfLinesNative(labelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref int values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (int* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref int values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (int* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, flags, offset, (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref int values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = &labelId) { fixed (int* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, flags, (int)(0), (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref int values, int count) { fixed (byte* plabelId = &labelId) { fixed (int* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref int values, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (int* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref int values, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (int* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref int values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (int* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref int values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (int* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, flags, offset, (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref int values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = labelId) { fixed (int* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, flags, (int)(0), (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref int values, int count) { fixed (byte* plabelId = labelId) { fixed (int* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref int values, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (int* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(int))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref int values, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (int* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref int values, int count, ImPlotInfLinesFlags 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 (int* pvalues = &values) { PlotInfLinesNative(pStr0, (int*)pvalues, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref int values, int count, ImPlotInfLinesFlags 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 (int* pvalues = &values) { PlotInfLinesNative(pStr0, (int*)pvalues, count, flags, offset, (int)(sizeof(int))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref int values, int count, ImPlotInfLinesFlags 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 (int* pvalues = &values) { PlotInfLinesNative(pStr0, (int*)pvalues, count, flags, (int)(0), (int)(sizeof(int))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref int values, int count) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (int* pvalues = &values) { PlotInfLinesNative(pStr0, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(int))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref int values, int count, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (int* pvalues = &values) { PlotInfLinesNative(pStr0, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(int))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref int values, int count, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (int* pvalues = &values) { PlotInfLinesNative(pStr0, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotInfLinesNative(byte* labelId, uint* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[205])(labelId, values, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[205])((nint)labelId, (nint)values, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, uint* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { PlotInfLinesNative(labelId, values, count, flags, offset, stride); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, uint* values, int count, ImPlotInfLinesFlags flags, int offset) { PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(uint))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, uint* values, int count, ImPlotInfLinesFlags flags) { PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(uint))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, uint* values, int count) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(uint))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, uint* values, int count, int offset) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(uint))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, uint* values, int count, int offset, int stride) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, uint* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, uint* values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, uint* values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, uint* values, int count) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, uint* values, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, uint* values, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, uint* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, uint* values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, uint* values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, uint* values, int count) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, uint* values, int count, int offset) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, uint* values, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, uint* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, uint* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, uint* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, uint* values, int count) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, uint* values, int count, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, uint* values, int count, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref uint values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (uint* pvalues = &values) { PlotInfLinesNative(labelId, (uint*)pvalues, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref uint values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (uint* pvalues = &values) { PlotInfLinesNative(labelId, (uint*)pvalues, count, flags, offset, (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref uint values, int count, ImPlotInfLinesFlags flags) { fixed (uint* pvalues = &values) { PlotInfLinesNative(labelId, (uint*)pvalues, count, flags, (int)(0), (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref uint values, int count) { fixed (uint* pvalues = &values) { PlotInfLinesNative(labelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref uint values, int count, int offset) { fixed (uint* pvalues = &values) { PlotInfLinesNative(labelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(uint))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref uint values, int count, int offset, int stride) { fixed (uint* pvalues = &values) { PlotInfLinesNative(labelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref uint values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (uint* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref uint values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (uint* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, flags, offset, (int)(sizeof(uint))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref uint values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = &labelId) { fixed (uint* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, flags, (int)(0), (int)(sizeof(uint))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref uint values, int count) { fixed (byte* plabelId = &labelId) { fixed (uint* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(uint))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref uint values, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (uint* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(uint))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref uint values, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (uint* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref uint values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (uint* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref uint values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (uint* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, flags, offset, (int)(sizeof(uint))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref uint values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = labelId) { fixed (uint* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, flags, (int)(0), (int)(sizeof(uint))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref uint values, int count) { fixed (byte* plabelId = labelId) { fixed (uint* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(uint))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref uint values, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (uint* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(uint))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref uint values, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (uint* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref uint values, int count, ImPlotInfLinesFlags 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 (uint* pvalues = &values) { PlotInfLinesNative(pStr0, (uint*)pvalues, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref uint values, int count, ImPlotInfLinesFlags 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 (uint* pvalues = &values) { PlotInfLinesNative(pStr0, (uint*)pvalues, count, flags, offset, (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref uint values, int count, ImPlotInfLinesFlags 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 (uint* pvalues = &values) { PlotInfLinesNative(pStr0, (uint*)pvalues, count, flags, (int)(0), (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref uint values, int count) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (uint* pvalues = &values) { PlotInfLinesNative(pStr0, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref uint values, int count, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (uint* pvalues = &values) { PlotInfLinesNative(pStr0, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(uint))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref uint values, int count, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (uint* pvalues = &values) { PlotInfLinesNative(pStr0, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotInfLinesNative(byte* labelId, long* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[206])(labelId, values, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[206])((nint)labelId, (nint)values, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, long* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { PlotInfLinesNative(labelId, values, count, flags, offset, stride); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, long* values, int count, ImPlotInfLinesFlags flags, int offset) { PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, long* values, int count, ImPlotInfLinesFlags flags) { PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, long* values, int count) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, long* values, int count, int offset) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(long))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, long* values, int count, int offset, int stride) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, long* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, long* values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, long* values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, long* values, int count) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, long* values, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, long* values, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, long* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, long* values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, long* values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, long* values, int count) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, long* values, int count, int offset) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, long* values, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, long* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, long* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, long* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, long* values, int count) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, long* values, int count, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, long* values, int count, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref long values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (long* pvalues = &values) { PlotInfLinesNative(labelId, (long*)pvalues, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref long values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (long* pvalues = &values) { PlotInfLinesNative(labelId, (long*)pvalues, count, flags, offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref long values, int count, ImPlotInfLinesFlags flags) { fixed (long* pvalues = &values) { PlotInfLinesNative(labelId, (long*)pvalues, count, flags, (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref long values, int count) { fixed (long* pvalues = &values) { PlotInfLinesNative(labelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref long values, int count, int offset) { fixed (long* pvalues = &values) { PlotInfLinesNative(labelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(long))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref long values, int count, int offset, int stride) { fixed (long* pvalues = &values) { PlotInfLinesNative(labelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref long values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (long* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref long values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (long* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, flags, offset, (int)(sizeof(long))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref long values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = &labelId) { fixed (long* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, flags, (int)(0), (int)(sizeof(long))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref long values, int count) { fixed (byte* plabelId = &labelId) { fixed (long* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(long))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref long values, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (long* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(long))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref long values, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (long* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref long values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (long* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref long values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (long* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, flags, offset, (int)(sizeof(long))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref long values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = labelId) { fixed (long* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, flags, (int)(0), (int)(sizeof(long))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref long values, int count) { fixed (byte* plabelId = labelId) { fixed (long* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(long))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref long values, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (long* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(long))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref long values, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (long* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref long values, int count, ImPlotInfLinesFlags 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 (long* pvalues = &values) { PlotInfLinesNative(pStr0, (long*)pvalues, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref long values, int count, ImPlotInfLinesFlags 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 (long* pvalues = &values) { PlotInfLinesNative(pStr0, (long*)pvalues, count, flags, offset, (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref long values, int count, ImPlotInfLinesFlags 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 (long* pvalues = &values) { PlotInfLinesNative(pStr0, (long*)pvalues, count, flags, (int)(0), (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref long values, int count) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (long* pvalues = &values) { PlotInfLinesNative(pStr0, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref long values, int count, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (long* pvalues = &values) { PlotInfLinesNative(pStr0, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(long))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref long values, int count, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (long* pvalues = &values) { PlotInfLinesNative(pStr0, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotInfLinesNative(byte* labelId, ulong* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[207])(labelId, values, count, flags, offset, stride); #else ((delegate* unmanaged[Cdecl])funcTable[207])((nint)labelId, (nint)values, count, flags, offset, stride); #endif } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ulong* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { PlotInfLinesNative(labelId, values, count, flags, offset, stride); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ulong* values, int count, ImPlotInfLinesFlags flags, int offset) { PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ulong* values, int count, ImPlotInfLinesFlags flags) { PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ulong* values, int count) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ulong* values, int count, int offset) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ulong))); } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ulong* values, int count, int offset, int stride) { PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ulong* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ulong* values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ulong* values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ulong* values, int count) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ulong* values, int count, int offset) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ulong* values, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ulong* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ulong* values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ulong* values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ulong* values, int count) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ulong* values, int count, int offset) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ulong* values, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ulong* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ulong* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ulong* values, int count, ImPlotInfLinesFlags 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; } PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ulong* values, int count) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ulong* values, int count, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ulong* values, int count, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (ulong* pvalues = &values) { PlotInfLinesNative(labelId, (ulong*)pvalues, count, flags, offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (ulong* pvalues = &values) { PlotInfLinesNative(labelId, (ulong*)pvalues, count, flags, offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref ulong values, int count, ImPlotInfLinesFlags flags) { fixed (ulong* pvalues = &values) { PlotInfLinesNative(labelId, (ulong*)pvalues, count, flags, (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref ulong values, int count) { fixed (ulong* pvalues = &values) { PlotInfLinesNative(labelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref ulong values, int count, int offset) { fixed (ulong* pvalues = &values) { PlotInfLinesNative(labelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ulong))); } } /// /// To be documented. /// public static void PlotInfLines(byte* labelId, ref ulong values, int count, int offset, int stride) { fixed (ulong* pvalues = &values) { PlotInfLinesNative(labelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (ulong* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = &labelId) { fixed (ulong* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, flags, offset, (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref ulong values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = &labelId) { fixed (ulong* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, flags, (int)(0), (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref ulong values, int count) { fixed (byte* plabelId = &labelId) { fixed (ulong* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref ulong values, int count, int offset) { fixed (byte* plabelId = &labelId) { fixed (ulong* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotInfLines(ref byte labelId, ref ulong values, int count, int offset, int stride) { fixed (byte* plabelId = &labelId) { fixed (ulong* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (ulong* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, flags, offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset) { fixed (byte* plabelId = labelId) { fixed (ulong* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, flags, offset, (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref ulong values, int count, ImPlotInfLinesFlags flags) { fixed (byte* plabelId = labelId) { fixed (ulong* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, flags, (int)(0), (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref ulong values, int count) { fixed (byte* plabelId = labelId) { fixed (ulong* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref ulong values, int count, int offset) { fixed (byte* plabelId = labelId) { fixed (ulong* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ulong))); } } } /// /// To be documented. /// public static void PlotInfLines(ReadOnlySpan labelId, ref ulong values, int count, int offset, int stride) { fixed (byte* plabelId = labelId) { fixed (ulong* pvalues = &values) { PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref ulong values, int count, ImPlotInfLinesFlags 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 (ulong* pvalues = &values) { PlotInfLinesNative(pStr0, (ulong*)pvalues, count, flags, offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref ulong values, int count, ImPlotInfLinesFlags 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 (ulong* pvalues = &values) { PlotInfLinesNative(pStr0, (ulong*)pvalues, count, flags, offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref ulong values, int count, ImPlotInfLinesFlags 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 (ulong* pvalues = &values) { PlotInfLinesNative(pStr0, (ulong*)pvalues, count, flags, (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref ulong values, int count) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pvalues = &values) { PlotInfLinesNative(pStr0, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref ulong values, int count, int offset) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pvalues = &values) { PlotInfLinesNative(pStr0, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ulong))); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// public static void PlotInfLines(string labelId, ref ulong values, int count, int offset, int stride) { byte* pStr0 = null; int pStrSize0 = 0; if (labelId != null) { pStrSize0 = Utils.GetByteCountUTF8(labelId); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } fixed (ulong* pvalues = &values) { PlotInfLinesNative(pStr0, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } /// /// To be documented. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static void PlotPieChartNative(byte** labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) { #if NET5_0_OR_GREATER ((delegate* unmanaged[Cdecl])funcTable[208])(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); #else ((delegate* unmanaged[Cdecl])funcTable[208])((nint)labelIds, (nint)values, count, x, y, radius, (nint)labelFmt, angle0, flags); #endif } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) { PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) { PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt) { PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius) { PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, double angle0) { PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) { PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), flags); } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) { PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) { PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, flags); } /// /// To be documented. /// public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, double angle0) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) { fixed (float* pvalues = &values) { PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, labelFmt, angle0, flags); } } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, byte* labelFmt, double angle0) { fixed (float* pvalues = &values) { PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); } } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, byte* labelFmt) { fixed (float* pvalues = &values) { PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); } } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius) { fixed (float* pvalues = &values) { PlotPieChart(labelIds, (float*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); } } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, double angle0) { fixed (float* pvalues = &values) { PlotPieChart(labelIds, (float*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); } } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) { fixed (float* pvalues = &values) { PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); } } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) { fixed (float* pvalues = &values) { PlotPieChart(labelIds, (float*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); } } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) { fixed (float* pvalues = &values) { PlotPieChart(labelIds, (float*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); } } /// /// To be documented. /// public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (float* pvalues = &values) { PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, labelFmt, angle0, flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, byte* labelFmt, double angle0) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (float* pvalues = &values) { PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, byte* labelFmt) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (float* pvalues = &values) { PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (float* pvalues = &values) { PlotPieChart(pStrArray0, (float*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, double angle0) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (float* pvalues = &values) { PlotPieChart(pStrArray0, (float*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (float* pvalues = &values) { PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (float* pvalues = &values) { PlotPieChart(pStrArray0, (float*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } fixed (float* pvalues = &values) { PlotPieChart(pStrArray0, (float*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } } } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) { fixed (byte* plabelFmt = &labelFmt) { PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); } } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) { fixed (byte* plabelFmt = &labelFmt) { PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); } } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ref byte labelFmt) { fixed (byte* plabelFmt = &labelFmt) { PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); } } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) { fixed (byte* plabelFmt = &labelFmt) { PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); } } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) { fixed (byte* plabelFmt = labelFmt) { PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); } } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) { fixed (byte* plabelFmt = labelFmt) { PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); } } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) { fixed (byte* plabelFmt = labelFmt) { PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); } } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) { fixed (byte* plabelFmt = labelFmt) { PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); } } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelFmt != null) { pStrSize0 = Utils.GetByteCountUTF8(labelFmt); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, string labelFmt, double angle0) { byte* pStr0 = null; int pStrSize0 = 0; if (labelFmt != null) { pStrSize0 = Utils.GetByteCountUTF8(labelFmt); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, string labelFmt) { byte* pStr0 = null; int pStrSize0 = 0; if (labelFmt != null) { pStrSize0 = Utils.GetByteCountUTF8(labelFmt); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) { byte* pStr0 = null; int pStrSize0 = 0; if (labelFmt != null) { pStrSize0 = Utils.GetByteCountUTF8(labelFmt); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), flags); if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } byte* pStr0 = null; int pStrSize0 = 0; if (labelFmt != null) { pStrSize0 = Utils.GetByteCountUTF8(labelFmt); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, flags); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, string labelFmt, double angle0) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } byte* pStr0 = null; int pStrSize0 = 0; if (labelFmt != null) { pStrSize0 = Utils.GetByteCountUTF8(labelFmt); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } /// /// To be documented. /// public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, string labelFmt) { byte** pStrArray0 = null; int pStrArray0Size = Utils.GetByteCountArray(labelIds); if (labelIds != null) { if (pStrArray0Size > Utils.MaxStackallocSize) { pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); } else { byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; pStrArray0 = (byte**)pStrArray0Stack; } } for (int i = 0; i < labelIds.Length; i++) { pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); } byte* pStr0 = null; int pStrSize0 = 0; if (labelFmt != null) { pStrSize0 = Utils.GetByteCountUTF8(labelFmt); if (pStrSize0 >= Utils.MaxStackallocSize) { pStr0 = Utils.Alloc(pStrSize0 + 1); } else { byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; pStr0 = pStrStack0; } int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); pStr0[pStrOffset0] = 0; } PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); for (int i = 0; i < labelIds.Length; i++) { Utils.Free(pStrArray0[i]); } if (pStrArray0Size >= Utils.MaxStackallocSize) { Utils.Free(pStrArray0); } if (pStrSize0 >= Utils.MaxStackallocSize) { Utils.Free(pStr0); } } } }