mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
20853 lines
849 KiB
C#
20853 lines
849 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
|
#nullable enable
|
|
|
|
namespace Brutal.ImPlotApi
|
|
{
|
|
public partial class ImPlot
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L602">implot.h:602</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L436">implot.cpp:436</see><br/>
|
|
/// <c>ImPlotContext* CreateContext()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Creates a new ImPlot context. Call this after ImGui::CreateContext.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe ImPlotContextPtr CreateContext() => PInvoke.CreateContext();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L604">implot.h:604</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L444">implot.cpp:444</see><br/>
|
|
/// <c>void DestroyContext(ImPlotContext* ctx = nullptr)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Destroys an ImPlot context. Call this before ImGui::DestroyContext. nullptr = destroy current context.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void DestroyContext(ImPlotContextPtr ctx = default) => PInvoke.DestroyContext(ctx);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L606">implot.h:606</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L452">implot.cpp:452</see><br/>
|
|
/// <c>ImPlotContext* GetCurrentContext()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returns the current ImPlot context. nullptr if no context has ben set.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe ImPlotContextPtr GetCurrentContext() => PInvoke.GetCurrentContext();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L608">implot.h:608</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L456">implot.cpp:456</see><br/>
|
|
/// <c>void SetCurrentContext(ImPlotContext* ctx)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Sets the current ImPlot context.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetCurrentContext(ImPlotContextPtr ctx) => PInvoke.SetCurrentContext(ctx);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L614">implot.h:614</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L432">implot.cpp:432</see><br/>
|
|
/// <c>void SetImGuiContext(ImGuiContext* ctx)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Sets the current **ImGui** context. This is ONLY necessary if you are compiling
|
|
/// ImPlot as a DLL (not recommended) separate from your ImGui compilation. It
|
|
/// sets the global variable GImGui, which is not shared across DLL boundaries.
|
|
/// See GImGui documentation in imgui.cpp for more details.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe void SetImGuiContext(ImGuiContextPtr ctx) => PInvoke.SetImGuiContext(ctx);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L636">implot.h:636</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L2372">implot.cpp:2372</see><br/>
|
|
/// <c>bool BeginPlot(const char* title_id, const ImVec2& size=ImVec2(-1,0), ImPlotFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// - #title_id must be unique to the current ImGui ID scope. If you need to avoid ID
|
|
/// collisions or don't want to display a title in the plot, use double hashes
|
|
/// (e.g. "MyPlot##HiddenIdText" or "##NoTitle").
|
|
/// - #size is the **frame** size of the plot widget, not the plot area. The default
|
|
/// size of plots (i.e. when ImVec2(0,0)) can be modified in your ImPlotStyle.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe bool BeginPlot(ImString titleId, in float2? size = default, ImPlotFlags flags = default)
|
|
{
|
|
var size_default = size ?? new float2(-1f, 0f);
|
|
fixed (byte* titleId_fixed = titleId)
|
|
{
|
|
return PInvoke.BeginPlot(titleId_fixed, &size_default, flags);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L640">implot.h:640</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L2766">implot.cpp:2766</see><br/>
|
|
/// <c>void EndPlot()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Only call EndPlot() if BeginPlot() returns true! Typically called at the end
|
|
/// of an if statement conditioned on BeginPlot(). See example above.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe void EndPlot() => PInvoke.EndPlot();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L692">implot.h:692</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3341">implot.cpp:3341</see><br/>
|
|
/// <c>bool BeginSubplots(const char* title_id,</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe bool BeginSubplots(
|
|
ImString titleId,
|
|
int rows,
|
|
int cols,
|
|
in float2 size,
|
|
ImPlotSubplotFlags flags = default,
|
|
ReadOnlySpan<float> rowRatios = default,
|
|
ReadOnlySpan<float> colRatios = default
|
|
)
|
|
{
|
|
fixed (float* colRatios_fixed = colRatios)
|
|
{
|
|
fixed (float* rowRatios_fixed = rowRatios)
|
|
{
|
|
fixed (float2* size_fixed = &size)
|
|
{
|
|
fixed (byte* titleId_fixed = titleId)
|
|
{
|
|
return PInvoke.BeginSubplots(
|
|
titleId_fixed,
|
|
rows,
|
|
cols,
|
|
size_fixed,
|
|
flags,
|
|
rowRatios_fixed,
|
|
colRatios_fixed
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L702">implot.h:702</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3543">implot.cpp:3543</see><br/>
|
|
/// <c>void EndSubplots()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Only call EndSubplots() if BeginSubplots() returns true! Typically called at the end
|
|
/// of an if statement conditioned on BeginSublots(). See example above.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe void EndSubplots() => PInvoke.EndSubplots();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L734">implot.h:734</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L2125">implot.cpp:2125</see><br/>
|
|
/// <c>void SetupAxis(ImAxis axis, const char* label=nullptr, ImPlotAxisFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Enables an axis or sets the label and/or flags for an existing axis. Leave #label = nullptr for no
|
|
/// label.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetupAxis(ImAxis axis, ImString label = default, ImPlotAxisFlags flags = default)
|
|
{
|
|
fixed (byte* label_fixed = label)
|
|
{
|
|
PInvoke.SetupAxis(axis, label_fixed, flags);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L736">implot.h:736</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L2146">implot.cpp:2146</see><br/>
|
|
/// <c>void SetupAxisLimits(ImAxis axis, double v_min, double v_max, ImPlotCond cond = ImPlotCond_Once)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Sets an axis range limits. If ImPlotCond_Always is used, the axes limits will be locked. Inversion with
|
|
/// v_min > v_max is not supported; use SetupAxisLimits instead.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetupAxisLimits(
|
|
ImAxis axis,
|
|
double vMin,
|
|
double vMax,
|
|
ImPlotCond cond = (ImPlotCond)2
|
|
) => PInvoke.SetupAxisLimits(axis, vMin, vMax, cond);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L738">implot.h:738</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L2171">implot.cpp:2171</see><br/>
|
|
/// <c>void SetupAxisLinks(ImAxis axis, double* link_min, double* link_max)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Links an axis range limits to external values. Set to nullptr for no linkage. The pointer data must
|
|
/// remain valid until EndPlot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetupAxisLinks(ImAxis axis, Ptr<double> linkMin, Ptr<double> linkMax) =>
|
|
PInvoke.SetupAxisLinks(axis, (double*)linkMin, (double*)linkMax);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L740">implot.h:740</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L2159">implot.cpp:2159</see><br/>
|
|
/// <c>void SetupAxisFormat(ImAxis axis, const char* fmt)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Sets the format of numeric axis labels via formater specifier (default="%g"). Formated values will be
|
|
/// double (i.e. use %f).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetupAxisFormat(ImAxis axis, ImString text)
|
|
{
|
|
fixed (byte* text_fixed = text)
|
|
{
|
|
PInvoke.SetupAxisFormat_0(axis, text_fixed);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L742">implot.h:742</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L2183">implot.cpp:2183</see><br/>
|
|
/// <c>void SetupAxisFormat(ImAxis axis, ImPlotFormatter formatter, void* data=nullptr)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Sets the format of numeric axis labels via formatter callback. Given #value, write a label into #buff.
|
|
/// Optionally pass user data.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetupAxisFormat(ImAxis axis, ImPlotFormatter formatter, Ptr data = default) =>
|
|
PInvoke.SetupAxisFormat_1(axis, Marshal.GetFunctionPointerForDelegate(formatter), data);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L742">implot.h:742</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L2183">implot.cpp:2183</see><br/>
|
|
/// <c>void SetupAxisFormat(ImAxis axis, ImPlotFormatter formatter, void* data=nullptr)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Sets the format of numeric axis labels via formatter callback. Given #value, write a label into #buff.
|
|
/// Optionally pass user data.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetupAxisFormat(
|
|
ImAxis axis,
|
|
delegate* unmanaged[Cdecl]<double, byte*, int, void*, int> formatter,
|
|
Ptr data = default
|
|
) => PInvoke.SetupAxisFormat_1(axis, (nint)formatter, data);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L744">implot.h:744</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L2194">implot.cpp:2194</see><br/>
|
|
/// <c>void SetupAxisTicks(ImAxis axis, const double* values, int n_ticks, const char* const labels[]=nullptr, bool keep_default=false)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Sets an axis' ticks and optionally the labels. To keep the default ticks, set #keep_default=true.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetupAxisTicks(
|
|
ImAxis axis,
|
|
ReadOnlySpan<double> values,
|
|
ReadOnlySpan<Ptr<byte>> labels,
|
|
bool keepDefault = false
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labels_fixed = labels)
|
|
{
|
|
fixed (double* values_fixed = values)
|
|
{
|
|
PInvoke.SetupAxisTicks_0(axis, values_fixed, values.Length, (byte**)labels_fixed, keepDefault);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L746">implot.h:746</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L2210">implot.cpp:2210</see><br/>
|
|
/// <c>void SetupAxisTicks(ImAxis axis, double v_min, double v_max, int n_ticks, const char* const labels[]=nullptr, bool keep_default=false)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Sets an axis' ticks and optionally the labels for the next plot. To keep the default ticks, set
|
|
/// #keep_default=true.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetupAxisTicks(
|
|
ImAxis axis,
|
|
double vMin,
|
|
double vMax,
|
|
int nTicks,
|
|
ReadOnlySpan<Ptr<byte>> labels,
|
|
bool keepDefault = false
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labels_fixed = labels)
|
|
{
|
|
PInvoke.SetupAxisTicks_1(axis, vMin, vMax, nTicks, (byte**)labels_fixed, keepDefault);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L748">implot.h:748</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L2219">implot.cpp:2219</see><br/>
|
|
/// <c>void SetupAxisScale(ImAxis axis, ImPlotScale scale)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Sets an axis' scale using built-in options.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetupAxisScale(ImAxis axis, ImPlotScale scale) =>
|
|
PInvoke.SetupAxisScale_0(axis, scale);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L750">implot.h:750</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L2261">implot.cpp:2261</see><br/>
|
|
/// <c>void SetupAxisScale(ImAxis axis, ImPlotTransform forward, ImPlotTransform inverse, void* data=nullptr)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Sets an axis' scale using user supplied forward and inverse transfroms.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetupAxisScale(
|
|
ImAxis axis,
|
|
ImPlotTransform forward,
|
|
ImPlotTransform inverse,
|
|
Ptr data = default
|
|
) =>
|
|
PInvoke.SetupAxisScale_1(
|
|
axis,
|
|
Marshal.GetFunctionPointerForDelegate(forward),
|
|
Marshal.GetFunctionPointerForDelegate(inverse),
|
|
data
|
|
);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L750">implot.h:750</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L2261">implot.cpp:2261</see><br/>
|
|
/// <c>void SetupAxisScale(ImAxis axis, ImPlotTransform forward, ImPlotTransform inverse, void* data=nullptr)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Sets an axis' scale using user supplied forward and inverse transfroms.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetupAxisScale(
|
|
ImAxis axis,
|
|
delegate* unmanaged[Cdecl]<double, void*, double> forward,
|
|
delegate* unmanaged[Cdecl]<double, void*, double> inverse,
|
|
Ptr data = default
|
|
) => PInvoke.SetupAxisScale_1(axis, (nint)forward, (nint)inverse, data);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L752">implot.h:752</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L2274">implot.cpp:2274</see><br/>
|
|
/// <c>void SetupAxisLimitsConstraints(ImAxis axis, double v_min, double v_max)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Sets an axis' limits constraints.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetupAxisLimitsConstraints(ImAxis axis, double vMin, double vMax) =>
|
|
PInvoke.SetupAxisLimitsConstraints(axis, vMin, vMax);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L754">implot.h:754</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L2285">implot.cpp:2285</see><br/>
|
|
/// <c>void SetupAxisZoomConstraints(ImAxis axis, double z_min, double z_max)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Sets an axis' zoom constraints.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetupAxisZoomConstraints(ImAxis axis, double zMin, double zMax) =>
|
|
PInvoke.SetupAxisZoomConstraints(axis, zMin, zMax);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L757">implot.h:757</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L2296">implot.cpp:2296</see><br/>
|
|
/// <c>void SetupAxes(const char* x_label, const char* y_label, ImPlotAxisFlags x_flags=0, ImPlotAxisFlags y_flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Sets the label and/or flags for primary X and Y axes (shorthand for two calls to SetupAxis).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetupAxes(
|
|
ImString xLabel,
|
|
ImString yLabel,
|
|
ImPlotAxisFlags xFlags = default,
|
|
ImPlotAxisFlags yFlags = default
|
|
)
|
|
{
|
|
fixed (byte* yLabel_fixed = yLabel)
|
|
{
|
|
fixed (byte* xLabel_fixed = xLabel)
|
|
{
|
|
PInvoke.SetupAxes(xLabel_fixed, yLabel_fixed, xFlags, yFlags);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L759">implot.h:759</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L2301">implot.cpp:2301</see><br/>
|
|
/// <c>void SetupAxesLimits(double x_min, double x_max, double y_min, double y_max, ImPlotCond cond = ImPlotCond_Once)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Sets the primary X and Y axes range limits. If ImPlotCond_Always is used, the axes limits will be locked
|
|
/// (shorthand for two calls to SetupAxisLimits).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetupAxesLimits(
|
|
double xMin,
|
|
double xMax,
|
|
double yMin,
|
|
double yMax,
|
|
ImPlotCond cond = (ImPlotCond)2
|
|
) => PInvoke.SetupAxesLimits(xMin, xMax, yMin, yMax, cond);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L762">implot.h:762</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L2306">implot.cpp:2306</see><br/>
|
|
/// <c>void SetupLegend(ImPlotLocation location, ImPlotLegendFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Sets up the plot legend. This can also be called immediately after BeginSubplots when using
|
|
/// ImPlotSubplotFlags_ShareItems.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetupLegend(ImPlotLocation location, ImPlotLegendFlags flags = default) =>
|
|
PInvoke.SetupLegend(location, flags);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L764">implot.h:764</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L2323">implot.cpp:2323</see><br/>
|
|
/// <c>void SetupMouseText(ImPlotLocation location, ImPlotMouseTextFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Set the location of the current plot's mouse position text (default = South|East).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetupMouseText(ImPlotLocation location, ImPlotMouseTextFlags flags = default) =>
|
|
PInvoke.SetupMouseText(location, flags);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L768">implot.h:768</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L2466">implot.cpp:2466</see><br/>
|
|
/// <c>void SetupFinish()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Explicitly finalize plot setup. Once you call this, you cannot make anymore Setup calls for the current plot!
|
|
/// Note that calling this function is OPTIONAL; it will be called by the first subsequent setup-locking API call.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe void SetupFinish() => PInvoke.SetupFinish();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L794">implot.h:794</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L2335">implot.cpp:2335</see><br/>
|
|
/// <c>void SetNextAxisLimits(ImAxis axis, double v_min, double v_max, ImPlotCond cond = ImPlotCond_Once)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Sets an upcoming axis range limits. If ImPlotCond_Always is used, the axes limits will be locked.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetNextAxisLimits(
|
|
ImAxis axis,
|
|
double vMin,
|
|
double vMax,
|
|
ImPlotCond cond = (ImPlotCond)2
|
|
) => PInvoke.SetNextAxisLimits(axis, vMin, vMax, cond);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L796">implot.h:796</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L2345">implot.cpp:2345</see><br/>
|
|
/// <c>void SetNextAxisLinks(ImAxis axis, double* link_min, double* link_max)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Links an upcoming axis range limits to external values. Set to nullptr for no linkage. The pointer data
|
|
/// must remain valid until EndPlot!
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetNextAxisLinks(ImAxis axis, Ptr<double> linkMin, Ptr<double> linkMax) =>
|
|
PInvoke.SetNextAxisLinks(axis, (double*)linkMin, (double*)linkMax);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L798">implot.h:798</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L2352">implot.cpp:2352</see><br/>
|
|
/// <c>void SetNextAxisToFit(ImAxis axis)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Set an upcoming axis to auto fit to its data.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetNextAxisToFit(ImAxis axis) => PInvoke.SetNextAxisToFit(axis);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L801">implot.h:801</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L2358">implot.cpp:2358</see><br/>
|
|
/// <c>void SetNextAxesLimits(double x_min, double x_max, double y_min, double y_max, ImPlotCond cond = ImPlotCond_Once)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Sets the upcoming primary X and Y axes range limits. If ImPlotCond_Always is used, the axes limits will
|
|
/// be locked (shorthand for two calls to SetupAxisLimits).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetNextAxesLimits(
|
|
double xMin,
|
|
double xMax,
|
|
double yMin,
|
|
double yMax,
|
|
ImPlotCond cond = (ImPlotCond)2
|
|
) => PInvoke.SetNextAxesLimits(xMin, xMax, yMin, yMax, cond);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L803">implot.h:803</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L2363">implot.cpp:2363</see><br/>
|
|
/// <c>void SetNextAxesToFit()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Sets all upcoming axes to auto fit to their data.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetNextAxesToFit() => PInvoke.SetNextAxesToFit();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L858">implot.h:858</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1620">implot_items.cpp:1620</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
Ptr<float> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_0_float(labelId_fixed, (float*)values, count, xscale, xstart, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L858">implot.h:858</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1620">implot_items.cpp:1620</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
ReadOnlySpan<float> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (float* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_0_float(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L858">implot.h:858</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1620">implot_items.cpp:1620</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
Ptr<double> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_0_double(labelId_fixed, (double*)values, count, xscale, xstart, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L858">implot.h:858</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1620">implot_items.cpp:1620</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
ReadOnlySpan<double> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (double* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_0_double(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L858">implot.h:858</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1620">implot_items.cpp:1620</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
Ptr<sbyte> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_0_sbyte(labelId_fixed, (sbyte*)values, count, xscale, xstart, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L858">implot.h:858</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1620">implot_items.cpp:1620</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
ReadOnlySpan<sbyte> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (sbyte* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_0_sbyte(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L858">implot.h:858</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1620">implot_items.cpp:1620</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
Ptr<byte> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_0_byte(labelId_fixed, (byte*)values, count, xscale, xstart, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L858">implot.h:858</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1620">implot_items.cpp:1620</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
ReadOnlySpan<byte> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_0_byte(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L858">implot.h:858</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1620">implot_items.cpp:1620</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
Ptr<short> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_0_short(labelId_fixed, (short*)values, count, xscale, xstart, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L858">implot.h:858</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1620">implot_items.cpp:1620</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
ReadOnlySpan<short> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (short* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_0_short(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L858">implot.h:858</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1620">implot_items.cpp:1620</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
Ptr<ushort> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_0_ushort(labelId_fixed, (ushort*)values, count, xscale, xstart, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L858">implot.h:858</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1620">implot_items.cpp:1620</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
ReadOnlySpan<ushort> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (ushort* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_0_ushort(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L858">implot.h:858</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1620">implot_items.cpp:1620</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
Ptr<int> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_0_int(labelId_fixed, (int*)values, count, xscale, xstart, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L858">implot.h:858</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1620">implot_items.cpp:1620</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
ReadOnlySpan<int> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (int* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_0_int(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L858">implot.h:858</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1620">implot_items.cpp:1620</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
Ptr<uint> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_0_uint(labelId_fixed, (uint*)values, count, xscale, xstart, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L858">implot.h:858</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1620">implot_items.cpp:1620</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
ReadOnlySpan<uint> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (uint* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_0_uint(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L858">implot.h:858</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1620">implot_items.cpp:1620</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
Ptr<long> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_0_long(labelId_fixed, (long*)values, count, xscale, xstart, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L858">implot.h:858</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1620">implot_items.cpp:1620</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
ReadOnlySpan<long> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (long* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_0_long(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L858">implot.h:858</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1620">implot_items.cpp:1620</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
Ptr<ulong> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_0_ulong(labelId_fixed, (ulong*)values, count, xscale, xstart, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L858">implot.h:858</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1620">implot_items.cpp:1620</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
ReadOnlySpan<ulong> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (ulong* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_0_ulong(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L859">implot.h:859</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1626">implot_items.cpp:1626</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* xs, const T* ys, int count, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
Ptr<float> xs,
|
|
Ptr<float> ys,
|
|
int count,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_1_float(labelId_fixed, (float*)xs, (float*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L859">implot.h:859</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1626">implot_items.cpp:1626</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* xs, const T* ys, int count, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
ReadOnlySpan<float> xs,
|
|
ReadOnlySpan<float> ys,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (float* ys_fixed = ys)
|
|
{
|
|
fixed (float* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_1_float(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L859">implot.h:859</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1626">implot_items.cpp:1626</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* xs, const T* ys, int count, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
Ptr<double> xs,
|
|
Ptr<double> ys,
|
|
int count,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_1_double(labelId_fixed, (double*)xs, (double*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L859">implot.h:859</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1626">implot_items.cpp:1626</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* xs, const T* ys, int count, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
ReadOnlySpan<double> xs,
|
|
ReadOnlySpan<double> ys,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (double* ys_fixed = ys)
|
|
{
|
|
fixed (double* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_1_double(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L859">implot.h:859</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1626">implot_items.cpp:1626</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* xs, const T* ys, int count, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
Ptr<sbyte> xs,
|
|
Ptr<sbyte> ys,
|
|
int count,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_1_sbyte(labelId_fixed, (sbyte*)xs, (sbyte*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L859">implot.h:859</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1626">implot_items.cpp:1626</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* xs, const T* ys, int count, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
ReadOnlySpan<sbyte> xs,
|
|
ReadOnlySpan<sbyte> ys,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (sbyte* ys_fixed = ys)
|
|
{
|
|
fixed (sbyte* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_1_sbyte(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L859">implot.h:859</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1626">implot_items.cpp:1626</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* xs, const T* ys, int count, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
Ptr<byte> xs,
|
|
Ptr<byte> ys,
|
|
int count,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_1_byte(labelId_fixed, (byte*)xs, (byte*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L859">implot.h:859</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1626">implot_items.cpp:1626</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* xs, const T* ys, int count, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
ReadOnlySpan<byte> xs,
|
|
ReadOnlySpan<byte> ys,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* ys_fixed = ys)
|
|
{
|
|
fixed (byte* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_1_byte(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L859">implot.h:859</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1626">implot_items.cpp:1626</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* xs, const T* ys, int count, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
Ptr<short> xs,
|
|
Ptr<short> ys,
|
|
int count,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_1_short(labelId_fixed, (short*)xs, (short*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L859">implot.h:859</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1626">implot_items.cpp:1626</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* xs, const T* ys, int count, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
ReadOnlySpan<short> xs,
|
|
ReadOnlySpan<short> ys,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (short* ys_fixed = ys)
|
|
{
|
|
fixed (short* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_1_short(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L859">implot.h:859</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1626">implot_items.cpp:1626</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* xs, const T* ys, int count, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
Ptr<ushort> xs,
|
|
Ptr<ushort> ys,
|
|
int count,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_1_ushort(labelId_fixed, (ushort*)xs, (ushort*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L859">implot.h:859</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1626">implot_items.cpp:1626</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* xs, const T* ys, int count, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
ReadOnlySpan<ushort> xs,
|
|
ReadOnlySpan<ushort> ys,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (ushort* ys_fixed = ys)
|
|
{
|
|
fixed (ushort* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_1_ushort(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L859">implot.h:859</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1626">implot_items.cpp:1626</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* xs, const T* ys, int count, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
Ptr<int> xs,
|
|
Ptr<int> ys,
|
|
int count,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_1_int(labelId_fixed, (int*)xs, (int*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L859">implot.h:859</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1626">implot_items.cpp:1626</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* xs, const T* ys, int count, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
ReadOnlySpan<int> xs,
|
|
ReadOnlySpan<int> ys,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (int* ys_fixed = ys)
|
|
{
|
|
fixed (int* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_1_int(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L859">implot.h:859</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1626">implot_items.cpp:1626</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* xs, const T* ys, int count, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
Ptr<uint> xs,
|
|
Ptr<uint> ys,
|
|
int count,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_1_uint(labelId_fixed, (uint*)xs, (uint*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L859">implot.h:859</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1626">implot_items.cpp:1626</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* xs, const T* ys, int count, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
ReadOnlySpan<uint> xs,
|
|
ReadOnlySpan<uint> ys,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (uint* ys_fixed = ys)
|
|
{
|
|
fixed (uint* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_1_uint(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L859">implot.h:859</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1626">implot_items.cpp:1626</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* xs, const T* ys, int count, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
Ptr<long> xs,
|
|
Ptr<long> ys,
|
|
int count,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_1_long(labelId_fixed, (long*)xs, (long*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L859">implot.h:859</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1626">implot_items.cpp:1626</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* xs, const T* ys, int count, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
ReadOnlySpan<long> xs,
|
|
ReadOnlySpan<long> ys,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (long* ys_fixed = ys)
|
|
{
|
|
fixed (long* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_1_long(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L859">implot.h:859</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1626">implot_items.cpp:1626</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* xs, const T* ys, int count, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
Ptr<ulong> xs,
|
|
Ptr<ulong> ys,
|
|
int count,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_1_ulong(labelId_fixed, (ulong*)xs, (ulong*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L859">implot.h:859</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1626">implot_items.cpp:1626</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotLine(const char* label_id, const T* xs, const T* ys, int count, ImPlotLineFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLine(
|
|
ImString labelId,
|
|
ReadOnlySpan<ulong> xs,
|
|
ReadOnlySpan<ulong> ys,
|
|
ImPlotLineFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (ulong* ys_fixed = ys)
|
|
{
|
|
fixed (ulong* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLine_1_ulong(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L860">implot.h:860</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1638">implot_items.cpp:1638</see>
|
|
/// <br/>
|
|
/// <c>void PlotLineG(const char* label_id, ImPlotGetter getter, void* data, int count, ImPlotLineFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// <para>
|
|
/// custom
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLineG(
|
|
ImString labelId,
|
|
ImPlotGetter getter,
|
|
Ptr data,
|
|
int count,
|
|
ImPlotLineFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLineG(labelId_fixed, Marshal.GetFunctionPointerForDelegate(getter), data, count, flags);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L860">implot.h:860</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1638">implot_items.cpp:1638</see>
|
|
/// <br/>
|
|
/// <c>void PlotLineG(const char* label_id, ImPlotGetter getter, void* data, int count, ImPlotLineFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D line plot.
|
|
/// </para>
|
|
/// <para>
|
|
/// custom
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotLineG(
|
|
ImString labelId,
|
|
delegate* unmanaged[Cdecl]<int, void*, double2> getter,
|
|
Ptr data,
|
|
int count,
|
|
ImPlotLineFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotLineG(labelId_fixed, (nint)getter, data, count, flags);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L863">implot.h:863</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1670">implot_items.cpp:1670</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
Ptr<float> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_0_float(
|
|
labelId_fixed,
|
|
(float*)values,
|
|
count,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L863">implot.h:863</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1670">implot_items.cpp:1670</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
ReadOnlySpan<float> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (float* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_0_float(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L863">implot.h:863</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1670">implot_items.cpp:1670</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
Ptr<double> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_0_double(
|
|
labelId_fixed,
|
|
(double*)values,
|
|
count,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L863">implot.h:863</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1670">implot_items.cpp:1670</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
ReadOnlySpan<double> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (double* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_0_double(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L863">implot.h:863</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1670">implot_items.cpp:1670</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
Ptr<sbyte> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_0_sbyte(
|
|
labelId_fixed,
|
|
(sbyte*)values,
|
|
count,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L863">implot.h:863</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1670">implot_items.cpp:1670</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
ReadOnlySpan<sbyte> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (sbyte* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_0_sbyte(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L863">implot.h:863</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1670">implot_items.cpp:1670</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
Ptr<byte> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_0_byte(labelId_fixed, (byte*)values, count, xscale, xstart, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L863">implot.h:863</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1670">implot_items.cpp:1670</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
ReadOnlySpan<byte> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_0_byte(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L863">implot.h:863</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1670">implot_items.cpp:1670</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
Ptr<short> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_0_short(
|
|
labelId_fixed,
|
|
(short*)values,
|
|
count,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L863">implot.h:863</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1670">implot_items.cpp:1670</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
ReadOnlySpan<short> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (short* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_0_short(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L863">implot.h:863</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1670">implot_items.cpp:1670</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
Ptr<ushort> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_0_ushort(
|
|
labelId_fixed,
|
|
(ushort*)values,
|
|
count,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L863">implot.h:863</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1670">implot_items.cpp:1670</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
ReadOnlySpan<ushort> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (ushort* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_0_ushort(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L863">implot.h:863</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1670">implot_items.cpp:1670</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
Ptr<int> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_0_int(labelId_fixed, (int*)values, count, xscale, xstart, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L863">implot.h:863</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1670">implot_items.cpp:1670</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
ReadOnlySpan<int> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (int* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_0_int(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L863">implot.h:863</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1670">implot_items.cpp:1670</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
Ptr<uint> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_0_uint(labelId_fixed, (uint*)values, count, xscale, xstart, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L863">implot.h:863</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1670">implot_items.cpp:1670</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
ReadOnlySpan<uint> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (uint* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_0_uint(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L863">implot.h:863</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1670">implot_items.cpp:1670</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
Ptr<long> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_0_long(labelId_fixed, (long*)values, count, xscale, xstart, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L863">implot.h:863</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1670">implot_items.cpp:1670</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
ReadOnlySpan<long> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (long* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_0_long(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L863">implot.h:863</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1670">implot_items.cpp:1670</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
Ptr<ulong> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_0_ulong(
|
|
labelId_fixed,
|
|
(ulong*)values,
|
|
count,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L863">implot.h:863</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1670">implot_items.cpp:1670</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
ReadOnlySpan<ulong> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (ulong* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_0_ulong(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L864">implot.h:864</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1676">implot_items.cpp:1676</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* xs, const T* ys, int count, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
Ptr<float> xs,
|
|
Ptr<float> ys,
|
|
int count,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_1_float(labelId_fixed, (float*)xs, (float*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L864">implot.h:864</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1676">implot_items.cpp:1676</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* xs, const T* ys, int count, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
ReadOnlySpan<float> xs,
|
|
ReadOnlySpan<float> ys,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (float* ys_fixed = ys)
|
|
{
|
|
fixed (float* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_1_float(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L864">implot.h:864</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1676">implot_items.cpp:1676</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* xs, const T* ys, int count, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
Ptr<double> xs,
|
|
Ptr<double> ys,
|
|
int count,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_1_double(labelId_fixed, (double*)xs, (double*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L864">implot.h:864</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1676">implot_items.cpp:1676</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* xs, const T* ys, int count, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
ReadOnlySpan<double> xs,
|
|
ReadOnlySpan<double> ys,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (double* ys_fixed = ys)
|
|
{
|
|
fixed (double* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_1_double(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L864">implot.h:864</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1676">implot_items.cpp:1676</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* xs, const T* ys, int count, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
Ptr<sbyte> xs,
|
|
Ptr<sbyte> ys,
|
|
int count,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_1_sbyte(labelId_fixed, (sbyte*)xs, (sbyte*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L864">implot.h:864</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1676">implot_items.cpp:1676</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* xs, const T* ys, int count, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
ReadOnlySpan<sbyte> xs,
|
|
ReadOnlySpan<sbyte> ys,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (sbyte* ys_fixed = ys)
|
|
{
|
|
fixed (sbyte* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_1_sbyte(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L864">implot.h:864</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1676">implot_items.cpp:1676</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* xs, const T* ys, int count, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
Ptr<byte> xs,
|
|
Ptr<byte> ys,
|
|
int count,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_1_byte(labelId_fixed, (byte*)xs, (byte*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L864">implot.h:864</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1676">implot_items.cpp:1676</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* xs, const T* ys, int count, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
ReadOnlySpan<byte> xs,
|
|
ReadOnlySpan<byte> ys,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* ys_fixed = ys)
|
|
{
|
|
fixed (byte* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_1_byte(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L864">implot.h:864</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1676">implot_items.cpp:1676</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* xs, const T* ys, int count, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
Ptr<short> xs,
|
|
Ptr<short> ys,
|
|
int count,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_1_short(labelId_fixed, (short*)xs, (short*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L864">implot.h:864</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1676">implot_items.cpp:1676</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* xs, const T* ys, int count, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
ReadOnlySpan<short> xs,
|
|
ReadOnlySpan<short> ys,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (short* ys_fixed = ys)
|
|
{
|
|
fixed (short* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_1_short(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L864">implot.h:864</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1676">implot_items.cpp:1676</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* xs, const T* ys, int count, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
Ptr<ushort> xs,
|
|
Ptr<ushort> ys,
|
|
int count,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_1_ushort(labelId_fixed, (ushort*)xs, (ushort*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L864">implot.h:864</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1676">implot_items.cpp:1676</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* xs, const T* ys, int count, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
ReadOnlySpan<ushort> xs,
|
|
ReadOnlySpan<ushort> ys,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (ushort* ys_fixed = ys)
|
|
{
|
|
fixed (ushort* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_1_ushort(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L864">implot.h:864</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1676">implot_items.cpp:1676</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* xs, const T* ys, int count, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
Ptr<int> xs,
|
|
Ptr<int> ys,
|
|
int count,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_1_int(labelId_fixed, (int*)xs, (int*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L864">implot.h:864</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1676">implot_items.cpp:1676</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* xs, const T* ys, int count, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
ReadOnlySpan<int> xs,
|
|
ReadOnlySpan<int> ys,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (int* ys_fixed = ys)
|
|
{
|
|
fixed (int* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_1_int(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L864">implot.h:864</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1676">implot_items.cpp:1676</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* xs, const T* ys, int count, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
Ptr<uint> xs,
|
|
Ptr<uint> ys,
|
|
int count,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_1_uint(labelId_fixed, (uint*)xs, (uint*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L864">implot.h:864</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1676">implot_items.cpp:1676</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* xs, const T* ys, int count, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
ReadOnlySpan<uint> xs,
|
|
ReadOnlySpan<uint> ys,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (uint* ys_fixed = ys)
|
|
{
|
|
fixed (uint* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_1_uint(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L864">implot.h:864</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1676">implot_items.cpp:1676</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* xs, const T* ys, int count, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
Ptr<long> xs,
|
|
Ptr<long> ys,
|
|
int count,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_1_long(labelId_fixed, (long*)xs, (long*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L864">implot.h:864</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1676">implot_items.cpp:1676</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* xs, const T* ys, int count, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
ReadOnlySpan<long> xs,
|
|
ReadOnlySpan<long> ys,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (long* ys_fixed = ys)
|
|
{
|
|
fixed (long* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_1_long(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L864">implot.h:864</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1676">implot_items.cpp:1676</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* xs, const T* ys, int count, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
Ptr<ulong> xs,
|
|
Ptr<ulong> ys,
|
|
int count,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_1_ulong(labelId_fixed, (ulong*)xs, (ulong*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L864">implot.h:864</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1676">implot_items.cpp:1676</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotScatter(const char* label_id, const T* xs, const T* ys, int count, ImPlotScatterFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatter(
|
|
ImString labelId,
|
|
ReadOnlySpan<ulong> xs,
|
|
ReadOnlySpan<ulong> ys,
|
|
ImPlotScatterFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (ulong* ys_fixed = ys)
|
|
{
|
|
fixed (ulong* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatter_1_ulong(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L865">implot.h:865</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1688">implot_items.cpp:1688</see>
|
|
/// <br/>
|
|
/// <c>void PlotScatterG(const char* label_id, ImPlotGetter getter, void* data, int count, ImPlotScatterFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// <para>
|
|
/// custom
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatterG(
|
|
ImString labelId,
|
|
ImPlotGetter getter,
|
|
Ptr data,
|
|
int count,
|
|
ImPlotScatterFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatterG(labelId_fixed, Marshal.GetFunctionPointerForDelegate(getter), data, count, flags);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L865">implot.h:865</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1688">implot_items.cpp:1688</see>
|
|
/// <br/>
|
|
/// <c>void PlotScatterG(const char* label_id, ImPlotGetter getter, void* data, int count, ImPlotScatterFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a standard 2D scatter plot. Default marker is ImPlotMarker_Circle.
|
|
/// </para>
|
|
/// <para>
|
|
/// custom
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotScatterG(
|
|
ImString labelId,
|
|
delegate* unmanaged[Cdecl]<int, void*, double2> getter,
|
|
Ptr data,
|
|
int count,
|
|
ImPlotScatterFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotScatterG(labelId_fixed, (nint)getter, data, count, flags);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L868">implot.h:868</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1734">implot_items.cpp:1734</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
Ptr<float> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_0_float(labelId_fixed, (float*)values, count, xscale, xstart, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L868">implot.h:868</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1734">implot_items.cpp:1734</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
ReadOnlySpan<float> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (float* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_0_float(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L868">implot.h:868</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1734">implot_items.cpp:1734</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
Ptr<double> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_0_double(
|
|
labelId_fixed,
|
|
(double*)values,
|
|
count,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L868">implot.h:868</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1734">implot_items.cpp:1734</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
ReadOnlySpan<double> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (double* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_0_double(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L868">implot.h:868</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1734">implot_items.cpp:1734</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
Ptr<sbyte> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_0_sbyte(labelId_fixed, (sbyte*)values, count, xscale, xstart, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L868">implot.h:868</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1734">implot_items.cpp:1734</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
ReadOnlySpan<sbyte> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (sbyte* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_0_sbyte(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L868">implot.h:868</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1734">implot_items.cpp:1734</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
Ptr<byte> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_0_byte(labelId_fixed, (byte*)values, count, xscale, xstart, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L868">implot.h:868</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1734">implot_items.cpp:1734</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
ReadOnlySpan<byte> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_0_byte(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L868">implot.h:868</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1734">implot_items.cpp:1734</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
Ptr<short> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_0_short(labelId_fixed, (short*)values, count, xscale, xstart, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L868">implot.h:868</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1734">implot_items.cpp:1734</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
ReadOnlySpan<short> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (short* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_0_short(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L868">implot.h:868</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1734">implot_items.cpp:1734</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
Ptr<ushort> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_0_ushort(
|
|
labelId_fixed,
|
|
(ushort*)values,
|
|
count,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L868">implot.h:868</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1734">implot_items.cpp:1734</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
ReadOnlySpan<ushort> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (ushort* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_0_ushort(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L868">implot.h:868</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1734">implot_items.cpp:1734</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
Ptr<int> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_0_int(labelId_fixed, (int*)values, count, xscale, xstart, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L868">implot.h:868</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1734">implot_items.cpp:1734</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
ReadOnlySpan<int> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (int* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_0_int(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L868">implot.h:868</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1734">implot_items.cpp:1734</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
Ptr<uint> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_0_uint(labelId_fixed, (uint*)values, count, xscale, xstart, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L868">implot.h:868</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1734">implot_items.cpp:1734</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
ReadOnlySpan<uint> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (uint* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_0_uint(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L868">implot.h:868</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1734">implot_items.cpp:1734</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
Ptr<long> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_0_long(labelId_fixed, (long*)values, count, xscale, xstart, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L868">implot.h:868</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1734">implot_items.cpp:1734</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
ReadOnlySpan<long> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (long* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_0_long(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L868">implot.h:868</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1734">implot_items.cpp:1734</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
Ptr<ulong> values,
|
|
int count,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_0_ulong(labelId_fixed, (ulong*)values, count, xscale, xstart, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L868">implot.h:868</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1734">implot_items.cpp:1734</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* values, int count, double xscale=1, double xstart=0, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
ReadOnlySpan<ulong> values,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (ulong* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_0_ulong(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L869">implot.h:869</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1740">implot_items.cpp:1740</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* xs, const T* ys, int count, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
Ptr<float> xs,
|
|
Ptr<float> ys,
|
|
int count,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_1_float(labelId_fixed, (float*)xs, (float*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L869">implot.h:869</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1740">implot_items.cpp:1740</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* xs, const T* ys, int count, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
ReadOnlySpan<float> xs,
|
|
ReadOnlySpan<float> ys,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (float* ys_fixed = ys)
|
|
{
|
|
fixed (float* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_1_float(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L869">implot.h:869</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1740">implot_items.cpp:1740</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* xs, const T* ys, int count, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
Ptr<double> xs,
|
|
Ptr<double> ys,
|
|
int count,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_1_double(labelId_fixed, (double*)xs, (double*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L869">implot.h:869</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1740">implot_items.cpp:1740</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* xs, const T* ys, int count, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
ReadOnlySpan<double> xs,
|
|
ReadOnlySpan<double> ys,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (double* ys_fixed = ys)
|
|
{
|
|
fixed (double* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_1_double(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L869">implot.h:869</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1740">implot_items.cpp:1740</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* xs, const T* ys, int count, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
Ptr<sbyte> xs,
|
|
Ptr<sbyte> ys,
|
|
int count,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_1_sbyte(labelId_fixed, (sbyte*)xs, (sbyte*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L869">implot.h:869</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1740">implot_items.cpp:1740</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* xs, const T* ys, int count, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
ReadOnlySpan<sbyte> xs,
|
|
ReadOnlySpan<sbyte> ys,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (sbyte* ys_fixed = ys)
|
|
{
|
|
fixed (sbyte* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_1_sbyte(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L869">implot.h:869</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1740">implot_items.cpp:1740</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* xs, const T* ys, int count, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
Ptr<byte> xs,
|
|
Ptr<byte> ys,
|
|
int count,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_1_byte(labelId_fixed, (byte*)xs, (byte*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L869">implot.h:869</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1740">implot_items.cpp:1740</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* xs, const T* ys, int count, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
ReadOnlySpan<byte> xs,
|
|
ReadOnlySpan<byte> ys,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* ys_fixed = ys)
|
|
{
|
|
fixed (byte* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_1_byte(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L869">implot.h:869</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1740">implot_items.cpp:1740</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* xs, const T* ys, int count, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
Ptr<short> xs,
|
|
Ptr<short> ys,
|
|
int count,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_1_short(labelId_fixed, (short*)xs, (short*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L869">implot.h:869</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1740">implot_items.cpp:1740</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* xs, const T* ys, int count, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
ReadOnlySpan<short> xs,
|
|
ReadOnlySpan<short> ys,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (short* ys_fixed = ys)
|
|
{
|
|
fixed (short* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_1_short(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L869">implot.h:869</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1740">implot_items.cpp:1740</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* xs, const T* ys, int count, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
Ptr<ushort> xs,
|
|
Ptr<ushort> ys,
|
|
int count,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_1_ushort(labelId_fixed, (ushort*)xs, (ushort*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L869">implot.h:869</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1740">implot_items.cpp:1740</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* xs, const T* ys, int count, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
ReadOnlySpan<ushort> xs,
|
|
ReadOnlySpan<ushort> ys,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (ushort* ys_fixed = ys)
|
|
{
|
|
fixed (ushort* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_1_ushort(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L869">implot.h:869</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1740">implot_items.cpp:1740</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* xs, const T* ys, int count, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
Ptr<int> xs,
|
|
Ptr<int> ys,
|
|
int count,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_1_int(labelId_fixed, (int*)xs, (int*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L869">implot.h:869</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1740">implot_items.cpp:1740</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* xs, const T* ys, int count, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
ReadOnlySpan<int> xs,
|
|
ReadOnlySpan<int> ys,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (int* ys_fixed = ys)
|
|
{
|
|
fixed (int* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_1_int(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L869">implot.h:869</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1740">implot_items.cpp:1740</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* xs, const T* ys, int count, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
Ptr<uint> xs,
|
|
Ptr<uint> ys,
|
|
int count,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_1_uint(labelId_fixed, (uint*)xs, (uint*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L869">implot.h:869</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1740">implot_items.cpp:1740</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* xs, const T* ys, int count, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
ReadOnlySpan<uint> xs,
|
|
ReadOnlySpan<uint> ys,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (uint* ys_fixed = ys)
|
|
{
|
|
fixed (uint* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_1_uint(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L869">implot.h:869</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1740">implot_items.cpp:1740</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* xs, const T* ys, int count, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
Ptr<long> xs,
|
|
Ptr<long> ys,
|
|
int count,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_1_long(labelId_fixed, (long*)xs, (long*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L869">implot.h:869</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1740">implot_items.cpp:1740</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* xs, const T* ys, int count, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
ReadOnlySpan<long> xs,
|
|
ReadOnlySpan<long> ys,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (long* ys_fixed = ys)
|
|
{
|
|
fixed (long* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_1_long(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L869">implot.h:869</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1740">implot_items.cpp:1740</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* xs, const T* ys, int count, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
Ptr<ulong> xs,
|
|
Ptr<ulong> ys,
|
|
int count,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_1_ulong(labelId_fixed, (ulong*)xs, (ulong*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L869">implot.h:869</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1740">implot_items.cpp:1740</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStairs(const char* label_id, const T* xs, const T* ys, int count, ImPlotStairsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairs(
|
|
ImString labelId,
|
|
ReadOnlySpan<ulong> xs,
|
|
ReadOnlySpan<ulong> ys,
|
|
ImPlotStairsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (ulong* ys_fixed = ys)
|
|
{
|
|
fixed (ulong* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairs_1_ulong(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L870">implot.h:870</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1752">implot_items.cpp:1752</see>
|
|
/// <br/>
|
|
/// <c>void PlotStairsG(const char* label_id, ImPlotGetter getter, void* data, int count, ImPlotStairsFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// <para>
|
|
/// custom
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairsG(
|
|
ImString labelId,
|
|
ImPlotGetter getter,
|
|
Ptr data,
|
|
int count,
|
|
ImPlotStairsFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairsG(labelId_fixed, Marshal.GetFunctionPointerForDelegate(getter), data, count, flags);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L870">implot.h:870</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1752">implot_items.cpp:1752</see>
|
|
/// <br/>
|
|
/// <c>void PlotStairsG(const char* label_id, ImPlotGetter getter, void* data, int count, ImPlotStairsFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e.
|
|
/// the interval [x[i], x[i+1]) has the value y[i]
|
|
/// </para>
|
|
/// <para>
|
|
/// custom
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStairsG(
|
|
ImString labelId,
|
|
delegate* unmanaged[Cdecl]<int, void*, double2> getter,
|
|
Ptr data,
|
|
int count,
|
|
ImPlotStairsFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStairsG(labelId_fixed, (nint)getter, data, count, flags);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L873">implot.h:873</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1778">implot_items.cpp:1778</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* values, int count, double yref=0, double xscale=1, double xstart=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<float> values,
|
|
int count,
|
|
double yref = 0d,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_0_float(
|
|
labelId_fixed,
|
|
(float*)values,
|
|
count,
|
|
yref,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L873">implot.h:873</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1778">implot_items.cpp:1778</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* values, int count, double yref=0, double xscale=1, double xstart=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<float> values,
|
|
double yref = 0d,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (float* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_0_float(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
yref,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L873">implot.h:873</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1778">implot_items.cpp:1778</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* values, int count, double yref=0, double xscale=1, double xstart=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<double> values,
|
|
int count,
|
|
double yref = 0d,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_0_double(
|
|
labelId_fixed,
|
|
(double*)values,
|
|
count,
|
|
yref,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L873">implot.h:873</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1778">implot_items.cpp:1778</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* values, int count, double yref=0, double xscale=1, double xstart=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<double> values,
|
|
double yref = 0d,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (double* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_0_double(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
yref,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L873">implot.h:873</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1778">implot_items.cpp:1778</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* values, int count, double yref=0, double xscale=1, double xstart=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<sbyte> values,
|
|
int count,
|
|
double yref = 0d,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_0_sbyte(
|
|
labelId_fixed,
|
|
(sbyte*)values,
|
|
count,
|
|
yref,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L873">implot.h:873</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1778">implot_items.cpp:1778</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* values, int count, double yref=0, double xscale=1, double xstart=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<sbyte> values,
|
|
double yref = 0d,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (sbyte* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_0_sbyte(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
yref,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L873">implot.h:873</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1778">implot_items.cpp:1778</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* values, int count, double yref=0, double xscale=1, double xstart=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<byte> values,
|
|
int count,
|
|
double yref = 0d,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_0_byte(
|
|
labelId_fixed,
|
|
(byte*)values,
|
|
count,
|
|
yref,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L873">implot.h:873</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1778">implot_items.cpp:1778</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* values, int count, double yref=0, double xscale=1, double xstart=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<byte> values,
|
|
double yref = 0d,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_0_byte(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
yref,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L873">implot.h:873</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1778">implot_items.cpp:1778</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* values, int count, double yref=0, double xscale=1, double xstart=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<short> values,
|
|
int count,
|
|
double yref = 0d,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_0_short(
|
|
labelId_fixed,
|
|
(short*)values,
|
|
count,
|
|
yref,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L873">implot.h:873</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1778">implot_items.cpp:1778</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* values, int count, double yref=0, double xscale=1, double xstart=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<short> values,
|
|
double yref = 0d,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (short* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_0_short(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
yref,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L873">implot.h:873</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1778">implot_items.cpp:1778</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* values, int count, double yref=0, double xscale=1, double xstart=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<ushort> values,
|
|
int count,
|
|
double yref = 0d,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_0_ushort(
|
|
labelId_fixed,
|
|
(ushort*)values,
|
|
count,
|
|
yref,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L873">implot.h:873</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1778">implot_items.cpp:1778</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* values, int count, double yref=0, double xscale=1, double xstart=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<ushort> values,
|
|
double yref = 0d,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (ushort* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_0_ushort(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
yref,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L873">implot.h:873</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1778">implot_items.cpp:1778</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* values, int count, double yref=0, double xscale=1, double xstart=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<int> values,
|
|
int count,
|
|
double yref = 0d,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_0_int(
|
|
labelId_fixed,
|
|
(int*)values,
|
|
count,
|
|
yref,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L873">implot.h:873</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1778">implot_items.cpp:1778</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* values, int count, double yref=0, double xscale=1, double xstart=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<int> values,
|
|
double yref = 0d,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (int* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_0_int(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
yref,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L873">implot.h:873</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1778">implot_items.cpp:1778</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* values, int count, double yref=0, double xscale=1, double xstart=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<uint> values,
|
|
int count,
|
|
double yref = 0d,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_0_uint(
|
|
labelId_fixed,
|
|
(uint*)values,
|
|
count,
|
|
yref,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L873">implot.h:873</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1778">implot_items.cpp:1778</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* values, int count, double yref=0, double xscale=1, double xstart=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<uint> values,
|
|
double yref = 0d,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (uint* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_0_uint(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
yref,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L873">implot.h:873</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1778">implot_items.cpp:1778</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* values, int count, double yref=0, double xscale=1, double xstart=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<long> values,
|
|
int count,
|
|
double yref = 0d,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_0_long(
|
|
labelId_fixed,
|
|
(long*)values,
|
|
count,
|
|
yref,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L873">implot.h:873</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1778">implot_items.cpp:1778</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* values, int count, double yref=0, double xscale=1, double xstart=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<long> values,
|
|
double yref = 0d,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (long* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_0_long(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
yref,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L873">implot.h:873</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1778">implot_items.cpp:1778</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* values, int count, double yref=0, double xscale=1, double xstart=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<ulong> values,
|
|
int count,
|
|
double yref = 0d,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_0_ulong(
|
|
labelId_fixed,
|
|
(ulong*)values,
|
|
count,
|
|
yref,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L873">implot.h:873</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1778">implot_items.cpp:1778</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* values, int count, double yref=0, double xscale=1, double xstart=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<ulong> values,
|
|
double yref = 0d,
|
|
double xscale = 1d,
|
|
double xstart = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (ulong* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_0_ulong(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
yref,
|
|
xscale,
|
|
xstart,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L874">implot.h:874</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1789">implot_items.cpp:1789</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys, int count, double yref=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<float> xs,
|
|
Ptr<float> ys,
|
|
int count,
|
|
double yref = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_1_float(labelId_fixed, (float*)xs, (float*)ys, count, yref, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L874">implot.h:874</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1789">implot_items.cpp:1789</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys, int count, double yref=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<float> xs,
|
|
ReadOnlySpan<float> ys,
|
|
double yref = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (float* ys_fixed = ys)
|
|
{
|
|
fixed (float* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_1_float(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
yref,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L874">implot.h:874</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1789">implot_items.cpp:1789</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys, int count, double yref=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<double> xs,
|
|
Ptr<double> ys,
|
|
int count,
|
|
double yref = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_1_double(
|
|
labelId_fixed,
|
|
(double*)xs,
|
|
(double*)ys,
|
|
count,
|
|
yref,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L874">implot.h:874</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1789">implot_items.cpp:1789</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys, int count, double yref=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<double> xs,
|
|
ReadOnlySpan<double> ys,
|
|
double yref = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (double* ys_fixed = ys)
|
|
{
|
|
fixed (double* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_1_double(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
yref,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L874">implot.h:874</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1789">implot_items.cpp:1789</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys, int count, double yref=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<sbyte> xs,
|
|
Ptr<sbyte> ys,
|
|
int count,
|
|
double yref = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_1_sbyte(labelId_fixed, (sbyte*)xs, (sbyte*)ys, count, yref, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L874">implot.h:874</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1789">implot_items.cpp:1789</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys, int count, double yref=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<sbyte> xs,
|
|
ReadOnlySpan<sbyte> ys,
|
|
double yref = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (sbyte* ys_fixed = ys)
|
|
{
|
|
fixed (sbyte* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_1_sbyte(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
yref,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L874">implot.h:874</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1789">implot_items.cpp:1789</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys, int count, double yref=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<byte> xs,
|
|
Ptr<byte> ys,
|
|
int count,
|
|
double yref = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_1_byte(labelId_fixed, (byte*)xs, (byte*)ys, count, yref, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L874">implot.h:874</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1789">implot_items.cpp:1789</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys, int count, double yref=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<byte> xs,
|
|
ReadOnlySpan<byte> ys,
|
|
double yref = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* ys_fixed = ys)
|
|
{
|
|
fixed (byte* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_1_byte(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
yref,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L874">implot.h:874</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1789">implot_items.cpp:1789</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys, int count, double yref=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<short> xs,
|
|
Ptr<short> ys,
|
|
int count,
|
|
double yref = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_1_short(labelId_fixed, (short*)xs, (short*)ys, count, yref, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L874">implot.h:874</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1789">implot_items.cpp:1789</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys, int count, double yref=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<short> xs,
|
|
ReadOnlySpan<short> ys,
|
|
double yref = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (short* ys_fixed = ys)
|
|
{
|
|
fixed (short* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_1_short(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
yref,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L874">implot.h:874</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1789">implot_items.cpp:1789</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys, int count, double yref=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<ushort> xs,
|
|
Ptr<ushort> ys,
|
|
int count,
|
|
double yref = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_1_ushort(
|
|
labelId_fixed,
|
|
(ushort*)xs,
|
|
(ushort*)ys,
|
|
count,
|
|
yref,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L874">implot.h:874</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1789">implot_items.cpp:1789</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys, int count, double yref=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<ushort> xs,
|
|
ReadOnlySpan<ushort> ys,
|
|
double yref = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (ushort* ys_fixed = ys)
|
|
{
|
|
fixed (ushort* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_1_ushort(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
yref,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L874">implot.h:874</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1789">implot_items.cpp:1789</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys, int count, double yref=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<int> xs,
|
|
Ptr<int> ys,
|
|
int count,
|
|
double yref = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_1_int(labelId_fixed, (int*)xs, (int*)ys, count, yref, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L874">implot.h:874</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1789">implot_items.cpp:1789</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys, int count, double yref=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<int> xs,
|
|
ReadOnlySpan<int> ys,
|
|
double yref = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (int* ys_fixed = ys)
|
|
{
|
|
fixed (int* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_1_int(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
yref,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L874">implot.h:874</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1789">implot_items.cpp:1789</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys, int count, double yref=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<uint> xs,
|
|
Ptr<uint> ys,
|
|
int count,
|
|
double yref = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_1_uint(labelId_fixed, (uint*)xs, (uint*)ys, count, yref, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L874">implot.h:874</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1789">implot_items.cpp:1789</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys, int count, double yref=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<uint> xs,
|
|
ReadOnlySpan<uint> ys,
|
|
double yref = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (uint* ys_fixed = ys)
|
|
{
|
|
fixed (uint* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_1_uint(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
yref,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L874">implot.h:874</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1789">implot_items.cpp:1789</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys, int count, double yref=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<long> xs,
|
|
Ptr<long> ys,
|
|
int count,
|
|
double yref = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_1_long(labelId_fixed, (long*)xs, (long*)ys, count, yref, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L874">implot.h:874</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1789">implot_items.cpp:1789</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys, int count, double yref=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<long> xs,
|
|
ReadOnlySpan<long> ys,
|
|
double yref = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (long* ys_fixed = ys)
|
|
{
|
|
fixed (long* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_1_long(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
yref,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L874">implot.h:874</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1789">implot_items.cpp:1789</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys, int count, double yref=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<ulong> xs,
|
|
Ptr<ulong> ys,
|
|
int count,
|
|
double yref = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_1_ulong(labelId_fixed, (ulong*)xs, (ulong*)ys, count, yref, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L874">implot.h:874</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1789">implot_items.cpp:1789</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys, int count, double yref=0, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<ulong> xs,
|
|
ReadOnlySpan<ulong> ys,
|
|
double yref = 0d,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (ulong* ys_fixed = ys)
|
|
{
|
|
fixed (ulong* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_1_ulong(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
yref,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L875">implot.h:875</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1801">implot_items.cpp:1801</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys1, const T* ys2, int count, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<float> xs,
|
|
Ptr<float> ys1,
|
|
Ptr<float> ys2,
|
|
int count,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_2_float(
|
|
labelId_fixed,
|
|
(float*)xs,
|
|
(float*)ys1,
|
|
(float*)ys2,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L875">implot.h:875</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1801">implot_items.cpp:1801</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys1, const T* ys2, int count, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<float> xs,
|
|
ReadOnlySpan<float> ys1,
|
|
ReadOnlySpan<float> ys2,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (float* ys2_fixed = ys2)
|
|
{
|
|
fixed (float* ys1_fixed = ys1)
|
|
{
|
|
fixed (float* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_2_float(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys1_fixed,
|
|
ys2_fixed,
|
|
xs.Length,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L875">implot.h:875</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1801">implot_items.cpp:1801</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys1, const T* ys2, int count, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<double> xs,
|
|
Ptr<double> ys1,
|
|
Ptr<double> ys2,
|
|
int count,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_2_double(
|
|
labelId_fixed,
|
|
(double*)xs,
|
|
(double*)ys1,
|
|
(double*)ys2,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L875">implot.h:875</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1801">implot_items.cpp:1801</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys1, const T* ys2, int count, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<double> xs,
|
|
ReadOnlySpan<double> ys1,
|
|
ReadOnlySpan<double> ys2,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (double* ys2_fixed = ys2)
|
|
{
|
|
fixed (double* ys1_fixed = ys1)
|
|
{
|
|
fixed (double* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_2_double(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys1_fixed,
|
|
ys2_fixed,
|
|
xs.Length,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L875">implot.h:875</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1801">implot_items.cpp:1801</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys1, const T* ys2, int count, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<sbyte> xs,
|
|
Ptr<sbyte> ys1,
|
|
Ptr<sbyte> ys2,
|
|
int count,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_2_sbyte(
|
|
labelId_fixed,
|
|
(sbyte*)xs,
|
|
(sbyte*)ys1,
|
|
(sbyte*)ys2,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L875">implot.h:875</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1801">implot_items.cpp:1801</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys1, const T* ys2, int count, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<sbyte> xs,
|
|
ReadOnlySpan<sbyte> ys1,
|
|
ReadOnlySpan<sbyte> ys2,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (sbyte* ys2_fixed = ys2)
|
|
{
|
|
fixed (sbyte* ys1_fixed = ys1)
|
|
{
|
|
fixed (sbyte* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_2_sbyte(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys1_fixed,
|
|
ys2_fixed,
|
|
xs.Length,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L875">implot.h:875</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1801">implot_items.cpp:1801</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys1, const T* ys2, int count, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<byte> xs,
|
|
Ptr<byte> ys1,
|
|
Ptr<byte> ys2,
|
|
int count,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_2_byte(
|
|
labelId_fixed,
|
|
(byte*)xs,
|
|
(byte*)ys1,
|
|
(byte*)ys2,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L875">implot.h:875</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1801">implot_items.cpp:1801</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys1, const T* ys2, int count, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<byte> xs,
|
|
ReadOnlySpan<byte> ys1,
|
|
ReadOnlySpan<byte> ys2,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* ys2_fixed = ys2)
|
|
{
|
|
fixed (byte* ys1_fixed = ys1)
|
|
{
|
|
fixed (byte* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_2_byte(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys1_fixed,
|
|
ys2_fixed,
|
|
xs.Length,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L875">implot.h:875</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1801">implot_items.cpp:1801</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys1, const T* ys2, int count, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<short> xs,
|
|
Ptr<short> ys1,
|
|
Ptr<short> ys2,
|
|
int count,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_2_short(
|
|
labelId_fixed,
|
|
(short*)xs,
|
|
(short*)ys1,
|
|
(short*)ys2,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L875">implot.h:875</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1801">implot_items.cpp:1801</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys1, const T* ys2, int count, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<short> xs,
|
|
ReadOnlySpan<short> ys1,
|
|
ReadOnlySpan<short> ys2,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (short* ys2_fixed = ys2)
|
|
{
|
|
fixed (short* ys1_fixed = ys1)
|
|
{
|
|
fixed (short* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_2_short(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys1_fixed,
|
|
ys2_fixed,
|
|
xs.Length,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L875">implot.h:875</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1801">implot_items.cpp:1801</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys1, const T* ys2, int count, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<ushort> xs,
|
|
Ptr<ushort> ys1,
|
|
Ptr<ushort> ys2,
|
|
int count,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_2_ushort(
|
|
labelId_fixed,
|
|
(ushort*)xs,
|
|
(ushort*)ys1,
|
|
(ushort*)ys2,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L875">implot.h:875</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1801">implot_items.cpp:1801</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys1, const T* ys2, int count, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<ushort> xs,
|
|
ReadOnlySpan<ushort> ys1,
|
|
ReadOnlySpan<ushort> ys2,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (ushort* ys2_fixed = ys2)
|
|
{
|
|
fixed (ushort* ys1_fixed = ys1)
|
|
{
|
|
fixed (ushort* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_2_ushort(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys1_fixed,
|
|
ys2_fixed,
|
|
xs.Length,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L875">implot.h:875</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1801">implot_items.cpp:1801</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys1, const T* ys2, int count, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<int> xs,
|
|
Ptr<int> ys1,
|
|
Ptr<int> ys2,
|
|
int count,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_2_int(labelId_fixed, (int*)xs, (int*)ys1, (int*)ys2, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L875">implot.h:875</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1801">implot_items.cpp:1801</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys1, const T* ys2, int count, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<int> xs,
|
|
ReadOnlySpan<int> ys1,
|
|
ReadOnlySpan<int> ys2,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (int* ys2_fixed = ys2)
|
|
{
|
|
fixed (int* ys1_fixed = ys1)
|
|
{
|
|
fixed (int* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_2_int(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys1_fixed,
|
|
ys2_fixed,
|
|
xs.Length,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L875">implot.h:875</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1801">implot_items.cpp:1801</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys1, const T* ys2, int count, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<uint> xs,
|
|
Ptr<uint> ys1,
|
|
Ptr<uint> ys2,
|
|
int count,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_2_uint(
|
|
labelId_fixed,
|
|
(uint*)xs,
|
|
(uint*)ys1,
|
|
(uint*)ys2,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L875">implot.h:875</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1801">implot_items.cpp:1801</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys1, const T* ys2, int count, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<uint> xs,
|
|
ReadOnlySpan<uint> ys1,
|
|
ReadOnlySpan<uint> ys2,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (uint* ys2_fixed = ys2)
|
|
{
|
|
fixed (uint* ys1_fixed = ys1)
|
|
{
|
|
fixed (uint* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_2_uint(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys1_fixed,
|
|
ys2_fixed,
|
|
xs.Length,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L875">implot.h:875</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1801">implot_items.cpp:1801</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys1, const T* ys2, int count, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<long> xs,
|
|
Ptr<long> ys1,
|
|
Ptr<long> ys2,
|
|
int count,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_2_long(
|
|
labelId_fixed,
|
|
(long*)xs,
|
|
(long*)ys1,
|
|
(long*)ys2,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L875">implot.h:875</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1801">implot_items.cpp:1801</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys1, const T* ys2, int count, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<long> xs,
|
|
ReadOnlySpan<long> ys1,
|
|
ReadOnlySpan<long> ys2,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (long* ys2_fixed = ys2)
|
|
{
|
|
fixed (long* ys1_fixed = ys1)
|
|
{
|
|
fixed (long* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_2_long(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys1_fixed,
|
|
ys2_fixed,
|
|
xs.Length,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L875">implot.h:875</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1801">implot_items.cpp:1801</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys1, const T* ys2, int count, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
Ptr<ulong> xs,
|
|
Ptr<ulong> ys1,
|
|
Ptr<ulong> ys2,
|
|
int count,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_2_ulong(
|
|
labelId_fixed,
|
|
(ulong*)xs,
|
|
(ulong*)ys1,
|
|
(ulong*)ys2,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L875">implot.h:875</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1801">implot_items.cpp:1801</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotShaded(const char* label_id, const T* xs, const T* ys1, const T* ys2, int count, ImPlotShadedFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShaded(
|
|
ImString labelId,
|
|
ReadOnlySpan<ulong> xs,
|
|
ReadOnlySpan<ulong> ys1,
|
|
ReadOnlySpan<ulong> ys2,
|
|
ImPlotShadedFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (ulong* ys2_fixed = ys2)
|
|
{
|
|
fixed (ulong* ys1_fixed = ys1)
|
|
{
|
|
fixed (ulong* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShaded_2_ulong(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys1_fixed,
|
|
ys2_fixed,
|
|
xs.Length,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L876">implot.h:876</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1815">implot_items.cpp:1815</see>
|
|
/// <br/>
|
|
/// <c>void PlotShadedG(const char* label_id, ImPlotGetter getter1, void* data1, ImPlotGetter getter2, void* data2, int count, ImPlotShadedFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// <para>
|
|
/// custom
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShadedG(
|
|
ImString labelId,
|
|
ImPlotGetter getter1,
|
|
Ptr data1,
|
|
ImPlotGetter getter2,
|
|
Ptr data2,
|
|
int count,
|
|
ImPlotShadedFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShadedG(
|
|
labelId_fixed,
|
|
Marshal.GetFunctionPointerForDelegate(getter1),
|
|
data1,
|
|
Marshal.GetFunctionPointerForDelegate(getter2),
|
|
data2,
|
|
count,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L876">implot.h:876</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1815">implot_items.cpp:1815</see>
|
|
/// <br/>
|
|
/// <c>void PlotShadedG(const char* label_id, ImPlotGetter getter1, void* data1, ImPlotGetter getter2, void* data2, int count, ImPlotShadedFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a shaded (filled) region between two lines, or a line and a horizontal reference. Set yref to
|
|
/// +/-INFINITY for infinite fill extents.
|
|
/// </para>
|
|
/// <para>
|
|
/// custom
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotShadedG(
|
|
ImString labelId,
|
|
delegate* unmanaged[Cdecl]<int, void*, double2> getter1,
|
|
Ptr data1,
|
|
delegate* unmanaged[Cdecl]<int, void*, double2> getter2,
|
|
Ptr data2,
|
|
int count,
|
|
ImPlotShadedFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotShadedG(labelId_fixed, (nint)getter1, data1, (nint)getter2, data2, count, flags);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L879">implot.h:879</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1874">implot_items.cpp:1874</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* values, int count, double bar_size=0.67, double shift=0, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
Ptr<float> values,
|
|
int count,
|
|
double barSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_0_float(labelId_fixed, (float*)values, count, barSize, shift, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L879">implot.h:879</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1874">implot_items.cpp:1874</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* values, int count, double bar_size=0.67, double shift=0, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
ReadOnlySpan<float> values,
|
|
double barSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (float* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_0_float(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
barSize,
|
|
shift,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L879">implot.h:879</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1874">implot_items.cpp:1874</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* values, int count, double bar_size=0.67, double shift=0, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
Ptr<double> values,
|
|
int count,
|
|
double barSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_0_double(labelId_fixed, (double*)values, count, barSize, shift, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L879">implot.h:879</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1874">implot_items.cpp:1874</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* values, int count, double bar_size=0.67, double shift=0, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
ReadOnlySpan<double> values,
|
|
double barSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (double* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_0_double(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
barSize,
|
|
shift,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L879">implot.h:879</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1874">implot_items.cpp:1874</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* values, int count, double bar_size=0.67, double shift=0, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
Ptr<sbyte> values,
|
|
int count,
|
|
double barSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_0_sbyte(labelId_fixed, (sbyte*)values, count, barSize, shift, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L879">implot.h:879</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1874">implot_items.cpp:1874</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* values, int count, double bar_size=0.67, double shift=0, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
ReadOnlySpan<sbyte> values,
|
|
double barSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (sbyte* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_0_sbyte(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
barSize,
|
|
shift,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L879">implot.h:879</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1874">implot_items.cpp:1874</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* values, int count, double bar_size=0.67, double shift=0, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
Ptr<byte> values,
|
|
int count,
|
|
double barSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_0_byte(labelId_fixed, (byte*)values, count, barSize, shift, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L879">implot.h:879</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1874">implot_items.cpp:1874</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* values, int count, double bar_size=0.67, double shift=0, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
ReadOnlySpan<byte> values,
|
|
double barSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_0_byte(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
barSize,
|
|
shift,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L879">implot.h:879</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1874">implot_items.cpp:1874</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* values, int count, double bar_size=0.67, double shift=0, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
Ptr<short> values,
|
|
int count,
|
|
double barSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_0_short(labelId_fixed, (short*)values, count, barSize, shift, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L879">implot.h:879</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1874">implot_items.cpp:1874</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* values, int count, double bar_size=0.67, double shift=0, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
ReadOnlySpan<short> values,
|
|
double barSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (short* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_0_short(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
barSize,
|
|
shift,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L879">implot.h:879</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1874">implot_items.cpp:1874</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* values, int count, double bar_size=0.67, double shift=0, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
Ptr<ushort> values,
|
|
int count,
|
|
double barSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_0_ushort(labelId_fixed, (ushort*)values, count, barSize, shift, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L879">implot.h:879</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1874">implot_items.cpp:1874</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* values, int count, double bar_size=0.67, double shift=0, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
ReadOnlySpan<ushort> values,
|
|
double barSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (ushort* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_0_ushort(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
barSize,
|
|
shift,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L879">implot.h:879</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1874">implot_items.cpp:1874</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* values, int count, double bar_size=0.67, double shift=0, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
Ptr<int> values,
|
|
int count,
|
|
double barSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_0_int(labelId_fixed, (int*)values, count, barSize, shift, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L879">implot.h:879</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1874">implot_items.cpp:1874</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* values, int count, double bar_size=0.67, double shift=0, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
ReadOnlySpan<int> values,
|
|
double barSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (int* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_0_int(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
barSize,
|
|
shift,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L879">implot.h:879</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1874">implot_items.cpp:1874</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* values, int count, double bar_size=0.67, double shift=0, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
Ptr<uint> values,
|
|
int count,
|
|
double barSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_0_uint(labelId_fixed, (uint*)values, count, barSize, shift, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L879">implot.h:879</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1874">implot_items.cpp:1874</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* values, int count, double bar_size=0.67, double shift=0, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
ReadOnlySpan<uint> values,
|
|
double barSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (uint* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_0_uint(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
barSize,
|
|
shift,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L879">implot.h:879</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1874">implot_items.cpp:1874</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* values, int count, double bar_size=0.67, double shift=0, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
Ptr<long> values,
|
|
int count,
|
|
double barSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_0_long(labelId_fixed, (long*)values, count, barSize, shift, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L879">implot.h:879</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1874">implot_items.cpp:1874</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* values, int count, double bar_size=0.67, double shift=0, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
ReadOnlySpan<long> values,
|
|
double barSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (long* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_0_long(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
barSize,
|
|
shift,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L879">implot.h:879</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1874">implot_items.cpp:1874</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* values, int count, double bar_size=0.67, double shift=0, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
Ptr<ulong> values,
|
|
int count,
|
|
double barSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_0_ulong(labelId_fixed, (ulong*)values, count, barSize, shift, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L879">implot.h:879</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1874">implot_items.cpp:1874</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* values, int count, double bar_size=0.67, double shift=0, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
ReadOnlySpan<ulong> values,
|
|
double barSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (ulong* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_0_ulong(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
barSize,
|
|
shift,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L880">implot.h:880</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1888">implot_items.cpp:1888</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* xs, const T* ys, int count, double bar_size, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
Ptr<float> xs,
|
|
Ptr<float> ys,
|
|
int count,
|
|
double barSize,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_1_float(labelId_fixed, (float*)xs, (float*)ys, count, barSize, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L880">implot.h:880</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1888">implot_items.cpp:1888</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* xs, const T* ys, int count, double bar_size, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
ReadOnlySpan<float> xs,
|
|
ReadOnlySpan<float> ys,
|
|
double barSize,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (float* ys_fixed = ys)
|
|
{
|
|
fixed (float* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_1_float(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
barSize,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L880">implot.h:880</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1888">implot_items.cpp:1888</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* xs, const T* ys, int count, double bar_size, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
Ptr<double> xs,
|
|
Ptr<double> ys,
|
|
int count,
|
|
double barSize,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_1_double(
|
|
labelId_fixed,
|
|
(double*)xs,
|
|
(double*)ys,
|
|
count,
|
|
barSize,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L880">implot.h:880</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1888">implot_items.cpp:1888</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* xs, const T* ys, int count, double bar_size, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
ReadOnlySpan<double> xs,
|
|
ReadOnlySpan<double> ys,
|
|
double barSize,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (double* ys_fixed = ys)
|
|
{
|
|
fixed (double* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_1_double(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
barSize,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L880">implot.h:880</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1888">implot_items.cpp:1888</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* xs, const T* ys, int count, double bar_size, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
Ptr<sbyte> xs,
|
|
Ptr<sbyte> ys,
|
|
int count,
|
|
double barSize,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_1_sbyte(labelId_fixed, (sbyte*)xs, (sbyte*)ys, count, barSize, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L880">implot.h:880</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1888">implot_items.cpp:1888</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* xs, const T* ys, int count, double bar_size, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
ReadOnlySpan<sbyte> xs,
|
|
ReadOnlySpan<sbyte> ys,
|
|
double barSize,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (sbyte* ys_fixed = ys)
|
|
{
|
|
fixed (sbyte* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_1_sbyte(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
barSize,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L880">implot.h:880</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1888">implot_items.cpp:1888</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* xs, const T* ys, int count, double bar_size, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
Ptr<byte> xs,
|
|
Ptr<byte> ys,
|
|
int count,
|
|
double barSize,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_1_byte(labelId_fixed, (byte*)xs, (byte*)ys, count, barSize, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L880">implot.h:880</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1888">implot_items.cpp:1888</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* xs, const T* ys, int count, double bar_size, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
ReadOnlySpan<byte> xs,
|
|
ReadOnlySpan<byte> ys,
|
|
double barSize,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* ys_fixed = ys)
|
|
{
|
|
fixed (byte* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_1_byte(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
barSize,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L880">implot.h:880</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1888">implot_items.cpp:1888</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* xs, const T* ys, int count, double bar_size, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
Ptr<short> xs,
|
|
Ptr<short> ys,
|
|
int count,
|
|
double barSize,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_1_short(labelId_fixed, (short*)xs, (short*)ys, count, barSize, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L880">implot.h:880</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1888">implot_items.cpp:1888</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* xs, const T* ys, int count, double bar_size, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
ReadOnlySpan<short> xs,
|
|
ReadOnlySpan<short> ys,
|
|
double barSize,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (short* ys_fixed = ys)
|
|
{
|
|
fixed (short* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_1_short(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
barSize,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L880">implot.h:880</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1888">implot_items.cpp:1888</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* xs, const T* ys, int count, double bar_size, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
Ptr<ushort> xs,
|
|
Ptr<ushort> ys,
|
|
int count,
|
|
double barSize,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_1_ushort(
|
|
labelId_fixed,
|
|
(ushort*)xs,
|
|
(ushort*)ys,
|
|
count,
|
|
barSize,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L880">implot.h:880</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1888">implot_items.cpp:1888</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* xs, const T* ys, int count, double bar_size, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
ReadOnlySpan<ushort> xs,
|
|
ReadOnlySpan<ushort> ys,
|
|
double barSize,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (ushort* ys_fixed = ys)
|
|
{
|
|
fixed (ushort* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_1_ushort(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
barSize,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L880">implot.h:880</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1888">implot_items.cpp:1888</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* xs, const T* ys, int count, double bar_size, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
Ptr<int> xs,
|
|
Ptr<int> ys,
|
|
int count,
|
|
double barSize,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_1_int(labelId_fixed, (int*)xs, (int*)ys, count, barSize, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L880">implot.h:880</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1888">implot_items.cpp:1888</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* xs, const T* ys, int count, double bar_size, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
ReadOnlySpan<int> xs,
|
|
ReadOnlySpan<int> ys,
|
|
double barSize,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (int* ys_fixed = ys)
|
|
{
|
|
fixed (int* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_1_int(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
barSize,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L880">implot.h:880</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1888">implot_items.cpp:1888</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* xs, const T* ys, int count, double bar_size, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
Ptr<uint> xs,
|
|
Ptr<uint> ys,
|
|
int count,
|
|
double barSize,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_1_uint(labelId_fixed, (uint*)xs, (uint*)ys, count, barSize, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L880">implot.h:880</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1888">implot_items.cpp:1888</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* xs, const T* ys, int count, double bar_size, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
ReadOnlySpan<uint> xs,
|
|
ReadOnlySpan<uint> ys,
|
|
double barSize,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (uint* ys_fixed = ys)
|
|
{
|
|
fixed (uint* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_1_uint(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
barSize,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L880">implot.h:880</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1888">implot_items.cpp:1888</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* xs, const T* ys, int count, double bar_size, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
Ptr<long> xs,
|
|
Ptr<long> ys,
|
|
int count,
|
|
double barSize,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_1_long(labelId_fixed, (long*)xs, (long*)ys, count, barSize, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L880">implot.h:880</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1888">implot_items.cpp:1888</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* xs, const T* ys, int count, double bar_size, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
ReadOnlySpan<long> xs,
|
|
ReadOnlySpan<long> ys,
|
|
double barSize,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (long* ys_fixed = ys)
|
|
{
|
|
fixed (long* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_1_long(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
barSize,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L880">implot.h:880</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1888">implot_items.cpp:1888</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* xs, const T* ys, int count, double bar_size, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
Ptr<ulong> xs,
|
|
Ptr<ulong> ys,
|
|
int count,
|
|
double barSize,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_1_ulong(labelId_fixed, (ulong*)xs, (ulong*)ys, count, barSize, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L880">implot.h:880</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1888">implot_items.cpp:1888</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBars(const char* label_id, const T* xs, const T* ys, int count, double bar_size, ImPlotBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBars(
|
|
ImString labelId,
|
|
ReadOnlySpan<ulong> xs,
|
|
ReadOnlySpan<ulong> ys,
|
|
double barSize,
|
|
ImPlotBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (ulong* ys_fixed = ys)
|
|
{
|
|
fixed (ulong* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBars_1_ulong(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
barSize,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L881">implot.h:881</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1907">implot_items.cpp:1907</see>
|
|
/// <br/>
|
|
/// <c>void PlotBarsG(const char* label_id, ImPlotGetter getter, void* data, int count, double bar_size, ImPlotBarsFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBarsG(
|
|
ImString labelId,
|
|
ImPlotGetter getter,
|
|
Ptr data,
|
|
int count,
|
|
double barSize,
|
|
ImPlotBarsFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBarsG(
|
|
labelId_fixed,
|
|
Marshal.GetFunctionPointerForDelegate(getter),
|
|
data,
|
|
count,
|
|
barSize,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L881">implot.h:881</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1907">implot_items.cpp:1907</see>
|
|
/// <br/>
|
|
/// <c>void PlotBarsG(const char* label_id, ImPlotGetter getter, void* data, int count, double bar_size, ImPlotBarsFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a bar graph. Vertical by default. #bar_size and #shift are in plot units.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBarsG(
|
|
ImString labelId,
|
|
delegate* unmanaged[Cdecl]<int, void*, double2> getter,
|
|
Ptr data,
|
|
int count,
|
|
double barSize,
|
|
ImPlotBarsFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotBarsG(labelId_fixed, (nint)getter, data, count, barSize, flags);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L884">implot.h:884</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1925">implot_items.cpp:1925</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBarGroups(const char* const label_ids[], const T* values, int item_count, int group_count, double group_size=0.67, double shift=0, ImPlotBarGroupsFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a group of bars. #values is a row-major matrix with #item_count rows and #group_count cols.
|
|
/// #label_ids should have #item_count elements.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBarGroups(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<float> values,
|
|
int itemCount,
|
|
int groupCount,
|
|
double groupSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarGroupsFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotBarGroups_float(
|
|
(byte**)labelIds_fixed,
|
|
(float*)values,
|
|
itemCount,
|
|
groupCount,
|
|
groupSize,
|
|
shift,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L884">implot.h:884</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1925">implot_items.cpp:1925</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBarGroups(const char* const label_ids[], const T* values, int item_count, int group_count, double group_size=0.67, double shift=0, ImPlotBarGroupsFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a group of bars. #values is a row-major matrix with #item_count rows and #group_count cols.
|
|
/// #label_ids should have #item_count elements.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBarGroups(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<float> values,
|
|
int itemCount,
|
|
int groupCount,
|
|
double groupSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarGroupsFlags flags = default
|
|
)
|
|
{
|
|
fixed (float* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotBarGroups_float(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
itemCount,
|
|
groupCount,
|
|
groupSize,
|
|
shift,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L884">implot.h:884</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1925">implot_items.cpp:1925</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBarGroups(const char* const label_ids[], const T* values, int item_count, int group_count, double group_size=0.67, double shift=0, ImPlotBarGroupsFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a group of bars. #values is a row-major matrix with #item_count rows and #group_count cols.
|
|
/// #label_ids should have #item_count elements.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBarGroups(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<double> values,
|
|
int itemCount,
|
|
int groupCount,
|
|
double groupSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarGroupsFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotBarGroups_double(
|
|
(byte**)labelIds_fixed,
|
|
(double*)values,
|
|
itemCount,
|
|
groupCount,
|
|
groupSize,
|
|
shift,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L884">implot.h:884</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1925">implot_items.cpp:1925</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBarGroups(const char* const label_ids[], const T* values, int item_count, int group_count, double group_size=0.67, double shift=0, ImPlotBarGroupsFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a group of bars. #values is a row-major matrix with #item_count rows and #group_count cols.
|
|
/// #label_ids should have #item_count elements.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBarGroups(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<double> values,
|
|
int itemCount,
|
|
int groupCount,
|
|
double groupSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarGroupsFlags flags = default
|
|
)
|
|
{
|
|
fixed (double* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotBarGroups_double(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
itemCount,
|
|
groupCount,
|
|
groupSize,
|
|
shift,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L884">implot.h:884</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1925">implot_items.cpp:1925</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBarGroups(const char* const label_ids[], const T* values, int item_count, int group_count, double group_size=0.67, double shift=0, ImPlotBarGroupsFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a group of bars. #values is a row-major matrix with #item_count rows and #group_count cols.
|
|
/// #label_ids should have #item_count elements.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBarGroups(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<sbyte> values,
|
|
int itemCount,
|
|
int groupCount,
|
|
double groupSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarGroupsFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotBarGroups_sbyte(
|
|
(byte**)labelIds_fixed,
|
|
(sbyte*)values,
|
|
itemCount,
|
|
groupCount,
|
|
groupSize,
|
|
shift,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L884">implot.h:884</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1925">implot_items.cpp:1925</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBarGroups(const char* const label_ids[], const T* values, int item_count, int group_count, double group_size=0.67, double shift=0, ImPlotBarGroupsFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a group of bars. #values is a row-major matrix with #item_count rows and #group_count cols.
|
|
/// #label_ids should have #item_count elements.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBarGroups(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<sbyte> values,
|
|
int itemCount,
|
|
int groupCount,
|
|
double groupSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarGroupsFlags flags = default
|
|
)
|
|
{
|
|
fixed (sbyte* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotBarGroups_sbyte(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
itemCount,
|
|
groupCount,
|
|
groupSize,
|
|
shift,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L884">implot.h:884</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1925">implot_items.cpp:1925</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBarGroups(const char* const label_ids[], const T* values, int item_count, int group_count, double group_size=0.67, double shift=0, ImPlotBarGroupsFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a group of bars. #values is a row-major matrix with #item_count rows and #group_count cols.
|
|
/// #label_ids should have #item_count elements.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBarGroups(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<byte> values,
|
|
int itemCount,
|
|
int groupCount,
|
|
double groupSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarGroupsFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotBarGroups_byte(
|
|
(byte**)labelIds_fixed,
|
|
(byte*)values,
|
|
itemCount,
|
|
groupCount,
|
|
groupSize,
|
|
shift,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L884">implot.h:884</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1925">implot_items.cpp:1925</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBarGroups(const char* const label_ids[], const T* values, int item_count, int group_count, double group_size=0.67, double shift=0, ImPlotBarGroupsFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a group of bars. #values is a row-major matrix with #item_count rows and #group_count cols.
|
|
/// #label_ids should have #item_count elements.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBarGroups(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<byte> values,
|
|
int itemCount,
|
|
int groupCount,
|
|
double groupSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarGroupsFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotBarGroups_byte(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
itemCount,
|
|
groupCount,
|
|
groupSize,
|
|
shift,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L884">implot.h:884</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1925">implot_items.cpp:1925</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBarGroups(const char* const label_ids[], const T* values, int item_count, int group_count, double group_size=0.67, double shift=0, ImPlotBarGroupsFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a group of bars. #values is a row-major matrix with #item_count rows and #group_count cols.
|
|
/// #label_ids should have #item_count elements.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBarGroups(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<short> values,
|
|
int itemCount,
|
|
int groupCount,
|
|
double groupSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarGroupsFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotBarGroups_short(
|
|
(byte**)labelIds_fixed,
|
|
(short*)values,
|
|
itemCount,
|
|
groupCount,
|
|
groupSize,
|
|
shift,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L884">implot.h:884</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1925">implot_items.cpp:1925</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBarGroups(const char* const label_ids[], const T* values, int item_count, int group_count, double group_size=0.67, double shift=0, ImPlotBarGroupsFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a group of bars. #values is a row-major matrix with #item_count rows and #group_count cols.
|
|
/// #label_ids should have #item_count elements.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBarGroups(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<short> values,
|
|
int itemCount,
|
|
int groupCount,
|
|
double groupSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarGroupsFlags flags = default
|
|
)
|
|
{
|
|
fixed (short* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotBarGroups_short(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
itemCount,
|
|
groupCount,
|
|
groupSize,
|
|
shift,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L884">implot.h:884</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1925">implot_items.cpp:1925</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBarGroups(const char* const label_ids[], const T* values, int item_count, int group_count, double group_size=0.67, double shift=0, ImPlotBarGroupsFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a group of bars. #values is a row-major matrix with #item_count rows and #group_count cols.
|
|
/// #label_ids should have #item_count elements.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBarGroups(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<ushort> values,
|
|
int itemCount,
|
|
int groupCount,
|
|
double groupSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarGroupsFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotBarGroups_ushort(
|
|
(byte**)labelIds_fixed,
|
|
(ushort*)values,
|
|
itemCount,
|
|
groupCount,
|
|
groupSize,
|
|
shift,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L884">implot.h:884</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1925">implot_items.cpp:1925</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBarGroups(const char* const label_ids[], const T* values, int item_count, int group_count, double group_size=0.67, double shift=0, ImPlotBarGroupsFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a group of bars. #values is a row-major matrix with #item_count rows and #group_count cols.
|
|
/// #label_ids should have #item_count elements.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBarGroups(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<ushort> values,
|
|
int itemCount,
|
|
int groupCount,
|
|
double groupSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarGroupsFlags flags = default
|
|
)
|
|
{
|
|
fixed (ushort* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotBarGroups_ushort(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
itemCount,
|
|
groupCount,
|
|
groupSize,
|
|
shift,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L884">implot.h:884</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1925">implot_items.cpp:1925</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBarGroups(const char* const label_ids[], const T* values, int item_count, int group_count, double group_size=0.67, double shift=0, ImPlotBarGroupsFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a group of bars. #values is a row-major matrix with #item_count rows and #group_count cols.
|
|
/// #label_ids should have #item_count elements.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBarGroups(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<int> values,
|
|
int itemCount,
|
|
int groupCount,
|
|
double groupSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarGroupsFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotBarGroups_int(
|
|
(byte**)labelIds_fixed,
|
|
(int*)values,
|
|
itemCount,
|
|
groupCount,
|
|
groupSize,
|
|
shift,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L884">implot.h:884</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1925">implot_items.cpp:1925</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBarGroups(const char* const label_ids[], const T* values, int item_count, int group_count, double group_size=0.67, double shift=0, ImPlotBarGroupsFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a group of bars. #values is a row-major matrix with #item_count rows and #group_count cols.
|
|
/// #label_ids should have #item_count elements.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBarGroups(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<int> values,
|
|
int itemCount,
|
|
int groupCount,
|
|
double groupSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarGroupsFlags flags = default
|
|
)
|
|
{
|
|
fixed (int* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotBarGroups_int(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
itemCount,
|
|
groupCount,
|
|
groupSize,
|
|
shift,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L884">implot.h:884</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1925">implot_items.cpp:1925</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBarGroups(const char* const label_ids[], const T* values, int item_count, int group_count, double group_size=0.67, double shift=0, ImPlotBarGroupsFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a group of bars. #values is a row-major matrix with #item_count rows and #group_count cols.
|
|
/// #label_ids should have #item_count elements.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBarGroups(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<uint> values,
|
|
int itemCount,
|
|
int groupCount,
|
|
double groupSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarGroupsFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotBarGroups_uint(
|
|
(byte**)labelIds_fixed,
|
|
(uint*)values,
|
|
itemCount,
|
|
groupCount,
|
|
groupSize,
|
|
shift,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L884">implot.h:884</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1925">implot_items.cpp:1925</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBarGroups(const char* const label_ids[], const T* values, int item_count, int group_count, double group_size=0.67, double shift=0, ImPlotBarGroupsFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a group of bars. #values is a row-major matrix with #item_count rows and #group_count cols.
|
|
/// #label_ids should have #item_count elements.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBarGroups(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<uint> values,
|
|
int itemCount,
|
|
int groupCount,
|
|
double groupSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarGroupsFlags flags = default
|
|
)
|
|
{
|
|
fixed (uint* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotBarGroups_uint(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
itemCount,
|
|
groupCount,
|
|
groupSize,
|
|
shift,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L884">implot.h:884</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1925">implot_items.cpp:1925</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBarGroups(const char* const label_ids[], const T* values, int item_count, int group_count, double group_size=0.67, double shift=0, ImPlotBarGroupsFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a group of bars. #values is a row-major matrix with #item_count rows and #group_count cols.
|
|
/// #label_ids should have #item_count elements.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBarGroups(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<long> values,
|
|
int itemCount,
|
|
int groupCount,
|
|
double groupSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarGroupsFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotBarGroups_long(
|
|
(byte**)labelIds_fixed,
|
|
(long*)values,
|
|
itemCount,
|
|
groupCount,
|
|
groupSize,
|
|
shift,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L884">implot.h:884</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1925">implot_items.cpp:1925</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBarGroups(const char* const label_ids[], const T* values, int item_count, int group_count, double group_size=0.67, double shift=0, ImPlotBarGroupsFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a group of bars. #values is a row-major matrix with #item_count rows and #group_count cols.
|
|
/// #label_ids should have #item_count elements.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBarGroups(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<long> values,
|
|
int itemCount,
|
|
int groupCount,
|
|
double groupSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarGroupsFlags flags = default
|
|
)
|
|
{
|
|
fixed (long* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotBarGroups_long(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
itemCount,
|
|
groupCount,
|
|
groupSize,
|
|
shift,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L884">implot.h:884</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1925">implot_items.cpp:1925</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBarGroups(const char* const label_ids[], const T* values, int item_count, int group_count, double group_size=0.67, double shift=0, ImPlotBarGroupsFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a group of bars. #values is a row-major matrix with #item_count rows and #group_count cols.
|
|
/// #label_ids should have #item_count elements.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBarGroups(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<ulong> values,
|
|
int itemCount,
|
|
int groupCount,
|
|
double groupSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarGroupsFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotBarGroups_ulong(
|
|
(byte**)labelIds_fixed,
|
|
(ulong*)values,
|
|
itemCount,
|
|
groupCount,
|
|
groupSize,
|
|
shift,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L884">implot.h:884</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L1925">implot_items.cpp:1925</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotBarGroups(const char* const label_ids[], const T* values, int item_count, int group_count, double group_size=0.67, double shift=0, ImPlotBarGroupsFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a group of bars. #values is a row-major matrix with #item_count rows and #group_count cols.
|
|
/// #label_ids should have #item_count elements.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotBarGroups(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<ulong> values,
|
|
int itemCount,
|
|
int groupCount,
|
|
double groupSize = 0.67d,
|
|
double shift = 0d,
|
|
ImPlotBarGroupsFlags flags = default
|
|
)
|
|
{
|
|
fixed (ulong* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotBarGroups_ulong(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
itemCount,
|
|
groupCount,
|
|
groupSize,
|
|
shift,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L887">implot.h:887</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2060">implot_items.cpp:2060</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotErrorBars(const char* label_id, const T* xs, const T* ys, const T* err, int count, ImPlotErrorBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots vertical error bar. The label_id should be the same as the label_id of the associated line or bar
|
|
/// plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotErrorBars(
|
|
ImString labelId,
|
|
Ptr<float> xs,
|
|
Ptr<float> ys,
|
|
Ptr<float> err,
|
|
int count,
|
|
ImPlotErrorBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotErrorBars_0_float(
|
|
labelId_fixed,
|
|
(float*)xs,
|
|
(float*)ys,
|
|
(float*)err,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L887">implot.h:887</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2060">implot_items.cpp:2060</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotErrorBars(const char* label_id, const T* xs, const T* ys, const T* err, int count, ImPlotErrorBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots vertical error bar. The label_id should be the same as the label_id of the associated line or bar
|
|
/// plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotErrorBars(
|
|
ImString labelId,
|
|
Ptr<double> xs,
|
|
Ptr<double> ys,
|
|
Ptr<double> err,
|
|
int count,
|
|
ImPlotErrorBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotErrorBars_0_double(
|
|
labelId_fixed,
|
|
(double*)xs,
|
|
(double*)ys,
|
|
(double*)err,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L887">implot.h:887</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2060">implot_items.cpp:2060</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotErrorBars(const char* label_id, const T* xs, const T* ys, const T* err, int count, ImPlotErrorBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots vertical error bar. The label_id should be the same as the label_id of the associated line or bar
|
|
/// plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotErrorBars(
|
|
ImString labelId,
|
|
Ptr<sbyte> xs,
|
|
Ptr<sbyte> ys,
|
|
Ptr<sbyte> err,
|
|
int count,
|
|
ImPlotErrorBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotErrorBars_0_sbyte(
|
|
labelId_fixed,
|
|
(sbyte*)xs,
|
|
(sbyte*)ys,
|
|
(sbyte*)err,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L887">implot.h:887</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2060">implot_items.cpp:2060</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotErrorBars(const char* label_id, const T* xs, const T* ys, const T* err, int count, ImPlotErrorBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots vertical error bar. The label_id should be the same as the label_id of the associated line or bar
|
|
/// plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotErrorBars(
|
|
ImString labelId,
|
|
Ptr<byte> xs,
|
|
Ptr<byte> ys,
|
|
Ptr<byte> err,
|
|
int count,
|
|
ImPlotErrorBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotErrorBars_0_byte(
|
|
labelId_fixed,
|
|
(byte*)xs,
|
|
(byte*)ys,
|
|
(byte*)err,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L887">implot.h:887</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2060">implot_items.cpp:2060</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotErrorBars(const char* label_id, const T* xs, const T* ys, const T* err, int count, ImPlotErrorBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots vertical error bar. The label_id should be the same as the label_id of the associated line or bar
|
|
/// plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotErrorBars(
|
|
ImString labelId,
|
|
Ptr<short> xs,
|
|
Ptr<short> ys,
|
|
Ptr<short> err,
|
|
int count,
|
|
ImPlotErrorBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotErrorBars_0_short(
|
|
labelId_fixed,
|
|
(short*)xs,
|
|
(short*)ys,
|
|
(short*)err,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L887">implot.h:887</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2060">implot_items.cpp:2060</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotErrorBars(const char* label_id, const T* xs, const T* ys, const T* err, int count, ImPlotErrorBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots vertical error bar. The label_id should be the same as the label_id of the associated line or bar
|
|
/// plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotErrorBars(
|
|
ImString labelId,
|
|
Ptr<ushort> xs,
|
|
Ptr<ushort> ys,
|
|
Ptr<ushort> err,
|
|
int count,
|
|
ImPlotErrorBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotErrorBars_0_ushort(
|
|
labelId_fixed,
|
|
(ushort*)xs,
|
|
(ushort*)ys,
|
|
(ushort*)err,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L887">implot.h:887</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2060">implot_items.cpp:2060</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotErrorBars(const char* label_id, const T* xs, const T* ys, const T* err, int count, ImPlotErrorBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots vertical error bar. The label_id should be the same as the label_id of the associated line or bar
|
|
/// plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotErrorBars(
|
|
ImString labelId,
|
|
Ptr<int> xs,
|
|
Ptr<int> ys,
|
|
Ptr<int> err,
|
|
int count,
|
|
ImPlotErrorBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotErrorBars_0_int(labelId_fixed, (int*)xs, (int*)ys, (int*)err, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L887">implot.h:887</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2060">implot_items.cpp:2060</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotErrorBars(const char* label_id, const T* xs, const T* ys, const T* err, int count, ImPlotErrorBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots vertical error bar. The label_id should be the same as the label_id of the associated line or bar
|
|
/// plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotErrorBars(
|
|
ImString labelId,
|
|
Ptr<uint> xs,
|
|
Ptr<uint> ys,
|
|
Ptr<uint> err,
|
|
int count,
|
|
ImPlotErrorBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotErrorBars_0_uint(
|
|
labelId_fixed,
|
|
(uint*)xs,
|
|
(uint*)ys,
|
|
(uint*)err,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L887">implot.h:887</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2060">implot_items.cpp:2060</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotErrorBars(const char* label_id, const T* xs, const T* ys, const T* err, int count, ImPlotErrorBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots vertical error bar. The label_id should be the same as the label_id of the associated line or bar
|
|
/// plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotErrorBars(
|
|
ImString labelId,
|
|
Ptr<long> xs,
|
|
Ptr<long> ys,
|
|
Ptr<long> err,
|
|
int count,
|
|
ImPlotErrorBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotErrorBars_0_long(
|
|
labelId_fixed,
|
|
(long*)xs,
|
|
(long*)ys,
|
|
(long*)err,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L887">implot.h:887</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2060">implot_items.cpp:2060</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotErrorBars(const char* label_id, const T* xs, const T* ys, const T* err, int count, ImPlotErrorBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots vertical error bar. The label_id should be the same as the label_id of the associated line or bar
|
|
/// plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotErrorBars(
|
|
ImString labelId,
|
|
Ptr<ulong> xs,
|
|
Ptr<ulong> ys,
|
|
Ptr<ulong> err,
|
|
int count,
|
|
ImPlotErrorBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotErrorBars_0_ulong(
|
|
labelId_fixed,
|
|
(ulong*)xs,
|
|
(ulong*)ys,
|
|
(ulong*)err,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L888">implot.h:888</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2065">implot_items.cpp:2065</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotErrorBars(const char* label_id, const T* xs, const T* ys, const T* neg, const T* pos, int count, ImPlotErrorBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots vertical error bar. The label_id should be the same as the label_id of the associated line or bar
|
|
/// plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotErrorBars(
|
|
ImString labelId,
|
|
Ptr<float> xs,
|
|
Ptr<float> ys,
|
|
Ptr<float> neg,
|
|
Ptr<float> pos,
|
|
int count,
|
|
ImPlotErrorBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotErrorBars_1_float(
|
|
labelId_fixed,
|
|
(float*)xs,
|
|
(float*)ys,
|
|
(float*)neg,
|
|
(float*)pos,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L888">implot.h:888</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2065">implot_items.cpp:2065</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotErrorBars(const char* label_id, const T* xs, const T* ys, const T* neg, const T* pos, int count, ImPlotErrorBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots vertical error bar. The label_id should be the same as the label_id of the associated line or bar
|
|
/// plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotErrorBars(
|
|
ImString labelId,
|
|
Ptr<double> xs,
|
|
Ptr<double> ys,
|
|
Ptr<double> neg,
|
|
Ptr<double> pos,
|
|
int count,
|
|
ImPlotErrorBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotErrorBars_1_double(
|
|
labelId_fixed,
|
|
(double*)xs,
|
|
(double*)ys,
|
|
(double*)neg,
|
|
(double*)pos,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L888">implot.h:888</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2065">implot_items.cpp:2065</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotErrorBars(const char* label_id, const T* xs, const T* ys, const T* neg, const T* pos, int count, ImPlotErrorBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots vertical error bar. The label_id should be the same as the label_id of the associated line or bar
|
|
/// plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotErrorBars(
|
|
ImString labelId,
|
|
Ptr<sbyte> xs,
|
|
Ptr<sbyte> ys,
|
|
Ptr<sbyte> neg,
|
|
Ptr<sbyte> pos,
|
|
int count,
|
|
ImPlotErrorBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotErrorBars_1_sbyte(
|
|
labelId_fixed,
|
|
(sbyte*)xs,
|
|
(sbyte*)ys,
|
|
(sbyte*)neg,
|
|
(sbyte*)pos,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L888">implot.h:888</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2065">implot_items.cpp:2065</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotErrorBars(const char* label_id, const T* xs, const T* ys, const T* neg, const T* pos, int count, ImPlotErrorBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots vertical error bar. The label_id should be the same as the label_id of the associated line or bar
|
|
/// plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotErrorBars(
|
|
ImString labelId,
|
|
Ptr<byte> xs,
|
|
Ptr<byte> ys,
|
|
Ptr<byte> neg,
|
|
Ptr<byte> pos,
|
|
int count,
|
|
ImPlotErrorBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotErrorBars_1_byte(
|
|
labelId_fixed,
|
|
(byte*)xs,
|
|
(byte*)ys,
|
|
(byte*)neg,
|
|
(byte*)pos,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L888">implot.h:888</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2065">implot_items.cpp:2065</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotErrorBars(const char* label_id, const T* xs, const T* ys, const T* neg, const T* pos, int count, ImPlotErrorBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots vertical error bar. The label_id should be the same as the label_id of the associated line or bar
|
|
/// plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotErrorBars(
|
|
ImString labelId,
|
|
Ptr<short> xs,
|
|
Ptr<short> ys,
|
|
Ptr<short> neg,
|
|
Ptr<short> pos,
|
|
int count,
|
|
ImPlotErrorBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotErrorBars_1_short(
|
|
labelId_fixed,
|
|
(short*)xs,
|
|
(short*)ys,
|
|
(short*)neg,
|
|
(short*)pos,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L888">implot.h:888</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2065">implot_items.cpp:2065</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotErrorBars(const char* label_id, const T* xs, const T* ys, const T* neg, const T* pos, int count, ImPlotErrorBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots vertical error bar. The label_id should be the same as the label_id of the associated line or bar
|
|
/// plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotErrorBars(
|
|
ImString labelId,
|
|
Ptr<ushort> xs,
|
|
Ptr<ushort> ys,
|
|
Ptr<ushort> neg,
|
|
Ptr<ushort> pos,
|
|
int count,
|
|
ImPlotErrorBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotErrorBars_1_ushort(
|
|
labelId_fixed,
|
|
(ushort*)xs,
|
|
(ushort*)ys,
|
|
(ushort*)neg,
|
|
(ushort*)pos,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L888">implot.h:888</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2065">implot_items.cpp:2065</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotErrorBars(const char* label_id, const T* xs, const T* ys, const T* neg, const T* pos, int count, ImPlotErrorBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots vertical error bar. The label_id should be the same as the label_id of the associated line or bar
|
|
/// plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotErrorBars(
|
|
ImString labelId,
|
|
Ptr<int> xs,
|
|
Ptr<int> ys,
|
|
Ptr<int> neg,
|
|
Ptr<int> pos,
|
|
int count,
|
|
ImPlotErrorBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotErrorBars_1_int(
|
|
labelId_fixed,
|
|
(int*)xs,
|
|
(int*)ys,
|
|
(int*)neg,
|
|
(int*)pos,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L888">implot.h:888</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2065">implot_items.cpp:2065</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotErrorBars(const char* label_id, const T* xs, const T* ys, const T* neg, const T* pos, int count, ImPlotErrorBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots vertical error bar. The label_id should be the same as the label_id of the associated line or bar
|
|
/// plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotErrorBars(
|
|
ImString labelId,
|
|
Ptr<uint> xs,
|
|
Ptr<uint> ys,
|
|
Ptr<uint> neg,
|
|
Ptr<uint> pos,
|
|
int count,
|
|
ImPlotErrorBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotErrorBars_1_uint(
|
|
labelId_fixed,
|
|
(uint*)xs,
|
|
(uint*)ys,
|
|
(uint*)neg,
|
|
(uint*)pos,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L888">implot.h:888</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2065">implot_items.cpp:2065</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotErrorBars(const char* label_id, const T* xs, const T* ys, const T* neg, const T* pos, int count, ImPlotErrorBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots vertical error bar. The label_id should be the same as the label_id of the associated line or bar
|
|
/// plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotErrorBars(
|
|
ImString labelId,
|
|
Ptr<long> xs,
|
|
Ptr<long> ys,
|
|
Ptr<long> neg,
|
|
Ptr<long> pos,
|
|
int count,
|
|
ImPlotErrorBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotErrorBars_1_long(
|
|
labelId_fixed,
|
|
(long*)xs,
|
|
(long*)ys,
|
|
(long*)neg,
|
|
(long*)pos,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L888">implot.h:888</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2065">implot_items.cpp:2065</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotErrorBars(const char* label_id, const T* xs, const T* ys, const T* neg, const T* pos, int count, ImPlotErrorBarsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots vertical error bar. The label_id should be the same as the label_id of the associated line or bar
|
|
/// plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotErrorBars(
|
|
ImString labelId,
|
|
Ptr<ulong> xs,
|
|
Ptr<ulong> ys,
|
|
Ptr<ulong> neg,
|
|
Ptr<ulong> pos,
|
|
int count,
|
|
ImPlotErrorBarsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotErrorBars_1_ulong(
|
|
labelId_fixed,
|
|
(ulong*)xs,
|
|
(ulong*)ys,
|
|
(ulong*)neg,
|
|
(ulong*)pos,
|
|
count,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L891">implot.h:891</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2123">implot_items.cpp:2123</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* values, int count, double ref=0, double scale=1, double start=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
Ptr<float> values,
|
|
int count,
|
|
double @ref = 0d,
|
|
double scale = 1d,
|
|
double start = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_0_float(
|
|
labelId_fixed,
|
|
(float*)values,
|
|
count,
|
|
@ref,
|
|
scale,
|
|
start,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L891">implot.h:891</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2123">implot_items.cpp:2123</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* values, int count, double ref=0, double scale=1, double start=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
ReadOnlySpan<float> values,
|
|
double @ref = 0d,
|
|
double scale = 1d,
|
|
double start = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (float* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_0_float(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
@ref,
|
|
scale,
|
|
start,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L891">implot.h:891</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2123">implot_items.cpp:2123</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* values, int count, double ref=0, double scale=1, double start=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
Ptr<double> values,
|
|
int count,
|
|
double @ref = 0d,
|
|
double scale = 1d,
|
|
double start = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_0_double(
|
|
labelId_fixed,
|
|
(double*)values,
|
|
count,
|
|
@ref,
|
|
scale,
|
|
start,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L891">implot.h:891</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2123">implot_items.cpp:2123</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* values, int count, double ref=0, double scale=1, double start=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
ReadOnlySpan<double> values,
|
|
double @ref = 0d,
|
|
double scale = 1d,
|
|
double start = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (double* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_0_double(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
@ref,
|
|
scale,
|
|
start,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L891">implot.h:891</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2123">implot_items.cpp:2123</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* values, int count, double ref=0, double scale=1, double start=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
Ptr<sbyte> values,
|
|
int count,
|
|
double @ref = 0d,
|
|
double scale = 1d,
|
|
double start = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_0_sbyte(
|
|
labelId_fixed,
|
|
(sbyte*)values,
|
|
count,
|
|
@ref,
|
|
scale,
|
|
start,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L891">implot.h:891</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2123">implot_items.cpp:2123</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* values, int count, double ref=0, double scale=1, double start=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
ReadOnlySpan<sbyte> values,
|
|
double @ref = 0d,
|
|
double scale = 1d,
|
|
double start = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (sbyte* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_0_sbyte(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
@ref,
|
|
scale,
|
|
start,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L891">implot.h:891</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2123">implot_items.cpp:2123</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* values, int count, double ref=0, double scale=1, double start=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
Ptr<byte> values,
|
|
int count,
|
|
double @ref = 0d,
|
|
double scale = 1d,
|
|
double start = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_0_byte(
|
|
labelId_fixed,
|
|
(byte*)values,
|
|
count,
|
|
@ref,
|
|
scale,
|
|
start,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L891">implot.h:891</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2123">implot_items.cpp:2123</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* values, int count, double ref=0, double scale=1, double start=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
ReadOnlySpan<byte> values,
|
|
double @ref = 0d,
|
|
double scale = 1d,
|
|
double start = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_0_byte(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
@ref,
|
|
scale,
|
|
start,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L891">implot.h:891</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2123">implot_items.cpp:2123</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* values, int count, double ref=0, double scale=1, double start=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
Ptr<short> values,
|
|
int count,
|
|
double @ref = 0d,
|
|
double scale = 1d,
|
|
double start = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_0_short(
|
|
labelId_fixed,
|
|
(short*)values,
|
|
count,
|
|
@ref,
|
|
scale,
|
|
start,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L891">implot.h:891</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2123">implot_items.cpp:2123</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* values, int count, double ref=0, double scale=1, double start=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
ReadOnlySpan<short> values,
|
|
double @ref = 0d,
|
|
double scale = 1d,
|
|
double start = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (short* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_0_short(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
@ref,
|
|
scale,
|
|
start,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L891">implot.h:891</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2123">implot_items.cpp:2123</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* values, int count, double ref=0, double scale=1, double start=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
Ptr<ushort> values,
|
|
int count,
|
|
double @ref = 0d,
|
|
double scale = 1d,
|
|
double start = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_0_ushort(
|
|
labelId_fixed,
|
|
(ushort*)values,
|
|
count,
|
|
@ref,
|
|
scale,
|
|
start,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L891">implot.h:891</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2123">implot_items.cpp:2123</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* values, int count, double ref=0, double scale=1, double start=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
ReadOnlySpan<ushort> values,
|
|
double @ref = 0d,
|
|
double scale = 1d,
|
|
double start = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (ushort* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_0_ushort(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
@ref,
|
|
scale,
|
|
start,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L891">implot.h:891</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2123">implot_items.cpp:2123</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* values, int count, double ref=0, double scale=1, double start=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
Ptr<int> values,
|
|
int count,
|
|
double @ref = 0d,
|
|
double scale = 1d,
|
|
double start = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_0_int(labelId_fixed, (int*)values, count, @ref, scale, start, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L891">implot.h:891</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2123">implot_items.cpp:2123</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* values, int count, double ref=0, double scale=1, double start=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
ReadOnlySpan<int> values,
|
|
double @ref = 0d,
|
|
double scale = 1d,
|
|
double start = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (int* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_0_int(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
@ref,
|
|
scale,
|
|
start,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L891">implot.h:891</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2123">implot_items.cpp:2123</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* values, int count, double ref=0, double scale=1, double start=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
Ptr<uint> values,
|
|
int count,
|
|
double @ref = 0d,
|
|
double scale = 1d,
|
|
double start = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_0_uint(
|
|
labelId_fixed,
|
|
(uint*)values,
|
|
count,
|
|
@ref,
|
|
scale,
|
|
start,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L891">implot.h:891</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2123">implot_items.cpp:2123</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* values, int count, double ref=0, double scale=1, double start=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
ReadOnlySpan<uint> values,
|
|
double @ref = 0d,
|
|
double scale = 1d,
|
|
double start = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (uint* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_0_uint(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
@ref,
|
|
scale,
|
|
start,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L891">implot.h:891</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2123">implot_items.cpp:2123</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* values, int count, double ref=0, double scale=1, double start=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
Ptr<long> values,
|
|
int count,
|
|
double @ref = 0d,
|
|
double scale = 1d,
|
|
double start = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_0_long(
|
|
labelId_fixed,
|
|
(long*)values,
|
|
count,
|
|
@ref,
|
|
scale,
|
|
start,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L891">implot.h:891</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2123">implot_items.cpp:2123</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* values, int count, double ref=0, double scale=1, double start=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
ReadOnlySpan<long> values,
|
|
double @ref = 0d,
|
|
double scale = 1d,
|
|
double start = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (long* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_0_long(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
@ref,
|
|
scale,
|
|
start,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L891">implot.h:891</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2123">implot_items.cpp:2123</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* values, int count, double ref=0, double scale=1, double start=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
Ptr<ulong> values,
|
|
int count,
|
|
double @ref = 0d,
|
|
double scale = 1d,
|
|
double start = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_0_ulong(
|
|
labelId_fixed,
|
|
(ulong*)values,
|
|
count,
|
|
@ref,
|
|
scale,
|
|
start,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L891">implot.h:891</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2123">implot_items.cpp:2123</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* values, int count, double ref=0, double scale=1, double start=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
ReadOnlySpan<ulong> values,
|
|
double @ref = 0d,
|
|
double scale = 1d,
|
|
double start = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (ulong* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_0_ulong(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
@ref,
|
|
scale,
|
|
start,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L892">implot.h:892</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2137">implot_items.cpp:2137</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* xs, const T* ys, int count, double ref=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
Ptr<float> xs,
|
|
Ptr<float> ys,
|
|
int count,
|
|
double @ref = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_1_float(labelId_fixed, (float*)xs, (float*)ys, count, @ref, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L892">implot.h:892</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2137">implot_items.cpp:2137</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* xs, const T* ys, int count, double ref=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
ReadOnlySpan<float> xs,
|
|
ReadOnlySpan<float> ys,
|
|
double @ref = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (float* ys_fixed = ys)
|
|
{
|
|
fixed (float* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_1_float(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
@ref,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L892">implot.h:892</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2137">implot_items.cpp:2137</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* xs, const T* ys, int count, double ref=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
Ptr<double> xs,
|
|
Ptr<double> ys,
|
|
int count,
|
|
double @ref = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_1_double(labelId_fixed, (double*)xs, (double*)ys, count, @ref, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L892">implot.h:892</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2137">implot_items.cpp:2137</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* xs, const T* ys, int count, double ref=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
ReadOnlySpan<double> xs,
|
|
ReadOnlySpan<double> ys,
|
|
double @ref = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (double* ys_fixed = ys)
|
|
{
|
|
fixed (double* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_1_double(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
@ref,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L892">implot.h:892</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2137">implot_items.cpp:2137</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* xs, const T* ys, int count, double ref=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
Ptr<sbyte> xs,
|
|
Ptr<sbyte> ys,
|
|
int count,
|
|
double @ref = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_1_sbyte(labelId_fixed, (sbyte*)xs, (sbyte*)ys, count, @ref, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L892">implot.h:892</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2137">implot_items.cpp:2137</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* xs, const T* ys, int count, double ref=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
ReadOnlySpan<sbyte> xs,
|
|
ReadOnlySpan<sbyte> ys,
|
|
double @ref = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (sbyte* ys_fixed = ys)
|
|
{
|
|
fixed (sbyte* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_1_sbyte(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
@ref,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L892">implot.h:892</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2137">implot_items.cpp:2137</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* xs, const T* ys, int count, double ref=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
Ptr<byte> xs,
|
|
Ptr<byte> ys,
|
|
int count,
|
|
double @ref = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_1_byte(labelId_fixed, (byte*)xs, (byte*)ys, count, @ref, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L892">implot.h:892</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2137">implot_items.cpp:2137</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* xs, const T* ys, int count, double ref=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
ReadOnlySpan<byte> xs,
|
|
ReadOnlySpan<byte> ys,
|
|
double @ref = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* ys_fixed = ys)
|
|
{
|
|
fixed (byte* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_1_byte(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
@ref,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L892">implot.h:892</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2137">implot_items.cpp:2137</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* xs, const T* ys, int count, double ref=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
Ptr<short> xs,
|
|
Ptr<short> ys,
|
|
int count,
|
|
double @ref = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_1_short(labelId_fixed, (short*)xs, (short*)ys, count, @ref, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L892">implot.h:892</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2137">implot_items.cpp:2137</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* xs, const T* ys, int count, double ref=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
ReadOnlySpan<short> xs,
|
|
ReadOnlySpan<short> ys,
|
|
double @ref = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (short* ys_fixed = ys)
|
|
{
|
|
fixed (short* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_1_short(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
@ref,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L892">implot.h:892</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2137">implot_items.cpp:2137</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* xs, const T* ys, int count, double ref=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
Ptr<ushort> xs,
|
|
Ptr<ushort> ys,
|
|
int count,
|
|
double @ref = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_1_ushort(labelId_fixed, (ushort*)xs, (ushort*)ys, count, @ref, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L892">implot.h:892</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2137">implot_items.cpp:2137</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* xs, const T* ys, int count, double ref=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
ReadOnlySpan<ushort> xs,
|
|
ReadOnlySpan<ushort> ys,
|
|
double @ref = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (ushort* ys_fixed = ys)
|
|
{
|
|
fixed (ushort* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_1_ushort(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
@ref,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L892">implot.h:892</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2137">implot_items.cpp:2137</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* xs, const T* ys, int count, double ref=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
Ptr<int> xs,
|
|
Ptr<int> ys,
|
|
int count,
|
|
double @ref = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_1_int(labelId_fixed, (int*)xs, (int*)ys, count, @ref, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L892">implot.h:892</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2137">implot_items.cpp:2137</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* xs, const T* ys, int count, double ref=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
ReadOnlySpan<int> xs,
|
|
ReadOnlySpan<int> ys,
|
|
double @ref = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (int* ys_fixed = ys)
|
|
{
|
|
fixed (int* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_1_int(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
@ref,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L892">implot.h:892</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2137">implot_items.cpp:2137</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* xs, const T* ys, int count, double ref=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
Ptr<uint> xs,
|
|
Ptr<uint> ys,
|
|
int count,
|
|
double @ref = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_1_uint(labelId_fixed, (uint*)xs, (uint*)ys, count, @ref, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L892">implot.h:892</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2137">implot_items.cpp:2137</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* xs, const T* ys, int count, double ref=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
ReadOnlySpan<uint> xs,
|
|
ReadOnlySpan<uint> ys,
|
|
double @ref = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (uint* ys_fixed = ys)
|
|
{
|
|
fixed (uint* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_1_uint(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
@ref,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L892">implot.h:892</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2137">implot_items.cpp:2137</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* xs, const T* ys, int count, double ref=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
Ptr<long> xs,
|
|
Ptr<long> ys,
|
|
int count,
|
|
double @ref = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_1_long(labelId_fixed, (long*)xs, (long*)ys, count, @ref, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L892">implot.h:892</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2137">implot_items.cpp:2137</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* xs, const T* ys, int count, double ref=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
ReadOnlySpan<long> xs,
|
|
ReadOnlySpan<long> ys,
|
|
double @ref = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (long* ys_fixed = ys)
|
|
{
|
|
fixed (long* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_1_long(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
@ref,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L892">implot.h:892</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2137">implot_items.cpp:2137</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* xs, const T* ys, int count, double ref=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
Ptr<ulong> xs,
|
|
Ptr<ulong> ys,
|
|
int count,
|
|
double @ref = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_1_ulong(labelId_fixed, (ulong*)xs, (ulong*)ys, count, @ref, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L892">implot.h:892</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2137">implot_items.cpp:2137</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotStems(const char* label_id, const T* xs, const T* ys, int count, double ref=0, ImPlotStemsFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots stems. Vertical by default.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotStems(
|
|
ImString labelId,
|
|
ReadOnlySpan<ulong> xs,
|
|
ReadOnlySpan<ulong> ys,
|
|
double @ref = 0d,
|
|
ImPlotStemsFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (ulong* ys_fixed = ys)
|
|
{
|
|
fixed (ulong* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotStems_1_ulong(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
@ref,
|
|
flags,
|
|
offset,
|
|
stride
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L895">implot.h:895</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2162">implot_items.cpp:2162</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotInfLines(const char* label_id, const T* values, int count, ImPlotInfLinesFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotInfLines(
|
|
ImString labelId,
|
|
Ptr<float> values,
|
|
int count,
|
|
ImPlotInfLinesFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotInfLines_float(labelId_fixed, (float*)values, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L895">implot.h:895</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2162">implot_items.cpp:2162</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotInfLines(const char* label_id, const T* values, int count, ImPlotInfLinesFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotInfLines(
|
|
ImString labelId,
|
|
ReadOnlySpan<float> values,
|
|
ImPlotInfLinesFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (float* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotInfLines_float(labelId_fixed, values_fixed, values.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L895">implot.h:895</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2162">implot_items.cpp:2162</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotInfLines(const char* label_id, const T* values, int count, ImPlotInfLinesFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotInfLines(
|
|
ImString labelId,
|
|
Ptr<double> values,
|
|
int count,
|
|
ImPlotInfLinesFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotInfLines_double(labelId_fixed, (double*)values, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L895">implot.h:895</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2162">implot_items.cpp:2162</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotInfLines(const char* label_id, const T* values, int count, ImPlotInfLinesFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotInfLines(
|
|
ImString labelId,
|
|
ReadOnlySpan<double> values,
|
|
ImPlotInfLinesFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (double* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotInfLines_double(labelId_fixed, values_fixed, values.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L895">implot.h:895</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2162">implot_items.cpp:2162</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotInfLines(const char* label_id, const T* values, int count, ImPlotInfLinesFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotInfLines(
|
|
ImString labelId,
|
|
Ptr<sbyte> values,
|
|
int count,
|
|
ImPlotInfLinesFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotInfLines_sbyte(labelId_fixed, (sbyte*)values, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L895">implot.h:895</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2162">implot_items.cpp:2162</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotInfLines(const char* label_id, const T* values, int count, ImPlotInfLinesFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotInfLines(
|
|
ImString labelId,
|
|
ReadOnlySpan<sbyte> values,
|
|
ImPlotInfLinesFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (sbyte* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotInfLines_sbyte(labelId_fixed, values_fixed, values.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L895">implot.h:895</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2162">implot_items.cpp:2162</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotInfLines(const char* label_id, const T* values, int count, ImPlotInfLinesFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotInfLines(
|
|
ImString labelId,
|
|
Ptr<byte> values,
|
|
int count,
|
|
ImPlotInfLinesFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotInfLines_byte(labelId_fixed, (byte*)values, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L895">implot.h:895</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2162">implot_items.cpp:2162</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotInfLines(const char* label_id, const T* values, int count, ImPlotInfLinesFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotInfLines(
|
|
ImString labelId,
|
|
ReadOnlySpan<byte> values,
|
|
ImPlotInfLinesFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotInfLines_byte(labelId_fixed, values_fixed, values.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L895">implot.h:895</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2162">implot_items.cpp:2162</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotInfLines(const char* label_id, const T* values, int count, ImPlotInfLinesFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotInfLines(
|
|
ImString labelId,
|
|
Ptr<short> values,
|
|
int count,
|
|
ImPlotInfLinesFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotInfLines_short(labelId_fixed, (short*)values, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L895">implot.h:895</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2162">implot_items.cpp:2162</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotInfLines(const char* label_id, const T* values, int count, ImPlotInfLinesFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotInfLines(
|
|
ImString labelId,
|
|
ReadOnlySpan<short> values,
|
|
ImPlotInfLinesFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (short* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotInfLines_short(labelId_fixed, values_fixed, values.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L895">implot.h:895</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2162">implot_items.cpp:2162</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotInfLines(const char* label_id, const T* values, int count, ImPlotInfLinesFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotInfLines(
|
|
ImString labelId,
|
|
Ptr<ushort> values,
|
|
int count,
|
|
ImPlotInfLinesFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotInfLines_ushort(labelId_fixed, (ushort*)values, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L895">implot.h:895</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2162">implot_items.cpp:2162</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotInfLines(const char* label_id, const T* values, int count, ImPlotInfLinesFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotInfLines(
|
|
ImString labelId,
|
|
ReadOnlySpan<ushort> values,
|
|
ImPlotInfLinesFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (ushort* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotInfLines_ushort(labelId_fixed, values_fixed, values.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L895">implot.h:895</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2162">implot_items.cpp:2162</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotInfLines(const char* label_id, const T* values, int count, ImPlotInfLinesFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotInfLines(
|
|
ImString labelId,
|
|
Ptr<int> values,
|
|
int count,
|
|
ImPlotInfLinesFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotInfLines_int(labelId_fixed, (int*)values, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L895">implot.h:895</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2162">implot_items.cpp:2162</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotInfLines(const char* label_id, const T* values, int count, ImPlotInfLinesFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotInfLines(
|
|
ImString labelId,
|
|
ReadOnlySpan<int> values,
|
|
ImPlotInfLinesFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (int* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotInfLines_int(labelId_fixed, values_fixed, values.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L895">implot.h:895</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2162">implot_items.cpp:2162</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotInfLines(const char* label_id, const T* values, int count, ImPlotInfLinesFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotInfLines(
|
|
ImString labelId,
|
|
Ptr<uint> values,
|
|
int count,
|
|
ImPlotInfLinesFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotInfLines_uint(labelId_fixed, (uint*)values, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L895">implot.h:895</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2162">implot_items.cpp:2162</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotInfLines(const char* label_id, const T* values, int count, ImPlotInfLinesFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotInfLines(
|
|
ImString labelId,
|
|
ReadOnlySpan<uint> values,
|
|
ImPlotInfLinesFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (uint* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotInfLines_uint(labelId_fixed, values_fixed, values.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L895">implot.h:895</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2162">implot_items.cpp:2162</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotInfLines(const char* label_id, const T* values, int count, ImPlotInfLinesFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotInfLines(
|
|
ImString labelId,
|
|
Ptr<long> values,
|
|
int count,
|
|
ImPlotInfLinesFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotInfLines_long(labelId_fixed, (long*)values, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L895">implot.h:895</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2162">implot_items.cpp:2162</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotInfLines(const char* label_id, const T* values, int count, ImPlotInfLinesFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotInfLines(
|
|
ImString labelId,
|
|
ReadOnlySpan<long> values,
|
|
ImPlotInfLinesFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (long* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotInfLines_long(labelId_fixed, values_fixed, values.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L895">implot.h:895</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2162">implot_items.cpp:2162</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotInfLines(const char* label_id, const T* values, int count, ImPlotInfLinesFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotInfLines(
|
|
ImString labelId,
|
|
Ptr<ulong> values,
|
|
int count,
|
|
ImPlotInfLinesFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotInfLines_ulong(labelId_fixed, (ulong*)values, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L895">implot.h:895</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2162">implot_items.cpp:2162</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotInfLines(const char* label_id, const T* values, int count, ImPlotInfLinesFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotInfLines(
|
|
ImString labelId,
|
|
ReadOnlySpan<ulong> values,
|
|
ImPlotInfLinesFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (ulong* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotInfLines_ulong(labelId_fixed, values_fixed, values.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<float> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
ImPlotFormatter text,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_float(
|
|
(byte**)labelIds_fixed,
|
|
(float*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
Marshal.GetFunctionPointerForDelegate(text),
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<float> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
delegate* unmanaged[Cdecl]<double, byte*, int, void*, int> text,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_float(
|
|
(byte**)labelIds_fixed,
|
|
(float*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
(nint)text,
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<float> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
ImPlotFormatter fmt,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (float* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_float(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
Marshal.GetFunctionPointerForDelegate(fmt),
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<float> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
delegate* unmanaged[Cdecl]<double, byte*, int, void*, int> fmt,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (float* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_float(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
(nint)fmt,
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<double> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
ImPlotFormatter text,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_double(
|
|
(byte**)labelIds_fixed,
|
|
(double*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
Marshal.GetFunctionPointerForDelegate(text),
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<double> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
delegate* unmanaged[Cdecl]<double, byte*, int, void*, int> text,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_double(
|
|
(byte**)labelIds_fixed,
|
|
(double*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
(nint)text,
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<double> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
ImPlotFormatter fmt,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (double* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_double(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
Marshal.GetFunctionPointerForDelegate(fmt),
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<double> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
delegate* unmanaged[Cdecl]<double, byte*, int, void*, int> fmt,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (double* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_double(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
(nint)fmt,
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<sbyte> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
ImPlotFormatter text,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_sbyte(
|
|
(byte**)labelIds_fixed,
|
|
(sbyte*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
Marshal.GetFunctionPointerForDelegate(text),
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<sbyte> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
delegate* unmanaged[Cdecl]<double, byte*, int, void*, int> text,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_sbyte(
|
|
(byte**)labelIds_fixed,
|
|
(sbyte*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
(nint)text,
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<sbyte> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
ImPlotFormatter fmt,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (sbyte* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_sbyte(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
Marshal.GetFunctionPointerForDelegate(fmt),
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<sbyte> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
delegate* unmanaged[Cdecl]<double, byte*, int, void*, int> fmt,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (sbyte* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_sbyte(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
(nint)fmt,
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<byte> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
ImPlotFormatter text,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_byte(
|
|
(byte**)labelIds_fixed,
|
|
(byte*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
Marshal.GetFunctionPointerForDelegate(text),
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<byte> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
delegate* unmanaged[Cdecl]<double, byte*, int, void*, int> text,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_byte(
|
|
(byte**)labelIds_fixed,
|
|
(byte*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
(nint)text,
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<byte> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
ImPlotFormatter fmt,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_byte(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
Marshal.GetFunctionPointerForDelegate(fmt),
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<byte> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
delegate* unmanaged[Cdecl]<double, byte*, int, void*, int> fmt,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_byte(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
(nint)fmt,
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<short> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
ImPlotFormatter text,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_short(
|
|
(byte**)labelIds_fixed,
|
|
(short*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
Marshal.GetFunctionPointerForDelegate(text),
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<short> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
delegate* unmanaged[Cdecl]<double, byte*, int, void*, int> text,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_short(
|
|
(byte**)labelIds_fixed,
|
|
(short*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
(nint)text,
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<short> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
ImPlotFormatter fmt,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (short* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_short(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
Marshal.GetFunctionPointerForDelegate(fmt),
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<short> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
delegate* unmanaged[Cdecl]<double, byte*, int, void*, int> fmt,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (short* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_short(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
(nint)fmt,
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<ushort> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
ImPlotFormatter text,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_ushort(
|
|
(byte**)labelIds_fixed,
|
|
(ushort*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
Marshal.GetFunctionPointerForDelegate(text),
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<ushort> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
delegate* unmanaged[Cdecl]<double, byte*, int, void*, int> text,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_ushort(
|
|
(byte**)labelIds_fixed,
|
|
(ushort*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
(nint)text,
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<ushort> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
ImPlotFormatter fmt,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (ushort* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_ushort(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
Marshal.GetFunctionPointerForDelegate(fmt),
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<ushort> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
delegate* unmanaged[Cdecl]<double, byte*, int, void*, int> fmt,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (ushort* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_ushort(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
(nint)fmt,
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<int> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
ImPlotFormatter text,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_int(
|
|
(byte**)labelIds_fixed,
|
|
(int*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
Marshal.GetFunctionPointerForDelegate(text),
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<int> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
delegate* unmanaged[Cdecl]<double, byte*, int, void*, int> text,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_int(
|
|
(byte**)labelIds_fixed,
|
|
(int*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
(nint)text,
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<int> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
ImPlotFormatter fmt,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (int* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_int(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
Marshal.GetFunctionPointerForDelegate(fmt),
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<int> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
delegate* unmanaged[Cdecl]<double, byte*, int, void*, int> fmt,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (int* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_int(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
(nint)fmt,
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<uint> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
ImPlotFormatter text,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_uint(
|
|
(byte**)labelIds_fixed,
|
|
(uint*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
Marshal.GetFunctionPointerForDelegate(text),
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<uint> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
delegate* unmanaged[Cdecl]<double, byte*, int, void*, int> text,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_uint(
|
|
(byte**)labelIds_fixed,
|
|
(uint*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
(nint)text,
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<uint> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
ImPlotFormatter fmt,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (uint* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_uint(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
Marshal.GetFunctionPointerForDelegate(fmt),
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<uint> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
delegate* unmanaged[Cdecl]<double, byte*, int, void*, int> fmt,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (uint* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_uint(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
(nint)fmt,
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<long> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
ImPlotFormatter text,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_long(
|
|
(byte**)labelIds_fixed,
|
|
(long*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
Marshal.GetFunctionPointerForDelegate(text),
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<long> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
delegate* unmanaged[Cdecl]<double, byte*, int, void*, int> text,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_long(
|
|
(byte**)labelIds_fixed,
|
|
(long*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
(nint)text,
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<long> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
ImPlotFormatter fmt,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (long* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_long(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
Marshal.GetFunctionPointerForDelegate(fmt),
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<long> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
delegate* unmanaged[Cdecl]<double, byte*, int, void*, int> fmt,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (long* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_long(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
(nint)fmt,
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<ulong> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
ImPlotFormatter text,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_ulong(
|
|
(byte**)labelIds_fixed,
|
|
(ulong*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
Marshal.GetFunctionPointerForDelegate(text),
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<ulong> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
delegate* unmanaged[Cdecl]<double, byte*, int, void*, int> text,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_ulong(
|
|
(byte**)labelIds_fixed,
|
|
(ulong*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
(nint)text,
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<ulong> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
ImPlotFormatter fmt,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (ulong* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_ulong(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
Marshal.GetFunctionPointerForDelegate(fmt),
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L898">implot.h:898</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2331">implot_items.cpp:2331</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmt_data=nullptr, double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<ulong> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
delegate* unmanaged[Cdecl]<double, byte*, int, void*, int> fmt,
|
|
Ptr fmtData = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
fixed (ulong* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_0_ulong(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
(nint)fmt,
|
|
fmtData,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L899">implot.h:899</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2323">implot_items.cpp:2323</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, const char* label_fmt="%.1f", double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<float> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_1_float(
|
|
(byte**)labelIds_fixed,
|
|
(float*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
labelFmt_fixed,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L899">implot.h:899</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2323">implot_items.cpp:2323</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, const char* label_fmt="%.1f", double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<float> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (float* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_1_float(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
labelFmt_fixed,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L899">implot.h:899</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2323">implot_items.cpp:2323</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, const char* label_fmt="%.1f", double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<double> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_1_double(
|
|
(byte**)labelIds_fixed,
|
|
(double*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
labelFmt_fixed,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L899">implot.h:899</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2323">implot_items.cpp:2323</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, const char* label_fmt="%.1f", double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<double> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (double* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_1_double(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
labelFmt_fixed,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L899">implot.h:899</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2323">implot_items.cpp:2323</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, const char* label_fmt="%.1f", double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<sbyte> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_1_sbyte(
|
|
(byte**)labelIds_fixed,
|
|
(sbyte*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
labelFmt_fixed,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L899">implot.h:899</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2323">implot_items.cpp:2323</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, const char* label_fmt="%.1f", double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<sbyte> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (sbyte* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_1_sbyte(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
labelFmt_fixed,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L899">implot.h:899</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2323">implot_items.cpp:2323</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, const char* label_fmt="%.1f", double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<byte> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_1_byte(
|
|
(byte**)labelIds_fixed,
|
|
(byte*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
labelFmt_fixed,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L899">implot.h:899</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2323">implot_items.cpp:2323</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, const char* label_fmt="%.1f", double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<byte> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (byte* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_1_byte(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
labelFmt_fixed,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L899">implot.h:899</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2323">implot_items.cpp:2323</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, const char* label_fmt="%.1f", double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<short> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_1_short(
|
|
(byte**)labelIds_fixed,
|
|
(short*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
labelFmt_fixed,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L899">implot.h:899</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2323">implot_items.cpp:2323</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, const char* label_fmt="%.1f", double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<short> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (short* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_1_short(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
labelFmt_fixed,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L899">implot.h:899</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2323">implot_items.cpp:2323</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, const char* label_fmt="%.1f", double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<ushort> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_1_ushort(
|
|
(byte**)labelIds_fixed,
|
|
(ushort*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
labelFmt_fixed,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L899">implot.h:899</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2323">implot_items.cpp:2323</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, const char* label_fmt="%.1f", double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<ushort> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (ushort* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_1_ushort(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
labelFmt_fixed,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L899">implot.h:899</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2323">implot_items.cpp:2323</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, const char* label_fmt="%.1f", double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<int> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_1_int(
|
|
(byte**)labelIds_fixed,
|
|
(int*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
labelFmt_fixed,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L899">implot.h:899</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2323">implot_items.cpp:2323</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, const char* label_fmt="%.1f", double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<int> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (int* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_1_int(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
labelFmt_fixed,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L899">implot.h:899</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2323">implot_items.cpp:2323</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, const char* label_fmt="%.1f", double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<uint> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_1_uint(
|
|
(byte**)labelIds_fixed,
|
|
(uint*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
labelFmt_fixed,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L899">implot.h:899</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2323">implot_items.cpp:2323</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, const char* label_fmt="%.1f", double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<uint> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (uint* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_1_uint(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
labelFmt_fixed,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L899">implot.h:899</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2323">implot_items.cpp:2323</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, const char* label_fmt="%.1f", double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<long> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_1_long(
|
|
(byte**)labelIds_fixed,
|
|
(long*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
labelFmt_fixed,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L899">implot.h:899</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2323">implot_items.cpp:2323</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, const char* label_fmt="%.1f", double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<long> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (long* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_1_long(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
labelFmt_fixed,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L899">implot.h:899</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2323">implot_items.cpp:2323</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, const char* label_fmt="%.1f", double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
Ptr<ulong> values,
|
|
int count,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_1_ulong(
|
|
(byte**)labelIds_fixed,
|
|
(ulong*)values,
|
|
count,
|
|
x,
|
|
y,
|
|
radius,
|
|
labelFmt_fixed,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L899">implot.h:899</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2323">implot_items.cpp:2323</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotPieChart(const char* const label_ids[], const T* values, int count, double x, double y, double radius, const char* label_fmt="%.1f", double angle0=90, ImPlotPieChartFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a pie chart. Center and radius are in plot units. #label_fmt can be set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotPieChart(
|
|
ReadOnlySpan<Ptr<byte>> labelIds,
|
|
ReadOnlySpan<ulong> values,
|
|
double x,
|
|
double y,
|
|
double radius,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
double angle0 = 90d,
|
|
ImPlotPieChartFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (ulong* values_fixed = values)
|
|
{
|
|
fixed (Ptr<byte>* labelIds_fixed = labelIds)
|
|
{
|
|
PInvoke.PlotPieChart_1_ulong(
|
|
(byte**)labelIds_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
x,
|
|
y,
|
|
radius,
|
|
labelFmt_fixed,
|
|
angle0,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L902">implot.h:902</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2522">implot_items.cpp:2522</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotHeatmap(const char* label_id, const T* values, int rows, int cols, double scale_min=0, double scale_max=0, const char* label_fmt="%.1f", const ImPlotPoint& bounds_min=ImPlotPoint(0,0), const ImPlotPoint& bounds_max=ImPlotPoint(1,1), ImPlotHeatmapFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a 2D heatmap chart. Values are expected to be in row-major order by default. Leave #scale_min and
|
|
/// scale_max both at 0 for automatic color scaling, or set them to a predefined range. #label_fmt can be
|
|
/// set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotHeatmap(
|
|
ImString labelId,
|
|
Ptr<float> values,
|
|
int rows,
|
|
int cols,
|
|
double scaleMin = 0d,
|
|
double scaleMax = 0d,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
in double2? boundsMin = default,
|
|
in double2? boundsMax = default,
|
|
ImPlotHeatmapFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
var boundsMin_default = boundsMin ?? new double2(0f, 0f);
|
|
var boundsMax_default = boundsMax ?? new double2(1f, 1f);
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotHeatmap_float(
|
|
labelId_fixed,
|
|
(float*)values,
|
|
rows,
|
|
cols,
|
|
scaleMin,
|
|
scaleMax,
|
|
labelFmt_fixed,
|
|
&boundsMin_default,
|
|
&boundsMax_default,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L902">implot.h:902</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2522">implot_items.cpp:2522</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotHeatmap(const char* label_id, const T* values, int rows, int cols, double scale_min=0, double scale_max=0, const char* label_fmt="%.1f", const ImPlotPoint& bounds_min=ImPlotPoint(0,0), const ImPlotPoint& bounds_max=ImPlotPoint(1,1), ImPlotHeatmapFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a 2D heatmap chart. Values are expected to be in row-major order by default. Leave #scale_min and
|
|
/// scale_max both at 0 for automatic color scaling, or set them to a predefined range. #label_fmt can be
|
|
/// set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotHeatmap(
|
|
ImString labelId,
|
|
ReadOnlySpan<float> values,
|
|
int rows,
|
|
int cols,
|
|
double scaleMin = 0d,
|
|
double scaleMax = 0d,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
in double2? boundsMin = default,
|
|
in double2? boundsMax = default,
|
|
ImPlotHeatmapFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
var boundsMin_default = boundsMin ?? new double2(0f, 0f);
|
|
var boundsMax_default = boundsMax ?? new double2(1f, 1f);
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (float* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotHeatmap_float(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
rows,
|
|
cols,
|
|
scaleMin,
|
|
scaleMax,
|
|
labelFmt_fixed,
|
|
&boundsMin_default,
|
|
&boundsMax_default,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L902">implot.h:902</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2522">implot_items.cpp:2522</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotHeatmap(const char* label_id, const T* values, int rows, int cols, double scale_min=0, double scale_max=0, const char* label_fmt="%.1f", const ImPlotPoint& bounds_min=ImPlotPoint(0,0), const ImPlotPoint& bounds_max=ImPlotPoint(1,1), ImPlotHeatmapFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a 2D heatmap chart. Values are expected to be in row-major order by default. Leave #scale_min and
|
|
/// scale_max both at 0 for automatic color scaling, or set them to a predefined range. #label_fmt can be
|
|
/// set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotHeatmap(
|
|
ImString labelId,
|
|
Ptr<double> values,
|
|
int rows,
|
|
int cols,
|
|
double scaleMin = 0d,
|
|
double scaleMax = 0d,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
in double2? boundsMin = default,
|
|
in double2? boundsMax = default,
|
|
ImPlotHeatmapFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
var boundsMin_default = boundsMin ?? new double2(0f, 0f);
|
|
var boundsMax_default = boundsMax ?? new double2(1f, 1f);
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotHeatmap_double(
|
|
labelId_fixed,
|
|
(double*)values,
|
|
rows,
|
|
cols,
|
|
scaleMin,
|
|
scaleMax,
|
|
labelFmt_fixed,
|
|
&boundsMin_default,
|
|
&boundsMax_default,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L902">implot.h:902</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2522">implot_items.cpp:2522</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotHeatmap(const char* label_id, const T* values, int rows, int cols, double scale_min=0, double scale_max=0, const char* label_fmt="%.1f", const ImPlotPoint& bounds_min=ImPlotPoint(0,0), const ImPlotPoint& bounds_max=ImPlotPoint(1,1), ImPlotHeatmapFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a 2D heatmap chart. Values are expected to be in row-major order by default. Leave #scale_min and
|
|
/// scale_max both at 0 for automatic color scaling, or set them to a predefined range. #label_fmt can be
|
|
/// set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotHeatmap(
|
|
ImString labelId,
|
|
ReadOnlySpan<double> values,
|
|
int rows,
|
|
int cols,
|
|
double scaleMin = 0d,
|
|
double scaleMax = 0d,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
in double2? boundsMin = default,
|
|
in double2? boundsMax = default,
|
|
ImPlotHeatmapFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
var boundsMin_default = boundsMin ?? new double2(0f, 0f);
|
|
var boundsMax_default = boundsMax ?? new double2(1f, 1f);
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (double* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotHeatmap_double(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
rows,
|
|
cols,
|
|
scaleMin,
|
|
scaleMax,
|
|
labelFmt_fixed,
|
|
&boundsMin_default,
|
|
&boundsMax_default,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L902">implot.h:902</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2522">implot_items.cpp:2522</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotHeatmap(const char* label_id, const T* values, int rows, int cols, double scale_min=0, double scale_max=0, const char* label_fmt="%.1f", const ImPlotPoint& bounds_min=ImPlotPoint(0,0), const ImPlotPoint& bounds_max=ImPlotPoint(1,1), ImPlotHeatmapFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a 2D heatmap chart. Values are expected to be in row-major order by default. Leave #scale_min and
|
|
/// scale_max both at 0 for automatic color scaling, or set them to a predefined range. #label_fmt can be
|
|
/// set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotHeatmap(
|
|
ImString labelId,
|
|
Ptr<sbyte> values,
|
|
int rows,
|
|
int cols,
|
|
double scaleMin = 0d,
|
|
double scaleMax = 0d,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
in double2? boundsMin = default,
|
|
in double2? boundsMax = default,
|
|
ImPlotHeatmapFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
var boundsMin_default = boundsMin ?? new double2(0f, 0f);
|
|
var boundsMax_default = boundsMax ?? new double2(1f, 1f);
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotHeatmap_sbyte(
|
|
labelId_fixed,
|
|
(sbyte*)values,
|
|
rows,
|
|
cols,
|
|
scaleMin,
|
|
scaleMax,
|
|
labelFmt_fixed,
|
|
&boundsMin_default,
|
|
&boundsMax_default,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L902">implot.h:902</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2522">implot_items.cpp:2522</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotHeatmap(const char* label_id, const T* values, int rows, int cols, double scale_min=0, double scale_max=0, const char* label_fmt="%.1f", const ImPlotPoint& bounds_min=ImPlotPoint(0,0), const ImPlotPoint& bounds_max=ImPlotPoint(1,1), ImPlotHeatmapFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a 2D heatmap chart. Values are expected to be in row-major order by default. Leave #scale_min and
|
|
/// scale_max both at 0 for automatic color scaling, or set them to a predefined range. #label_fmt can be
|
|
/// set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotHeatmap(
|
|
ImString labelId,
|
|
ReadOnlySpan<sbyte> values,
|
|
int rows,
|
|
int cols,
|
|
double scaleMin = 0d,
|
|
double scaleMax = 0d,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
in double2? boundsMin = default,
|
|
in double2? boundsMax = default,
|
|
ImPlotHeatmapFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
var boundsMin_default = boundsMin ?? new double2(0f, 0f);
|
|
var boundsMax_default = boundsMax ?? new double2(1f, 1f);
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (sbyte* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotHeatmap_sbyte(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
rows,
|
|
cols,
|
|
scaleMin,
|
|
scaleMax,
|
|
labelFmt_fixed,
|
|
&boundsMin_default,
|
|
&boundsMax_default,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L902">implot.h:902</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2522">implot_items.cpp:2522</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotHeatmap(const char* label_id, const T* values, int rows, int cols, double scale_min=0, double scale_max=0, const char* label_fmt="%.1f", const ImPlotPoint& bounds_min=ImPlotPoint(0,0), const ImPlotPoint& bounds_max=ImPlotPoint(1,1), ImPlotHeatmapFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a 2D heatmap chart. Values are expected to be in row-major order by default. Leave #scale_min and
|
|
/// scale_max both at 0 for automatic color scaling, or set them to a predefined range. #label_fmt can be
|
|
/// set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotHeatmap(
|
|
ImString labelId,
|
|
Ptr<byte> values,
|
|
int rows,
|
|
int cols,
|
|
double scaleMin = 0d,
|
|
double scaleMax = 0d,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
in double2? boundsMin = default,
|
|
in double2? boundsMax = default,
|
|
ImPlotHeatmapFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
var boundsMin_default = boundsMin ?? new double2(0f, 0f);
|
|
var boundsMax_default = boundsMax ?? new double2(1f, 1f);
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotHeatmap_byte(
|
|
labelId_fixed,
|
|
(byte*)values,
|
|
rows,
|
|
cols,
|
|
scaleMin,
|
|
scaleMax,
|
|
labelFmt_fixed,
|
|
&boundsMin_default,
|
|
&boundsMax_default,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L902">implot.h:902</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2522">implot_items.cpp:2522</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotHeatmap(const char* label_id, const T* values, int rows, int cols, double scale_min=0, double scale_max=0, const char* label_fmt="%.1f", const ImPlotPoint& bounds_min=ImPlotPoint(0,0), const ImPlotPoint& bounds_max=ImPlotPoint(1,1), ImPlotHeatmapFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a 2D heatmap chart. Values are expected to be in row-major order by default. Leave #scale_min and
|
|
/// scale_max both at 0 for automatic color scaling, or set them to a predefined range. #label_fmt can be
|
|
/// set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotHeatmap(
|
|
ImString labelId,
|
|
ReadOnlySpan<byte> values,
|
|
int rows,
|
|
int cols,
|
|
double scaleMin = 0d,
|
|
double scaleMax = 0d,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
in double2? boundsMin = default,
|
|
in double2? boundsMax = default,
|
|
ImPlotHeatmapFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
var boundsMin_default = boundsMin ?? new double2(0f, 0f);
|
|
var boundsMax_default = boundsMax ?? new double2(1f, 1f);
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (byte* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotHeatmap_byte(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
rows,
|
|
cols,
|
|
scaleMin,
|
|
scaleMax,
|
|
labelFmt_fixed,
|
|
&boundsMin_default,
|
|
&boundsMax_default,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L902">implot.h:902</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2522">implot_items.cpp:2522</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotHeatmap(const char* label_id, const T* values, int rows, int cols, double scale_min=0, double scale_max=0, const char* label_fmt="%.1f", const ImPlotPoint& bounds_min=ImPlotPoint(0,0), const ImPlotPoint& bounds_max=ImPlotPoint(1,1), ImPlotHeatmapFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a 2D heatmap chart. Values are expected to be in row-major order by default. Leave #scale_min and
|
|
/// scale_max both at 0 for automatic color scaling, or set them to a predefined range. #label_fmt can be
|
|
/// set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotHeatmap(
|
|
ImString labelId,
|
|
Ptr<short> values,
|
|
int rows,
|
|
int cols,
|
|
double scaleMin = 0d,
|
|
double scaleMax = 0d,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
in double2? boundsMin = default,
|
|
in double2? boundsMax = default,
|
|
ImPlotHeatmapFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
var boundsMin_default = boundsMin ?? new double2(0f, 0f);
|
|
var boundsMax_default = boundsMax ?? new double2(1f, 1f);
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotHeatmap_short(
|
|
labelId_fixed,
|
|
(short*)values,
|
|
rows,
|
|
cols,
|
|
scaleMin,
|
|
scaleMax,
|
|
labelFmt_fixed,
|
|
&boundsMin_default,
|
|
&boundsMax_default,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L902">implot.h:902</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2522">implot_items.cpp:2522</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotHeatmap(const char* label_id, const T* values, int rows, int cols, double scale_min=0, double scale_max=0, const char* label_fmt="%.1f", const ImPlotPoint& bounds_min=ImPlotPoint(0,0), const ImPlotPoint& bounds_max=ImPlotPoint(1,1), ImPlotHeatmapFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a 2D heatmap chart. Values are expected to be in row-major order by default. Leave #scale_min and
|
|
/// scale_max both at 0 for automatic color scaling, or set them to a predefined range. #label_fmt can be
|
|
/// set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotHeatmap(
|
|
ImString labelId,
|
|
ReadOnlySpan<short> values,
|
|
int rows,
|
|
int cols,
|
|
double scaleMin = 0d,
|
|
double scaleMax = 0d,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
in double2? boundsMin = default,
|
|
in double2? boundsMax = default,
|
|
ImPlotHeatmapFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
var boundsMin_default = boundsMin ?? new double2(0f, 0f);
|
|
var boundsMax_default = boundsMax ?? new double2(1f, 1f);
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (short* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotHeatmap_short(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
rows,
|
|
cols,
|
|
scaleMin,
|
|
scaleMax,
|
|
labelFmt_fixed,
|
|
&boundsMin_default,
|
|
&boundsMax_default,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L902">implot.h:902</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2522">implot_items.cpp:2522</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotHeatmap(const char* label_id, const T* values, int rows, int cols, double scale_min=0, double scale_max=0, const char* label_fmt="%.1f", const ImPlotPoint& bounds_min=ImPlotPoint(0,0), const ImPlotPoint& bounds_max=ImPlotPoint(1,1), ImPlotHeatmapFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a 2D heatmap chart. Values are expected to be in row-major order by default. Leave #scale_min and
|
|
/// scale_max both at 0 for automatic color scaling, or set them to a predefined range. #label_fmt can be
|
|
/// set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotHeatmap(
|
|
ImString labelId,
|
|
Ptr<ushort> values,
|
|
int rows,
|
|
int cols,
|
|
double scaleMin = 0d,
|
|
double scaleMax = 0d,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
in double2? boundsMin = default,
|
|
in double2? boundsMax = default,
|
|
ImPlotHeatmapFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
var boundsMin_default = boundsMin ?? new double2(0f, 0f);
|
|
var boundsMax_default = boundsMax ?? new double2(1f, 1f);
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotHeatmap_ushort(
|
|
labelId_fixed,
|
|
(ushort*)values,
|
|
rows,
|
|
cols,
|
|
scaleMin,
|
|
scaleMax,
|
|
labelFmt_fixed,
|
|
&boundsMin_default,
|
|
&boundsMax_default,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L902">implot.h:902</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2522">implot_items.cpp:2522</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotHeatmap(const char* label_id, const T* values, int rows, int cols, double scale_min=0, double scale_max=0, const char* label_fmt="%.1f", const ImPlotPoint& bounds_min=ImPlotPoint(0,0), const ImPlotPoint& bounds_max=ImPlotPoint(1,1), ImPlotHeatmapFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a 2D heatmap chart. Values are expected to be in row-major order by default. Leave #scale_min and
|
|
/// scale_max both at 0 for automatic color scaling, or set them to a predefined range. #label_fmt can be
|
|
/// set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotHeatmap(
|
|
ImString labelId,
|
|
ReadOnlySpan<ushort> values,
|
|
int rows,
|
|
int cols,
|
|
double scaleMin = 0d,
|
|
double scaleMax = 0d,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
in double2? boundsMin = default,
|
|
in double2? boundsMax = default,
|
|
ImPlotHeatmapFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
var boundsMin_default = boundsMin ?? new double2(0f, 0f);
|
|
var boundsMax_default = boundsMax ?? new double2(1f, 1f);
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (ushort* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotHeatmap_ushort(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
rows,
|
|
cols,
|
|
scaleMin,
|
|
scaleMax,
|
|
labelFmt_fixed,
|
|
&boundsMin_default,
|
|
&boundsMax_default,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L902">implot.h:902</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2522">implot_items.cpp:2522</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotHeatmap(const char* label_id, const T* values, int rows, int cols, double scale_min=0, double scale_max=0, const char* label_fmt="%.1f", const ImPlotPoint& bounds_min=ImPlotPoint(0,0), const ImPlotPoint& bounds_max=ImPlotPoint(1,1), ImPlotHeatmapFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a 2D heatmap chart. Values are expected to be in row-major order by default. Leave #scale_min and
|
|
/// scale_max both at 0 for automatic color scaling, or set them to a predefined range. #label_fmt can be
|
|
/// set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotHeatmap(
|
|
ImString labelId,
|
|
Ptr<int> values,
|
|
int rows,
|
|
int cols,
|
|
double scaleMin = 0d,
|
|
double scaleMax = 0d,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
in double2? boundsMin = default,
|
|
in double2? boundsMax = default,
|
|
ImPlotHeatmapFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
var boundsMin_default = boundsMin ?? new double2(0f, 0f);
|
|
var boundsMax_default = boundsMax ?? new double2(1f, 1f);
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotHeatmap_int(
|
|
labelId_fixed,
|
|
(int*)values,
|
|
rows,
|
|
cols,
|
|
scaleMin,
|
|
scaleMax,
|
|
labelFmt_fixed,
|
|
&boundsMin_default,
|
|
&boundsMax_default,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L902">implot.h:902</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2522">implot_items.cpp:2522</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotHeatmap(const char* label_id, const T* values, int rows, int cols, double scale_min=0, double scale_max=0, const char* label_fmt="%.1f", const ImPlotPoint& bounds_min=ImPlotPoint(0,0), const ImPlotPoint& bounds_max=ImPlotPoint(1,1), ImPlotHeatmapFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a 2D heatmap chart. Values are expected to be in row-major order by default. Leave #scale_min and
|
|
/// scale_max both at 0 for automatic color scaling, or set them to a predefined range. #label_fmt can be
|
|
/// set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotHeatmap(
|
|
ImString labelId,
|
|
ReadOnlySpan<int> values,
|
|
int rows,
|
|
int cols,
|
|
double scaleMin = 0d,
|
|
double scaleMax = 0d,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
in double2? boundsMin = default,
|
|
in double2? boundsMax = default,
|
|
ImPlotHeatmapFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
var boundsMin_default = boundsMin ?? new double2(0f, 0f);
|
|
var boundsMax_default = boundsMax ?? new double2(1f, 1f);
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (int* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotHeatmap_int(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
rows,
|
|
cols,
|
|
scaleMin,
|
|
scaleMax,
|
|
labelFmt_fixed,
|
|
&boundsMin_default,
|
|
&boundsMax_default,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L902">implot.h:902</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2522">implot_items.cpp:2522</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotHeatmap(const char* label_id, const T* values, int rows, int cols, double scale_min=0, double scale_max=0, const char* label_fmt="%.1f", const ImPlotPoint& bounds_min=ImPlotPoint(0,0), const ImPlotPoint& bounds_max=ImPlotPoint(1,1), ImPlotHeatmapFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a 2D heatmap chart. Values are expected to be in row-major order by default. Leave #scale_min and
|
|
/// scale_max both at 0 for automatic color scaling, or set them to a predefined range. #label_fmt can be
|
|
/// set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotHeatmap(
|
|
ImString labelId,
|
|
Ptr<uint> values,
|
|
int rows,
|
|
int cols,
|
|
double scaleMin = 0d,
|
|
double scaleMax = 0d,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
in double2? boundsMin = default,
|
|
in double2? boundsMax = default,
|
|
ImPlotHeatmapFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
var boundsMin_default = boundsMin ?? new double2(0f, 0f);
|
|
var boundsMax_default = boundsMax ?? new double2(1f, 1f);
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotHeatmap_uint(
|
|
labelId_fixed,
|
|
(uint*)values,
|
|
rows,
|
|
cols,
|
|
scaleMin,
|
|
scaleMax,
|
|
labelFmt_fixed,
|
|
&boundsMin_default,
|
|
&boundsMax_default,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L902">implot.h:902</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2522">implot_items.cpp:2522</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotHeatmap(const char* label_id, const T* values, int rows, int cols, double scale_min=0, double scale_max=0, const char* label_fmt="%.1f", const ImPlotPoint& bounds_min=ImPlotPoint(0,0), const ImPlotPoint& bounds_max=ImPlotPoint(1,1), ImPlotHeatmapFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a 2D heatmap chart. Values are expected to be in row-major order by default. Leave #scale_min and
|
|
/// scale_max both at 0 for automatic color scaling, or set them to a predefined range. #label_fmt can be
|
|
/// set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotHeatmap(
|
|
ImString labelId,
|
|
ReadOnlySpan<uint> values,
|
|
int rows,
|
|
int cols,
|
|
double scaleMin = 0d,
|
|
double scaleMax = 0d,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
in double2? boundsMin = default,
|
|
in double2? boundsMax = default,
|
|
ImPlotHeatmapFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
var boundsMin_default = boundsMin ?? new double2(0f, 0f);
|
|
var boundsMax_default = boundsMax ?? new double2(1f, 1f);
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (uint* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotHeatmap_uint(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
rows,
|
|
cols,
|
|
scaleMin,
|
|
scaleMax,
|
|
labelFmt_fixed,
|
|
&boundsMin_default,
|
|
&boundsMax_default,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L902">implot.h:902</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2522">implot_items.cpp:2522</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotHeatmap(const char* label_id, const T* values, int rows, int cols, double scale_min=0, double scale_max=0, const char* label_fmt="%.1f", const ImPlotPoint& bounds_min=ImPlotPoint(0,0), const ImPlotPoint& bounds_max=ImPlotPoint(1,1), ImPlotHeatmapFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a 2D heatmap chart. Values are expected to be in row-major order by default. Leave #scale_min and
|
|
/// scale_max both at 0 for automatic color scaling, or set them to a predefined range. #label_fmt can be
|
|
/// set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotHeatmap(
|
|
ImString labelId,
|
|
Ptr<long> values,
|
|
int rows,
|
|
int cols,
|
|
double scaleMin = 0d,
|
|
double scaleMax = 0d,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
in double2? boundsMin = default,
|
|
in double2? boundsMax = default,
|
|
ImPlotHeatmapFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
var boundsMin_default = boundsMin ?? new double2(0f, 0f);
|
|
var boundsMax_default = boundsMax ?? new double2(1f, 1f);
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotHeatmap_long(
|
|
labelId_fixed,
|
|
(long*)values,
|
|
rows,
|
|
cols,
|
|
scaleMin,
|
|
scaleMax,
|
|
labelFmt_fixed,
|
|
&boundsMin_default,
|
|
&boundsMax_default,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L902">implot.h:902</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2522">implot_items.cpp:2522</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotHeatmap(const char* label_id, const T* values, int rows, int cols, double scale_min=0, double scale_max=0, const char* label_fmt="%.1f", const ImPlotPoint& bounds_min=ImPlotPoint(0,0), const ImPlotPoint& bounds_max=ImPlotPoint(1,1), ImPlotHeatmapFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a 2D heatmap chart. Values are expected to be in row-major order by default. Leave #scale_min and
|
|
/// scale_max both at 0 for automatic color scaling, or set them to a predefined range. #label_fmt can be
|
|
/// set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotHeatmap(
|
|
ImString labelId,
|
|
ReadOnlySpan<long> values,
|
|
int rows,
|
|
int cols,
|
|
double scaleMin = 0d,
|
|
double scaleMax = 0d,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
in double2? boundsMin = default,
|
|
in double2? boundsMax = default,
|
|
ImPlotHeatmapFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
var boundsMin_default = boundsMin ?? new double2(0f, 0f);
|
|
var boundsMax_default = boundsMax ?? new double2(1f, 1f);
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (long* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotHeatmap_long(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
rows,
|
|
cols,
|
|
scaleMin,
|
|
scaleMax,
|
|
labelFmt_fixed,
|
|
&boundsMin_default,
|
|
&boundsMax_default,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L902">implot.h:902</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2522">implot_items.cpp:2522</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotHeatmap(const char* label_id, const T* values, int rows, int cols, double scale_min=0, double scale_max=0, const char* label_fmt="%.1f", const ImPlotPoint& bounds_min=ImPlotPoint(0,0), const ImPlotPoint& bounds_max=ImPlotPoint(1,1), ImPlotHeatmapFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a 2D heatmap chart. Values are expected to be in row-major order by default. Leave #scale_min and
|
|
/// scale_max both at 0 for automatic color scaling, or set them to a predefined range. #label_fmt can be
|
|
/// set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotHeatmap(
|
|
ImString labelId,
|
|
Ptr<ulong> values,
|
|
int rows,
|
|
int cols,
|
|
double scaleMin = 0d,
|
|
double scaleMax = 0d,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
in double2? boundsMin = default,
|
|
in double2? boundsMax = default,
|
|
ImPlotHeatmapFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
var boundsMin_default = boundsMin ?? new double2(0f, 0f);
|
|
var boundsMax_default = boundsMax ?? new double2(1f, 1f);
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotHeatmap_ulong(
|
|
labelId_fixed,
|
|
(ulong*)values,
|
|
rows,
|
|
cols,
|
|
scaleMin,
|
|
scaleMax,
|
|
labelFmt_fixed,
|
|
&boundsMin_default,
|
|
&boundsMax_default,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L902">implot.h:902</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2522">implot_items.cpp:2522</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotHeatmap(const char* label_id, const T* values, int rows, int cols, double scale_min=0, double scale_max=0, const char* label_fmt="%.1f", const ImPlotPoint& bounds_min=ImPlotPoint(0,0), const ImPlotPoint& bounds_max=ImPlotPoint(1,1), ImPlotHeatmapFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="labelFmt">Default value if unset: "%.1f"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a 2D heatmap chart. Values are expected to be in row-major order by default. Leave #scale_min and
|
|
/// scale_max both at 0 for automatic color scaling, or set them to a predefined range. #label_fmt can be
|
|
/// set to nullptr for no labels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotHeatmap(
|
|
ImString labelId,
|
|
ReadOnlySpan<ulong> values,
|
|
int rows,
|
|
int cols,
|
|
double scaleMin = 0d,
|
|
double scaleMax = 0d,
|
|
[System.ComponentModel.DefaultValue("%.1f")] ImString labelFmt = default,
|
|
in double2? boundsMin = default,
|
|
in double2? boundsMax = default,
|
|
ImPlotHeatmapFlags flags = default
|
|
)
|
|
{
|
|
if (labelFmt.IsUnset)
|
|
{
|
|
labelFmt = "%.1f"u8;
|
|
}
|
|
var boundsMin_default = boundsMin ?? new double2(0f, 0f);
|
|
var boundsMax_default = boundsMax ?? new double2(1f, 1f);
|
|
fixed (byte* labelFmt_fixed = labelFmt)
|
|
{
|
|
fixed (ulong* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotHeatmap_ulong(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
rows,
|
|
cols,
|
|
scaleMin,
|
|
scaleMax,
|
|
labelFmt_fixed,
|
|
&boundsMin_default,
|
|
&boundsMax_default,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L906">implot.h:906</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2543">implot_items.cpp:2543</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram(const char* label_id, const T* values, int count, int bins=ImPlotBin_Sturges, double bar_scale=1.0, ImPlotRange range=ImPlotRange(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots a horizontal histogram. #bins can be a positive integer or an ImPlotBin_ method. If #range is left unspecified, the min/max of #values will be used as the range.
|
|
/// Otherwise, outlier values outside of the range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram(
|
|
ImString labelId,
|
|
Ptr<float> values,
|
|
int count,
|
|
int bins = -2,
|
|
double barScale = 1d,
|
|
ImPlotRange range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram_float(labelId_fixed, (float*)values, count, bins, barScale, range, flags);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L906">implot.h:906</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2543">implot_items.cpp:2543</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram(const char* label_id, const T* values, int count, int bins=ImPlotBin_Sturges, double bar_scale=1.0, ImPlotRange range=ImPlotRange(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots a horizontal histogram. #bins can be a positive integer or an ImPlotBin_ method. If #range is left unspecified, the min/max of #values will be used as the range.
|
|
/// Otherwise, outlier values outside of the range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram(
|
|
ImString labelId,
|
|
ReadOnlySpan<float> values,
|
|
int bins = -2,
|
|
double barScale = 1d,
|
|
ImPlotRange range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (float* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram_float(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
bins,
|
|
barScale,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L906">implot.h:906</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2543">implot_items.cpp:2543</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram(const char* label_id, const T* values, int count, int bins=ImPlotBin_Sturges, double bar_scale=1.0, ImPlotRange range=ImPlotRange(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots a horizontal histogram. #bins can be a positive integer or an ImPlotBin_ method. If #range is left unspecified, the min/max of #values will be used as the range.
|
|
/// Otherwise, outlier values outside of the range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram(
|
|
ImString labelId,
|
|
Ptr<double> values,
|
|
int count,
|
|
int bins = -2,
|
|
double barScale = 1d,
|
|
ImPlotRange range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram_double(
|
|
labelId_fixed,
|
|
(double*)values,
|
|
count,
|
|
bins,
|
|
barScale,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L906">implot.h:906</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2543">implot_items.cpp:2543</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram(const char* label_id, const T* values, int count, int bins=ImPlotBin_Sturges, double bar_scale=1.0, ImPlotRange range=ImPlotRange(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots a horizontal histogram. #bins can be a positive integer or an ImPlotBin_ method. If #range is left unspecified, the min/max of #values will be used as the range.
|
|
/// Otherwise, outlier values outside of the range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram(
|
|
ImString labelId,
|
|
ReadOnlySpan<double> values,
|
|
int bins = -2,
|
|
double barScale = 1d,
|
|
ImPlotRange range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (double* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram_double(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
bins,
|
|
barScale,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L906">implot.h:906</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2543">implot_items.cpp:2543</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram(const char* label_id, const T* values, int count, int bins=ImPlotBin_Sturges, double bar_scale=1.0, ImPlotRange range=ImPlotRange(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots a horizontal histogram. #bins can be a positive integer or an ImPlotBin_ method. If #range is left unspecified, the min/max of #values will be used as the range.
|
|
/// Otherwise, outlier values outside of the range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram(
|
|
ImString labelId,
|
|
Ptr<sbyte> values,
|
|
int count,
|
|
int bins = -2,
|
|
double barScale = 1d,
|
|
ImPlotRange range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram_sbyte(labelId_fixed, (sbyte*)values, count, bins, barScale, range, flags);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L906">implot.h:906</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2543">implot_items.cpp:2543</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram(const char* label_id, const T* values, int count, int bins=ImPlotBin_Sturges, double bar_scale=1.0, ImPlotRange range=ImPlotRange(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots a horizontal histogram. #bins can be a positive integer or an ImPlotBin_ method. If #range is left unspecified, the min/max of #values will be used as the range.
|
|
/// Otherwise, outlier values outside of the range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram(
|
|
ImString labelId,
|
|
ReadOnlySpan<sbyte> values,
|
|
int bins = -2,
|
|
double barScale = 1d,
|
|
ImPlotRange range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (sbyte* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram_sbyte(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
bins,
|
|
barScale,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L906">implot.h:906</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2543">implot_items.cpp:2543</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram(const char* label_id, const T* values, int count, int bins=ImPlotBin_Sturges, double bar_scale=1.0, ImPlotRange range=ImPlotRange(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots a horizontal histogram. #bins can be a positive integer or an ImPlotBin_ method. If #range is left unspecified, the min/max of #values will be used as the range.
|
|
/// Otherwise, outlier values outside of the range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram(
|
|
ImString labelId,
|
|
Ptr<byte> values,
|
|
int count,
|
|
int bins = -2,
|
|
double barScale = 1d,
|
|
ImPlotRange range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram_byte(labelId_fixed, (byte*)values, count, bins, barScale, range, flags);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L906">implot.h:906</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2543">implot_items.cpp:2543</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram(const char* label_id, const T* values, int count, int bins=ImPlotBin_Sturges, double bar_scale=1.0, ImPlotRange range=ImPlotRange(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots a horizontal histogram. #bins can be a positive integer or an ImPlotBin_ method. If #range is left unspecified, the min/max of #values will be used as the range.
|
|
/// Otherwise, outlier values outside of the range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram(
|
|
ImString labelId,
|
|
ReadOnlySpan<byte> values,
|
|
int bins = -2,
|
|
double barScale = 1d,
|
|
ImPlotRange range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram_byte(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
bins,
|
|
barScale,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L906">implot.h:906</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2543">implot_items.cpp:2543</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram(const char* label_id, const T* values, int count, int bins=ImPlotBin_Sturges, double bar_scale=1.0, ImPlotRange range=ImPlotRange(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots a horizontal histogram. #bins can be a positive integer or an ImPlotBin_ method. If #range is left unspecified, the min/max of #values will be used as the range.
|
|
/// Otherwise, outlier values outside of the range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram(
|
|
ImString labelId,
|
|
Ptr<short> values,
|
|
int count,
|
|
int bins = -2,
|
|
double barScale = 1d,
|
|
ImPlotRange range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram_short(labelId_fixed, (short*)values, count, bins, barScale, range, flags);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L906">implot.h:906</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2543">implot_items.cpp:2543</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram(const char* label_id, const T* values, int count, int bins=ImPlotBin_Sturges, double bar_scale=1.0, ImPlotRange range=ImPlotRange(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots a horizontal histogram. #bins can be a positive integer or an ImPlotBin_ method. If #range is left unspecified, the min/max of #values will be used as the range.
|
|
/// Otherwise, outlier values outside of the range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram(
|
|
ImString labelId,
|
|
ReadOnlySpan<short> values,
|
|
int bins = -2,
|
|
double barScale = 1d,
|
|
ImPlotRange range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (short* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram_short(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
bins,
|
|
barScale,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L906">implot.h:906</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2543">implot_items.cpp:2543</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram(const char* label_id, const T* values, int count, int bins=ImPlotBin_Sturges, double bar_scale=1.0, ImPlotRange range=ImPlotRange(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots a horizontal histogram. #bins can be a positive integer or an ImPlotBin_ method. If #range is left unspecified, the min/max of #values will be used as the range.
|
|
/// Otherwise, outlier values outside of the range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram(
|
|
ImString labelId,
|
|
Ptr<ushort> values,
|
|
int count,
|
|
int bins = -2,
|
|
double barScale = 1d,
|
|
ImPlotRange range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram_ushort(
|
|
labelId_fixed,
|
|
(ushort*)values,
|
|
count,
|
|
bins,
|
|
barScale,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L906">implot.h:906</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2543">implot_items.cpp:2543</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram(const char* label_id, const T* values, int count, int bins=ImPlotBin_Sturges, double bar_scale=1.0, ImPlotRange range=ImPlotRange(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots a horizontal histogram. #bins can be a positive integer or an ImPlotBin_ method. If #range is left unspecified, the min/max of #values will be used as the range.
|
|
/// Otherwise, outlier values outside of the range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram(
|
|
ImString labelId,
|
|
ReadOnlySpan<ushort> values,
|
|
int bins = -2,
|
|
double barScale = 1d,
|
|
ImPlotRange range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (ushort* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram_ushort(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
bins,
|
|
barScale,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L906">implot.h:906</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2543">implot_items.cpp:2543</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram(const char* label_id, const T* values, int count, int bins=ImPlotBin_Sturges, double bar_scale=1.0, ImPlotRange range=ImPlotRange(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots a horizontal histogram. #bins can be a positive integer or an ImPlotBin_ method. If #range is left unspecified, the min/max of #values will be used as the range.
|
|
/// Otherwise, outlier values outside of the range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram(
|
|
ImString labelId,
|
|
Ptr<int> values,
|
|
int count,
|
|
int bins = -2,
|
|
double barScale = 1d,
|
|
ImPlotRange range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram_int(labelId_fixed, (int*)values, count, bins, barScale, range, flags);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L906">implot.h:906</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2543">implot_items.cpp:2543</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram(const char* label_id, const T* values, int count, int bins=ImPlotBin_Sturges, double bar_scale=1.0, ImPlotRange range=ImPlotRange(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots a horizontal histogram. #bins can be a positive integer or an ImPlotBin_ method. If #range is left unspecified, the min/max of #values will be used as the range.
|
|
/// Otherwise, outlier values outside of the range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram(
|
|
ImString labelId,
|
|
ReadOnlySpan<int> values,
|
|
int bins = -2,
|
|
double barScale = 1d,
|
|
ImPlotRange range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (int* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram_int(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
bins,
|
|
barScale,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L906">implot.h:906</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2543">implot_items.cpp:2543</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram(const char* label_id, const T* values, int count, int bins=ImPlotBin_Sturges, double bar_scale=1.0, ImPlotRange range=ImPlotRange(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots a horizontal histogram. #bins can be a positive integer or an ImPlotBin_ method. If #range is left unspecified, the min/max of #values will be used as the range.
|
|
/// Otherwise, outlier values outside of the range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram(
|
|
ImString labelId,
|
|
Ptr<uint> values,
|
|
int count,
|
|
int bins = -2,
|
|
double barScale = 1d,
|
|
ImPlotRange range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram_uint(labelId_fixed, (uint*)values, count, bins, barScale, range, flags);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L906">implot.h:906</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2543">implot_items.cpp:2543</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram(const char* label_id, const T* values, int count, int bins=ImPlotBin_Sturges, double bar_scale=1.0, ImPlotRange range=ImPlotRange(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots a horizontal histogram. #bins can be a positive integer or an ImPlotBin_ method. If #range is left unspecified, the min/max of #values will be used as the range.
|
|
/// Otherwise, outlier values outside of the range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram(
|
|
ImString labelId,
|
|
ReadOnlySpan<uint> values,
|
|
int bins = -2,
|
|
double barScale = 1d,
|
|
ImPlotRange range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (uint* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram_uint(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
bins,
|
|
barScale,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L906">implot.h:906</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2543">implot_items.cpp:2543</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram(const char* label_id, const T* values, int count, int bins=ImPlotBin_Sturges, double bar_scale=1.0, ImPlotRange range=ImPlotRange(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots a horizontal histogram. #bins can be a positive integer or an ImPlotBin_ method. If #range is left unspecified, the min/max of #values will be used as the range.
|
|
/// Otherwise, outlier values outside of the range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram(
|
|
ImString labelId,
|
|
Ptr<long> values,
|
|
int count,
|
|
int bins = -2,
|
|
double barScale = 1d,
|
|
ImPlotRange range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram_long(labelId_fixed, (long*)values, count, bins, barScale, range, flags);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L906">implot.h:906</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2543">implot_items.cpp:2543</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram(const char* label_id, const T* values, int count, int bins=ImPlotBin_Sturges, double bar_scale=1.0, ImPlotRange range=ImPlotRange(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots a horizontal histogram. #bins can be a positive integer or an ImPlotBin_ method. If #range is left unspecified, the min/max of #values will be used as the range.
|
|
/// Otherwise, outlier values outside of the range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram(
|
|
ImString labelId,
|
|
ReadOnlySpan<long> values,
|
|
int bins = -2,
|
|
double barScale = 1d,
|
|
ImPlotRange range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (long* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram_long(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
bins,
|
|
barScale,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L906">implot.h:906</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2543">implot_items.cpp:2543</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram(const char* label_id, const T* values, int count, int bins=ImPlotBin_Sturges, double bar_scale=1.0, ImPlotRange range=ImPlotRange(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots a horizontal histogram. #bins can be a positive integer or an ImPlotBin_ method. If #range is left unspecified, the min/max of #values will be used as the range.
|
|
/// Otherwise, outlier values outside of the range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram(
|
|
ImString labelId,
|
|
Ptr<ulong> values,
|
|
int count,
|
|
int bins = -2,
|
|
double barScale = 1d,
|
|
ImPlotRange range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram_ulong(labelId_fixed, (ulong*)values, count, bins, barScale, range, flags);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L906">implot.h:906</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2543">implot_items.cpp:2543</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram(const char* label_id, const T* values, int count, int bins=ImPlotBin_Sturges, double bar_scale=1.0, ImPlotRange range=ImPlotRange(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots a horizontal histogram. #bins can be a positive integer or an ImPlotBin_ method. If #range is left unspecified, the min/max of #values will be used as the range.
|
|
/// Otherwise, outlier values outside of the range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram(
|
|
ImString labelId,
|
|
ReadOnlySpan<ulong> values,
|
|
int bins = -2,
|
|
double barScale = 1d,
|
|
ImPlotRange range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (ulong* values_fixed = values)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram_ulong(
|
|
labelId_fixed,
|
|
values_fixed,
|
|
values.Length,
|
|
bins,
|
|
barScale,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L910">implot.h:910</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2629">implot_items.cpp:2629</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram2D(const char* label_id, const T* xs, const T* ys, int count, int x_bins=ImPlotBin_Sturges, int y_bins=ImPlotBin_Sturges, ImPlotRect range=ImPlotRect(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots two dimensional, bivariate histogram as a heatmap. #x_bins and #y_bins can be a positive integer or an ImPlotBin. If #range is left unspecified, the min/max of
|
|
/// #xs an #ys will be used as the ranges. Otherwise, outlier values outside of range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram2D(
|
|
ImString labelId,
|
|
Ptr<float> xs,
|
|
Ptr<float> ys,
|
|
int count,
|
|
int xBins = -2,
|
|
int yBins = -2,
|
|
ImPlotRect range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram2D_float(
|
|
labelId_fixed,
|
|
(float*)xs,
|
|
(float*)ys,
|
|
count,
|
|
xBins,
|
|
yBins,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L910">implot.h:910</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2629">implot_items.cpp:2629</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram2D(const char* label_id, const T* xs, const T* ys, int count, int x_bins=ImPlotBin_Sturges, int y_bins=ImPlotBin_Sturges, ImPlotRect range=ImPlotRect(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots two dimensional, bivariate histogram as a heatmap. #x_bins and #y_bins can be a positive integer or an ImPlotBin. If #range is left unspecified, the min/max of
|
|
/// #xs an #ys will be used as the ranges. Otherwise, outlier values outside of range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram2D(
|
|
ImString labelId,
|
|
ReadOnlySpan<float> xs,
|
|
ReadOnlySpan<float> ys,
|
|
int xBins = -2,
|
|
int yBins = -2,
|
|
ImPlotRect range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (float* ys_fixed = ys)
|
|
{
|
|
fixed (float* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram2D_float(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
xBins,
|
|
yBins,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L910">implot.h:910</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2629">implot_items.cpp:2629</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram2D(const char* label_id, const T* xs, const T* ys, int count, int x_bins=ImPlotBin_Sturges, int y_bins=ImPlotBin_Sturges, ImPlotRect range=ImPlotRect(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots two dimensional, bivariate histogram as a heatmap. #x_bins and #y_bins can be a positive integer or an ImPlotBin. If #range is left unspecified, the min/max of
|
|
/// #xs an #ys will be used as the ranges. Otherwise, outlier values outside of range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram2D(
|
|
ImString labelId,
|
|
Ptr<double> xs,
|
|
Ptr<double> ys,
|
|
int count,
|
|
int xBins = -2,
|
|
int yBins = -2,
|
|
ImPlotRect range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram2D_double(
|
|
labelId_fixed,
|
|
(double*)xs,
|
|
(double*)ys,
|
|
count,
|
|
xBins,
|
|
yBins,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L910">implot.h:910</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2629">implot_items.cpp:2629</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram2D(const char* label_id, const T* xs, const T* ys, int count, int x_bins=ImPlotBin_Sturges, int y_bins=ImPlotBin_Sturges, ImPlotRect range=ImPlotRect(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots two dimensional, bivariate histogram as a heatmap. #x_bins and #y_bins can be a positive integer or an ImPlotBin. If #range is left unspecified, the min/max of
|
|
/// #xs an #ys will be used as the ranges. Otherwise, outlier values outside of range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram2D(
|
|
ImString labelId,
|
|
ReadOnlySpan<double> xs,
|
|
ReadOnlySpan<double> ys,
|
|
int xBins = -2,
|
|
int yBins = -2,
|
|
ImPlotRect range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (double* ys_fixed = ys)
|
|
{
|
|
fixed (double* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram2D_double(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
xBins,
|
|
yBins,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L910">implot.h:910</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2629">implot_items.cpp:2629</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram2D(const char* label_id, const T* xs, const T* ys, int count, int x_bins=ImPlotBin_Sturges, int y_bins=ImPlotBin_Sturges, ImPlotRect range=ImPlotRect(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots two dimensional, bivariate histogram as a heatmap. #x_bins and #y_bins can be a positive integer or an ImPlotBin. If #range is left unspecified, the min/max of
|
|
/// #xs an #ys will be used as the ranges. Otherwise, outlier values outside of range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram2D(
|
|
ImString labelId,
|
|
Ptr<sbyte> xs,
|
|
Ptr<sbyte> ys,
|
|
int count,
|
|
int xBins = -2,
|
|
int yBins = -2,
|
|
ImPlotRect range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram2D_sbyte(
|
|
labelId_fixed,
|
|
(sbyte*)xs,
|
|
(sbyte*)ys,
|
|
count,
|
|
xBins,
|
|
yBins,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L910">implot.h:910</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2629">implot_items.cpp:2629</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram2D(const char* label_id, const T* xs, const T* ys, int count, int x_bins=ImPlotBin_Sturges, int y_bins=ImPlotBin_Sturges, ImPlotRect range=ImPlotRect(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots two dimensional, bivariate histogram as a heatmap. #x_bins and #y_bins can be a positive integer or an ImPlotBin. If #range is left unspecified, the min/max of
|
|
/// #xs an #ys will be used as the ranges. Otherwise, outlier values outside of range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram2D(
|
|
ImString labelId,
|
|
ReadOnlySpan<sbyte> xs,
|
|
ReadOnlySpan<sbyte> ys,
|
|
int xBins = -2,
|
|
int yBins = -2,
|
|
ImPlotRect range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (sbyte* ys_fixed = ys)
|
|
{
|
|
fixed (sbyte* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram2D_sbyte(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
xBins,
|
|
yBins,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L910">implot.h:910</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2629">implot_items.cpp:2629</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram2D(const char* label_id, const T* xs, const T* ys, int count, int x_bins=ImPlotBin_Sturges, int y_bins=ImPlotBin_Sturges, ImPlotRect range=ImPlotRect(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots two dimensional, bivariate histogram as a heatmap. #x_bins and #y_bins can be a positive integer or an ImPlotBin. If #range is left unspecified, the min/max of
|
|
/// #xs an #ys will be used as the ranges. Otherwise, outlier values outside of range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram2D(
|
|
ImString labelId,
|
|
Ptr<byte> xs,
|
|
Ptr<byte> ys,
|
|
int count,
|
|
int xBins = -2,
|
|
int yBins = -2,
|
|
ImPlotRect range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram2D_byte(
|
|
labelId_fixed,
|
|
(byte*)xs,
|
|
(byte*)ys,
|
|
count,
|
|
xBins,
|
|
yBins,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L910">implot.h:910</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2629">implot_items.cpp:2629</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram2D(const char* label_id, const T* xs, const T* ys, int count, int x_bins=ImPlotBin_Sturges, int y_bins=ImPlotBin_Sturges, ImPlotRect range=ImPlotRect(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots two dimensional, bivariate histogram as a heatmap. #x_bins and #y_bins can be a positive integer or an ImPlotBin. If #range is left unspecified, the min/max of
|
|
/// #xs an #ys will be used as the ranges. Otherwise, outlier values outside of range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram2D(
|
|
ImString labelId,
|
|
ReadOnlySpan<byte> xs,
|
|
ReadOnlySpan<byte> ys,
|
|
int xBins = -2,
|
|
int yBins = -2,
|
|
ImPlotRect range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* ys_fixed = ys)
|
|
{
|
|
fixed (byte* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram2D_byte(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
xBins,
|
|
yBins,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L910">implot.h:910</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2629">implot_items.cpp:2629</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram2D(const char* label_id, const T* xs, const T* ys, int count, int x_bins=ImPlotBin_Sturges, int y_bins=ImPlotBin_Sturges, ImPlotRect range=ImPlotRect(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots two dimensional, bivariate histogram as a heatmap. #x_bins and #y_bins can be a positive integer or an ImPlotBin. If #range is left unspecified, the min/max of
|
|
/// #xs an #ys will be used as the ranges. Otherwise, outlier values outside of range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram2D(
|
|
ImString labelId,
|
|
Ptr<short> xs,
|
|
Ptr<short> ys,
|
|
int count,
|
|
int xBins = -2,
|
|
int yBins = -2,
|
|
ImPlotRect range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram2D_short(
|
|
labelId_fixed,
|
|
(short*)xs,
|
|
(short*)ys,
|
|
count,
|
|
xBins,
|
|
yBins,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L910">implot.h:910</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2629">implot_items.cpp:2629</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram2D(const char* label_id, const T* xs, const T* ys, int count, int x_bins=ImPlotBin_Sturges, int y_bins=ImPlotBin_Sturges, ImPlotRect range=ImPlotRect(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots two dimensional, bivariate histogram as a heatmap. #x_bins and #y_bins can be a positive integer or an ImPlotBin. If #range is left unspecified, the min/max of
|
|
/// #xs an #ys will be used as the ranges. Otherwise, outlier values outside of range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram2D(
|
|
ImString labelId,
|
|
ReadOnlySpan<short> xs,
|
|
ReadOnlySpan<short> ys,
|
|
int xBins = -2,
|
|
int yBins = -2,
|
|
ImPlotRect range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (short* ys_fixed = ys)
|
|
{
|
|
fixed (short* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram2D_short(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
xBins,
|
|
yBins,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L910">implot.h:910</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2629">implot_items.cpp:2629</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram2D(const char* label_id, const T* xs, const T* ys, int count, int x_bins=ImPlotBin_Sturges, int y_bins=ImPlotBin_Sturges, ImPlotRect range=ImPlotRect(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots two dimensional, bivariate histogram as a heatmap. #x_bins and #y_bins can be a positive integer or an ImPlotBin. If #range is left unspecified, the min/max of
|
|
/// #xs an #ys will be used as the ranges. Otherwise, outlier values outside of range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram2D(
|
|
ImString labelId,
|
|
Ptr<ushort> xs,
|
|
Ptr<ushort> ys,
|
|
int count,
|
|
int xBins = -2,
|
|
int yBins = -2,
|
|
ImPlotRect range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram2D_ushort(
|
|
labelId_fixed,
|
|
(ushort*)xs,
|
|
(ushort*)ys,
|
|
count,
|
|
xBins,
|
|
yBins,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L910">implot.h:910</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2629">implot_items.cpp:2629</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram2D(const char* label_id, const T* xs, const T* ys, int count, int x_bins=ImPlotBin_Sturges, int y_bins=ImPlotBin_Sturges, ImPlotRect range=ImPlotRect(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots two dimensional, bivariate histogram as a heatmap. #x_bins and #y_bins can be a positive integer or an ImPlotBin. If #range is left unspecified, the min/max of
|
|
/// #xs an #ys will be used as the ranges. Otherwise, outlier values outside of range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram2D(
|
|
ImString labelId,
|
|
ReadOnlySpan<ushort> xs,
|
|
ReadOnlySpan<ushort> ys,
|
|
int xBins = -2,
|
|
int yBins = -2,
|
|
ImPlotRect range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (ushort* ys_fixed = ys)
|
|
{
|
|
fixed (ushort* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram2D_ushort(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
xBins,
|
|
yBins,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L910">implot.h:910</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2629">implot_items.cpp:2629</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram2D(const char* label_id, const T* xs, const T* ys, int count, int x_bins=ImPlotBin_Sturges, int y_bins=ImPlotBin_Sturges, ImPlotRect range=ImPlotRect(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots two dimensional, bivariate histogram as a heatmap. #x_bins and #y_bins can be a positive integer or an ImPlotBin. If #range is left unspecified, the min/max of
|
|
/// #xs an #ys will be used as the ranges. Otherwise, outlier values outside of range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram2D(
|
|
ImString labelId,
|
|
Ptr<int> xs,
|
|
Ptr<int> ys,
|
|
int count,
|
|
int xBins = -2,
|
|
int yBins = -2,
|
|
ImPlotRect range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram2D_int(
|
|
labelId_fixed,
|
|
(int*)xs,
|
|
(int*)ys,
|
|
count,
|
|
xBins,
|
|
yBins,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L910">implot.h:910</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2629">implot_items.cpp:2629</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram2D(const char* label_id, const T* xs, const T* ys, int count, int x_bins=ImPlotBin_Sturges, int y_bins=ImPlotBin_Sturges, ImPlotRect range=ImPlotRect(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots two dimensional, bivariate histogram as a heatmap. #x_bins and #y_bins can be a positive integer or an ImPlotBin. If #range is left unspecified, the min/max of
|
|
/// #xs an #ys will be used as the ranges. Otherwise, outlier values outside of range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram2D(
|
|
ImString labelId,
|
|
ReadOnlySpan<int> xs,
|
|
ReadOnlySpan<int> ys,
|
|
int xBins = -2,
|
|
int yBins = -2,
|
|
ImPlotRect range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (int* ys_fixed = ys)
|
|
{
|
|
fixed (int* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram2D_int(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
xBins,
|
|
yBins,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L910">implot.h:910</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2629">implot_items.cpp:2629</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram2D(const char* label_id, const T* xs, const T* ys, int count, int x_bins=ImPlotBin_Sturges, int y_bins=ImPlotBin_Sturges, ImPlotRect range=ImPlotRect(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots two dimensional, bivariate histogram as a heatmap. #x_bins and #y_bins can be a positive integer or an ImPlotBin. If #range is left unspecified, the min/max of
|
|
/// #xs an #ys will be used as the ranges. Otherwise, outlier values outside of range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram2D(
|
|
ImString labelId,
|
|
Ptr<uint> xs,
|
|
Ptr<uint> ys,
|
|
int count,
|
|
int xBins = -2,
|
|
int yBins = -2,
|
|
ImPlotRect range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram2D_uint(
|
|
labelId_fixed,
|
|
(uint*)xs,
|
|
(uint*)ys,
|
|
count,
|
|
xBins,
|
|
yBins,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L910">implot.h:910</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2629">implot_items.cpp:2629</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram2D(const char* label_id, const T* xs, const T* ys, int count, int x_bins=ImPlotBin_Sturges, int y_bins=ImPlotBin_Sturges, ImPlotRect range=ImPlotRect(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots two dimensional, bivariate histogram as a heatmap. #x_bins and #y_bins can be a positive integer or an ImPlotBin. If #range is left unspecified, the min/max of
|
|
/// #xs an #ys will be used as the ranges. Otherwise, outlier values outside of range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram2D(
|
|
ImString labelId,
|
|
ReadOnlySpan<uint> xs,
|
|
ReadOnlySpan<uint> ys,
|
|
int xBins = -2,
|
|
int yBins = -2,
|
|
ImPlotRect range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (uint* ys_fixed = ys)
|
|
{
|
|
fixed (uint* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram2D_uint(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
xBins,
|
|
yBins,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L910">implot.h:910</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2629">implot_items.cpp:2629</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram2D(const char* label_id, const T* xs, const T* ys, int count, int x_bins=ImPlotBin_Sturges, int y_bins=ImPlotBin_Sturges, ImPlotRect range=ImPlotRect(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots two dimensional, bivariate histogram as a heatmap. #x_bins and #y_bins can be a positive integer or an ImPlotBin. If #range is left unspecified, the min/max of
|
|
/// #xs an #ys will be used as the ranges. Otherwise, outlier values outside of range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram2D(
|
|
ImString labelId,
|
|
Ptr<long> xs,
|
|
Ptr<long> ys,
|
|
int count,
|
|
int xBins = -2,
|
|
int yBins = -2,
|
|
ImPlotRect range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram2D_long(
|
|
labelId_fixed,
|
|
(long*)xs,
|
|
(long*)ys,
|
|
count,
|
|
xBins,
|
|
yBins,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L910">implot.h:910</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2629">implot_items.cpp:2629</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram2D(const char* label_id, const T* xs, const T* ys, int count, int x_bins=ImPlotBin_Sturges, int y_bins=ImPlotBin_Sturges, ImPlotRect range=ImPlotRect(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots two dimensional, bivariate histogram as a heatmap. #x_bins and #y_bins can be a positive integer or an ImPlotBin. If #range is left unspecified, the min/max of
|
|
/// #xs an #ys will be used as the ranges. Otherwise, outlier values outside of range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram2D(
|
|
ImString labelId,
|
|
ReadOnlySpan<long> xs,
|
|
ReadOnlySpan<long> ys,
|
|
int xBins = -2,
|
|
int yBins = -2,
|
|
ImPlotRect range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (long* ys_fixed = ys)
|
|
{
|
|
fixed (long* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram2D_long(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
xBins,
|
|
yBins,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L910">implot.h:910</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2629">implot_items.cpp:2629</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram2D(const char* label_id, const T* xs, const T* ys, int count, int x_bins=ImPlotBin_Sturges, int y_bins=ImPlotBin_Sturges, ImPlotRect range=ImPlotRect(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots two dimensional, bivariate histogram as a heatmap. #x_bins and #y_bins can be a positive integer or an ImPlotBin. If #range is left unspecified, the min/max of
|
|
/// #xs an #ys will be used as the ranges. Otherwise, outlier values outside of range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram2D(
|
|
ImString labelId,
|
|
Ptr<ulong> xs,
|
|
Ptr<ulong> ys,
|
|
int count,
|
|
int xBins = -2,
|
|
int yBins = -2,
|
|
ImPlotRect range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram2D_ulong(
|
|
labelId_fixed,
|
|
(ulong*)xs,
|
|
(ulong*)ys,
|
|
count,
|
|
xBins,
|
|
yBins,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L910">implot.h:910</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2629">implot_items.cpp:2629</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP double PlotHistogram2D(const char* label_id, const T* xs, const T* ys, int count, int x_bins=ImPlotBin_Sturges, int y_bins=ImPlotBin_Sturges, ImPlotRect range=ImPlotRect(), ImPlotHistogramFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Plots two dimensional, bivariate histogram as a heatmap. #x_bins and #y_bins can be a positive integer or an ImPlotBin. If #range is left unspecified, the min/max of
|
|
/// #xs an #ys will be used as the ranges. Otherwise, outlier values outside of range are not binned. The largest bin count or density is returned.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe double PlotHistogram2D(
|
|
ImString labelId,
|
|
ReadOnlySpan<ulong> xs,
|
|
ReadOnlySpan<ulong> ys,
|
|
int xBins = -2,
|
|
int yBins = -2,
|
|
ImPlotRect range = default,
|
|
ImPlotHistogramFlags flags = default
|
|
)
|
|
{
|
|
fixed (ulong* ys_fixed = ys)
|
|
{
|
|
fixed (ulong* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.PlotHistogram2D_ulong(
|
|
labelId_fixed,
|
|
xs_fixed,
|
|
ys_fixed,
|
|
xs.Length,
|
|
xBins,
|
|
yBins,
|
|
range,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L913">implot.h:913</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2773">implot_items.cpp:2773</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotDigital(const char* label_id, const T* xs, const T* ys, int count, ImPlotDigitalFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots digital data. Digital plots do not respond to y drag or zoom, and are always referenced to the
|
|
/// bottom of the plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotDigital(
|
|
ImString labelId,
|
|
Ptr<float> xs,
|
|
Ptr<float> ys,
|
|
int count,
|
|
ImPlotDigitalFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotDigital_float(labelId_fixed, (float*)xs, (float*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L913">implot.h:913</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2773">implot_items.cpp:2773</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotDigital(const char* label_id, const T* xs, const T* ys, int count, ImPlotDigitalFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots digital data. Digital plots do not respond to y drag or zoom, and are always referenced to the
|
|
/// bottom of the plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotDigital(
|
|
ImString labelId,
|
|
ReadOnlySpan<float> xs,
|
|
ReadOnlySpan<float> ys,
|
|
ImPlotDigitalFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(float)
|
|
)
|
|
{
|
|
fixed (float* ys_fixed = ys)
|
|
{
|
|
fixed (float* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotDigital_float(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L913">implot.h:913</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2773">implot_items.cpp:2773</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotDigital(const char* label_id, const T* xs, const T* ys, int count, ImPlotDigitalFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots digital data. Digital plots do not respond to y drag or zoom, and are always referenced to the
|
|
/// bottom of the plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotDigital(
|
|
ImString labelId,
|
|
Ptr<double> xs,
|
|
Ptr<double> ys,
|
|
int count,
|
|
ImPlotDigitalFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotDigital_double(labelId_fixed, (double*)xs, (double*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L913">implot.h:913</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2773">implot_items.cpp:2773</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotDigital(const char* label_id, const T* xs, const T* ys, int count, ImPlotDigitalFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots digital data. Digital plots do not respond to y drag or zoom, and are always referenced to the
|
|
/// bottom of the plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotDigital(
|
|
ImString labelId,
|
|
ReadOnlySpan<double> xs,
|
|
ReadOnlySpan<double> ys,
|
|
ImPlotDigitalFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(double)
|
|
)
|
|
{
|
|
fixed (double* ys_fixed = ys)
|
|
{
|
|
fixed (double* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotDigital_double(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L913">implot.h:913</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2773">implot_items.cpp:2773</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotDigital(const char* label_id, const T* xs, const T* ys, int count, ImPlotDigitalFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots digital data. Digital plots do not respond to y drag or zoom, and are always referenced to the
|
|
/// bottom of the plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotDigital(
|
|
ImString labelId,
|
|
Ptr<sbyte> xs,
|
|
Ptr<sbyte> ys,
|
|
int count,
|
|
ImPlotDigitalFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotDigital_sbyte(labelId_fixed, (sbyte*)xs, (sbyte*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L913">implot.h:913</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2773">implot_items.cpp:2773</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotDigital(const char* label_id, const T* xs, const T* ys, int count, ImPlotDigitalFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots digital data. Digital plots do not respond to y drag or zoom, and are always referenced to the
|
|
/// bottom of the plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotDigital(
|
|
ImString labelId,
|
|
ReadOnlySpan<sbyte> xs,
|
|
ReadOnlySpan<sbyte> ys,
|
|
ImPlotDigitalFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(sbyte)
|
|
)
|
|
{
|
|
fixed (sbyte* ys_fixed = ys)
|
|
{
|
|
fixed (sbyte* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotDigital_sbyte(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L913">implot.h:913</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2773">implot_items.cpp:2773</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotDigital(const char* label_id, const T* xs, const T* ys, int count, ImPlotDigitalFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots digital data. Digital plots do not respond to y drag or zoom, and are always referenced to the
|
|
/// bottom of the plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotDigital(
|
|
ImString labelId,
|
|
Ptr<byte> xs,
|
|
Ptr<byte> ys,
|
|
int count,
|
|
ImPlotDigitalFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotDigital_byte(labelId_fixed, (byte*)xs, (byte*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L913">implot.h:913</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2773">implot_items.cpp:2773</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotDigital(const char* label_id, const T* xs, const T* ys, int count, ImPlotDigitalFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots digital data. Digital plots do not respond to y drag or zoom, and are always referenced to the
|
|
/// bottom of the plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotDigital(
|
|
ImString labelId,
|
|
ReadOnlySpan<byte> xs,
|
|
ReadOnlySpan<byte> ys,
|
|
ImPlotDigitalFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(byte)
|
|
)
|
|
{
|
|
fixed (byte* ys_fixed = ys)
|
|
{
|
|
fixed (byte* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotDigital_byte(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L913">implot.h:913</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2773">implot_items.cpp:2773</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotDigital(const char* label_id, const T* xs, const T* ys, int count, ImPlotDigitalFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots digital data. Digital plots do not respond to y drag or zoom, and are always referenced to the
|
|
/// bottom of the plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotDigital(
|
|
ImString labelId,
|
|
Ptr<short> xs,
|
|
Ptr<short> ys,
|
|
int count,
|
|
ImPlotDigitalFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotDigital_short(labelId_fixed, (short*)xs, (short*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L913">implot.h:913</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2773">implot_items.cpp:2773</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotDigital(const char* label_id, const T* xs, const T* ys, int count, ImPlotDigitalFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots digital data. Digital plots do not respond to y drag or zoom, and are always referenced to the
|
|
/// bottom of the plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotDigital(
|
|
ImString labelId,
|
|
ReadOnlySpan<short> xs,
|
|
ReadOnlySpan<short> ys,
|
|
ImPlotDigitalFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(short)
|
|
)
|
|
{
|
|
fixed (short* ys_fixed = ys)
|
|
{
|
|
fixed (short* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotDigital_short(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L913">implot.h:913</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2773">implot_items.cpp:2773</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotDigital(const char* label_id, const T* xs, const T* ys, int count, ImPlotDigitalFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots digital data. Digital plots do not respond to y drag or zoom, and are always referenced to the
|
|
/// bottom of the plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotDigital(
|
|
ImString labelId,
|
|
Ptr<ushort> xs,
|
|
Ptr<ushort> ys,
|
|
int count,
|
|
ImPlotDigitalFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotDigital_ushort(labelId_fixed, (ushort*)xs, (ushort*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L913">implot.h:913</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2773">implot_items.cpp:2773</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotDigital(const char* label_id, const T* xs, const T* ys, int count, ImPlotDigitalFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots digital data. Digital plots do not respond to y drag or zoom, and are always referenced to the
|
|
/// bottom of the plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotDigital(
|
|
ImString labelId,
|
|
ReadOnlySpan<ushort> xs,
|
|
ReadOnlySpan<ushort> ys,
|
|
ImPlotDigitalFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ushort)
|
|
)
|
|
{
|
|
fixed (ushort* ys_fixed = ys)
|
|
{
|
|
fixed (ushort* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotDigital_ushort(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L913">implot.h:913</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2773">implot_items.cpp:2773</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotDigital(const char* label_id, const T* xs, const T* ys, int count, ImPlotDigitalFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots digital data. Digital plots do not respond to y drag or zoom, and are always referenced to the
|
|
/// bottom of the plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotDigital(
|
|
ImString labelId,
|
|
Ptr<int> xs,
|
|
Ptr<int> ys,
|
|
int count,
|
|
ImPlotDigitalFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotDigital_int(labelId_fixed, (int*)xs, (int*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L913">implot.h:913</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2773">implot_items.cpp:2773</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotDigital(const char* label_id, const T* xs, const T* ys, int count, ImPlotDigitalFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots digital data. Digital plots do not respond to y drag or zoom, and are always referenced to the
|
|
/// bottom of the plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotDigital(
|
|
ImString labelId,
|
|
ReadOnlySpan<int> xs,
|
|
ReadOnlySpan<int> ys,
|
|
ImPlotDigitalFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(int)
|
|
)
|
|
{
|
|
fixed (int* ys_fixed = ys)
|
|
{
|
|
fixed (int* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotDigital_int(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L913">implot.h:913</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2773">implot_items.cpp:2773</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotDigital(const char* label_id, const T* xs, const T* ys, int count, ImPlotDigitalFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots digital data. Digital plots do not respond to y drag or zoom, and are always referenced to the
|
|
/// bottom of the plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotDigital(
|
|
ImString labelId,
|
|
Ptr<uint> xs,
|
|
Ptr<uint> ys,
|
|
int count,
|
|
ImPlotDigitalFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotDigital_uint(labelId_fixed, (uint*)xs, (uint*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L913">implot.h:913</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2773">implot_items.cpp:2773</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotDigital(const char* label_id, const T* xs, const T* ys, int count, ImPlotDigitalFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots digital data. Digital plots do not respond to y drag or zoom, and are always referenced to the
|
|
/// bottom of the plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotDigital(
|
|
ImString labelId,
|
|
ReadOnlySpan<uint> xs,
|
|
ReadOnlySpan<uint> ys,
|
|
ImPlotDigitalFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(uint)
|
|
)
|
|
{
|
|
fixed (uint* ys_fixed = ys)
|
|
{
|
|
fixed (uint* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotDigital_uint(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L913">implot.h:913</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2773">implot_items.cpp:2773</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotDigital(const char* label_id, const T* xs, const T* ys, int count, ImPlotDigitalFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots digital data. Digital plots do not respond to y drag or zoom, and are always referenced to the
|
|
/// bottom of the plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotDigital(
|
|
ImString labelId,
|
|
Ptr<long> xs,
|
|
Ptr<long> ys,
|
|
int count,
|
|
ImPlotDigitalFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotDigital_long(labelId_fixed, (long*)xs, (long*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L913">implot.h:913</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2773">implot_items.cpp:2773</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotDigital(const char* label_id, const T* xs, const T* ys, int count, ImPlotDigitalFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots digital data. Digital plots do not respond to y drag or zoom, and are always referenced to the
|
|
/// bottom of the plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotDigital(
|
|
ImString labelId,
|
|
ReadOnlySpan<long> xs,
|
|
ReadOnlySpan<long> ys,
|
|
ImPlotDigitalFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(long)
|
|
)
|
|
{
|
|
fixed (long* ys_fixed = ys)
|
|
{
|
|
fixed (long* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotDigital_long(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L913">implot.h:913</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2773">implot_items.cpp:2773</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotDigital(const char* label_id, const T* xs, const T* ys, int count, ImPlotDigitalFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots digital data. Digital plots do not respond to y drag or zoom, and are always referenced to the
|
|
/// bottom of the plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotDigital(
|
|
ImString labelId,
|
|
Ptr<ulong> xs,
|
|
Ptr<ulong> ys,
|
|
int count,
|
|
ImPlotDigitalFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotDigital_ulong(labelId_fixed, (ulong*)xs, (ulong*)ys, count, flags, offset, stride);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L913">implot.h:913</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2773">implot_items.cpp:2773</see>
|
|
/// <br/>
|
|
/// <c>IMPLOT_TMP void PlotDigital(const char* label_id, const T* xs, const T* ys, int count, ImPlotDigitalFlags flags=0, int offset=0, int stride=sizeof(T))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots digital data. Digital plots do not respond to y drag or zoom, and are always referenced to the
|
|
/// bottom of the plot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotDigital(
|
|
ImString labelId,
|
|
ReadOnlySpan<ulong> xs,
|
|
ReadOnlySpan<ulong> ys,
|
|
ImPlotDigitalFlags flags = default,
|
|
int offset = 0,
|
|
int stride = sizeof(ulong)
|
|
)
|
|
{
|
|
fixed (ulong* ys_fixed = ys)
|
|
{
|
|
fixed (ulong* xs_fixed = xs)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotDigital_ulong(labelId_fixed, xs_fixed, ys_fixed, xs.Length, flags, offset, stride);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L914">implot.h:914</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2782">implot_items.cpp:2782</see>
|
|
/// <br/>
|
|
/// <c>void PlotDigitalG(const char* label_id, ImPlotGetter getter, void* data, int count, ImPlotDigitalFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots digital data. Digital plots do not respond to y drag or zoom, and are always referenced to the
|
|
/// bottom of the plot.
|
|
/// </para>
|
|
/// <para>
|
|
/// custom
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotDigitalG(
|
|
ImString labelId,
|
|
ImPlotGetter getter,
|
|
Ptr data,
|
|
int count,
|
|
ImPlotDigitalFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotDigitalG(labelId_fixed, Marshal.GetFunctionPointerForDelegate(getter), data, count, flags);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L914">implot.h:914</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2782">implot_items.cpp:2782</see>
|
|
/// <br/>
|
|
/// <c>void PlotDigitalG(const char* label_id, ImPlotGetter getter, void* data, int count, ImPlotDigitalFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots digital data. Digital plots do not respond to y drag or zoom, and are always referenced to the
|
|
/// bottom of the plot.
|
|
/// </para>
|
|
/// <para>
|
|
/// custom
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotDigitalG(
|
|
ImString labelId,
|
|
delegate* unmanaged[Cdecl]<int, void*, double2> getter,
|
|
Ptr data,
|
|
int count,
|
|
ImPlotDigitalFlags flags = default
|
|
)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotDigitalG(labelId_fixed, (nint)getter, data, count, flags);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L918">implot.h:918</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2792">implot_items.cpp:2792</see>
|
|
/// <br/>
|
|
/// <c>void PlotImage(const char* label_id, ImTextureRef tex_ref, const ImPlotPoint& bounds_min, const ImPlotPoint& bounds_max, const ImVec2& uv0 = ImVec2(0, 0), const ImVec2& uv1 = ImVec2(1, 1), const ImVec4& tint_col = ImVec4(1, 1, 1, 1), ImPlotImageFlags flags = 0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots an axis-aligned image. #bounds_min/bounds_max are in plot coordinates (y-up) and #uv0/uv1 are in
|
|
/// texture coordinates (y-down).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotImage(
|
|
ImString labelId,
|
|
ImTextureRef texRef,
|
|
in double2 boundsMin,
|
|
in double2 boundsMax,
|
|
in float2? uv0 = default,
|
|
in float2? uv1 = default,
|
|
in float4? tintCol = default,
|
|
ImPlotImageFlags flags = default
|
|
)
|
|
{
|
|
var uv0_default = uv0 ?? new float2(0f, 0f);
|
|
var uv1_default = uv1 ?? new float2(1f, 1f);
|
|
var tintCol_default = tintCol ?? new float4(1f, 1f, 1f, 1f);
|
|
fixed (double2* boundsMax_fixed = &boundsMax)
|
|
{
|
|
fixed (double2* boundsMin_fixed = &boundsMin)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotImage(
|
|
labelId_fixed,
|
|
texRef,
|
|
boundsMin_fixed,
|
|
boundsMax_fixed,
|
|
&uv0_default,
|
|
&uv1_default,
|
|
&tintCol_default,
|
|
flags
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L924">implot.h:924</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2813">implot_items.cpp:2813</see>
|
|
/// <br/>
|
|
/// <c>void PlotText(const char* text, double x, double y, const ImVec2& pix_offset=ImVec2(0,0), ImPlotTextFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a centered text label at point x,y with an optional pixel offset. Text color can be changed with
|
|
/// ImPlot::PushStyleColor(ImPlotCol_InlayText, ...).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotText(
|
|
ImString text,
|
|
double x,
|
|
double y,
|
|
in float2? pixOffset = default,
|
|
ImPlotTextFlags flags = default
|
|
)
|
|
{
|
|
var pixOffset_default = pixOffset ?? new float2(0f, 0f);
|
|
fixed (byte* text_fixed = text)
|
|
{
|
|
PInvoke.PlotText(text_fixed, x, y, &pixOffset_default, flags);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L927">implot.h:927</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L2845">implot_items.cpp:2845</see>
|
|
/// <br/><c>void PlotDummy(const char* label_id, ImPlotDummyFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Plots a dummy item (i.e. adds a legend entry colored by ImPlotCol_Line)
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PlotDummy(ImString labelId, ImPlotDummyFlags flags = default)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
PInvoke.PlotDummy(labelId_fixed, flags);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L940">implot.h:940</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3905">implot.cpp:3905</see><br/>
|
|
/// <c>bool DragPoint(int id, double* x, double* y, const ImVec4& col, float size = 4, ImPlotDragToolFlags flags = 0, bool* out_clicked = nullptr, bool* out_hovered = nullptr, bool* held = nullptr)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Shows a draggable point at x,y. #col defaults to ImGuiCol_Text.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe bool DragPoint(
|
|
int id,
|
|
Ptr<double> x,
|
|
Ptr<double> y,
|
|
in float4 col,
|
|
float size = 4f,
|
|
ImPlotDragToolFlags flags = default,
|
|
Ptr<bool> outClicked = default,
|
|
Ptr<bool> outHovered = default,
|
|
Ptr<bool> held = default
|
|
)
|
|
{
|
|
fixed (float4* col_fixed = &col)
|
|
{
|
|
return PInvoke.DragPoint(
|
|
id,
|
|
(double*)x,
|
|
(double*)y,
|
|
col_fixed,
|
|
size,
|
|
flags,
|
|
(Bool8*)outClicked,
|
|
(Bool8*)outHovered,
|
|
(Bool8*)held
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L942">implot.h:942</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3954">implot.cpp:3954</see><br/>
|
|
/// <c>bool DragLineX(int id, double* x, const ImVec4& col, float thickness = 1, ImPlotDragToolFlags flags = 0, bool* out_clicked = nullptr, bool* out_hovered = nullptr, bool* held = nullptr)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Shows a draggable vertical guide line at an x-value. #col defaults to ImGuiCol_Text.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe bool DragLineX(
|
|
int id,
|
|
Ptr<double> x,
|
|
in float4 col,
|
|
float thickness = 1f,
|
|
ImPlotDragToolFlags flags = default,
|
|
Ptr<bool> outClicked = default,
|
|
Ptr<bool> outHovered = default,
|
|
Ptr<bool> held = default
|
|
)
|
|
{
|
|
fixed (float4* col_fixed = &col)
|
|
{
|
|
return PInvoke.DragLineX(
|
|
id,
|
|
(double*)x,
|
|
col_fixed,
|
|
thickness,
|
|
flags,
|
|
(Bool8*)outClicked,
|
|
(Bool8*)outHovered,
|
|
(Bool8*)held
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L944">implot.h:944</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4009">implot.cpp:4009</see><br/>
|
|
/// <c>bool DragLineY(int id, double* y, const ImVec4& col, float thickness = 1, ImPlotDragToolFlags flags = 0, bool* out_clicked = nullptr, bool* out_hovered = nullptr, bool* held = nullptr)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Shows a draggable horizontal guide line at a y-value. #col defaults to ImGuiCol_Text.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe bool DragLineY(
|
|
int id,
|
|
Ptr<double> y,
|
|
in float4 col,
|
|
float thickness = 1f,
|
|
ImPlotDragToolFlags flags = default,
|
|
Ptr<bool> outClicked = default,
|
|
Ptr<bool> outHovered = default,
|
|
Ptr<bool> held = default
|
|
)
|
|
{
|
|
fixed (float4* col_fixed = &col)
|
|
{
|
|
return PInvoke.DragLineY(
|
|
id,
|
|
(double*)y,
|
|
col_fixed,
|
|
thickness,
|
|
flags,
|
|
(Bool8*)outClicked,
|
|
(Bool8*)outHovered,
|
|
(Bool8*)held
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L946">implot.h:946</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4065">implot.cpp:4065</see><br/>
|
|
/// <c>bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, const ImVec4& col, ImPlotDragToolFlags flags = 0, bool* out_clicked = nullptr, bool* out_hovered = nullptr, bool* held = nullptr)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Shows a draggable and resizeable rectangle.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe bool DragRect(
|
|
int id,
|
|
Ptr<double> x1,
|
|
Ptr<double> y1,
|
|
Ptr<double> x2,
|
|
Ptr<double> y2,
|
|
in float4 col,
|
|
ImPlotDragToolFlags flags = default,
|
|
Ptr<bool> outClicked = default,
|
|
Ptr<bool> outHovered = default,
|
|
Ptr<bool> held = default
|
|
)
|
|
{
|
|
fixed (float4* col_fixed = &col)
|
|
{
|
|
return PInvoke.DragRect(
|
|
id,
|
|
(double*)x1,
|
|
(double*)y1,
|
|
(double*)x2,
|
|
(double*)y2,
|
|
col_fixed,
|
|
flags,
|
|
(Bool8*)outClicked,
|
|
(Bool8*)outHovered,
|
|
(Bool8*)held
|
|
);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L949">implot.h:949</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3807">implot.cpp:3807</see><br/>
|
|
/// <c>void Annotation(double x, double y, const ImVec4& col, const ImVec2& pix_offset, bool clamp, bool round = false)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Shows an annotation callout at a chosen point. Clamping keeps annotations in the plot area. Annotations
|
|
/// are always rendered on top.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void Annotation(
|
|
double x,
|
|
double y,
|
|
in float4 col,
|
|
in float2 pixOffset,
|
|
bool clamp,
|
|
bool round = false
|
|
)
|
|
{
|
|
fixed (float2* pixOffset_fixed = &pixOffset)
|
|
{
|
|
fixed (float4* col_fixed = &col)
|
|
{
|
|
PInvoke.Annotation_0(x, y, col_fixed, pixOffset_fixed, clamp, round);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L950">implot.h:950</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3830">implot.cpp:3830</see><br/>
|
|
/// <c>void Annotation(double x, double y, const ImVec4& col, const ImVec2& pix_offset, bool clamp, const char* fmt, ...) IM_FMTARGS(6)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Shows an annotation callout at a chosen point. Clamping keeps annotations in the plot area. Annotations
|
|
/// are always rendered on top.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void Annotation(
|
|
double x,
|
|
double y,
|
|
in float4 col,
|
|
in float2 pixOffset,
|
|
bool clamp,
|
|
ImString text
|
|
)
|
|
{
|
|
fixed (byte* text_fixed = text)
|
|
{
|
|
fixed (float2* pixOffset_fixed = &pixOffset)
|
|
{
|
|
fixed (float4* col_fixed = &col)
|
|
{
|
|
PInvoke.Annotation_1(x, y, col_fixed, pixOffset_fixed, clamp, text_fixed);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L954">implot.h:954</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3861">implot.cpp:3861</see><br/>
|
|
/// <c>void TagX(double x, const ImVec4& col, bool round = false)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Shows a x-axis tag at the specified coordinate value.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void TagX(double x, in float4 col, bool round = false)
|
|
{
|
|
fixed (float4* col_fixed = &col)
|
|
{
|
|
PInvoke.TagX_0(x, col_fixed, round);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L955">implot.h:955</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3867">implot.cpp:3867</see><br/>
|
|
/// <c>void TagX(double x, const ImVec4& col, const char* fmt, ...) IM_FMTARGS(3)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Shows a x-axis tag at the specified coordinate value.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void TagX(double x, in float4 col, ImString text)
|
|
{
|
|
fixed (byte* text_fixed = text)
|
|
{
|
|
fixed (float4* col_fixed = &col)
|
|
{
|
|
PInvoke.TagX_1(x, col_fixed, text_fixed);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L959">implot.h:959</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3882">implot.cpp:3882</see><br/>
|
|
/// <c>void TagY(double y, const ImVec4& col, bool round = false)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Shows a y-axis tag at the specified coordinate value.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void TagY(double y, in float4 col, bool round = false)
|
|
{
|
|
fixed (float4* col_fixed = &col)
|
|
{
|
|
PInvoke.TagY_0(y, col_fixed, round);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L960">implot.h:960</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3888">implot.cpp:3888</see><br/>
|
|
/// <c>void TagY(double y, const ImVec4& col, const char* fmt, ...) IM_FMTARGS(3)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Shows a y-axis tag at the specified coordinate value.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void TagY(double y, in float4 col, ImString text)
|
|
{
|
|
fixed (byte* text_fixed = text)
|
|
{
|
|
fixed (float4* col_fixed = &col)
|
|
{
|
|
PInvoke.TagY_1(y, col_fixed, text_fixed);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L968">implot.h:968</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3652">implot.cpp:3652</see><br/>
|
|
/// <c>void SetAxis(ImAxis axis)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Select which axis/axes will be used for subsequent plot elements.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetAxis(ImAxis axis) => PInvoke.SetAxis(axis);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L969">implot.h:969</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3664">implot.cpp:3664</see><br/>
|
|
/// <c>void SetAxes(ImAxis x_axis, ImAxis y_axis)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Select which axis/axes will be used for subsequent plot elements.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetAxes(ImAxis xAxis, ImAxis yAxis) => PInvoke.SetAxes(xAxis, yAxis);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L972">implot.h:972</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3688">implot.cpp:3688</see><br/>
|
|
/// <c>ImPlotPoint PixelsToPlot(const ImVec2& pix, ImAxis x_axis = IMPLOT_AUTO, ImAxis y_axis = IMPLOT_AUTO)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Convert pixels to a position in the current plot's coordinate system. Passing IMPLOT_AUTO uses the
|
|
/// current axes.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe double2 PixelsToPlot(
|
|
in float2 pix,
|
|
ImAxis xAxis = (ImAxis)(-1),
|
|
ImAxis yAxis = (ImAxis)(-1)
|
|
)
|
|
{
|
|
fixed (float2* pix_fixed = &pix)
|
|
{
|
|
return PInvoke.PixelsToPlot_0(pix_fixed, xAxis, yAxis);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L973">implot.h:973</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3676">implot.cpp:3676</see><br/>
|
|
/// <c>ImPlotPoint PixelsToPlot(float x, float y, ImAxis x_axis = IMPLOT_AUTO, ImAxis y_axis = IMPLOT_AUTO)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Convert pixels to a position in the current plot's coordinate system. Passing IMPLOT_AUTO uses the
|
|
/// current axes.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe double2 PixelsToPlot(
|
|
float x,
|
|
float y,
|
|
ImAxis xAxis = (ImAxis)(-1),
|
|
ImAxis yAxis = (ImAxis)(-1)
|
|
) => PInvoke.PixelsToPlot_1(x, y, xAxis, yAxis);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L976">implot.h:976</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3704">implot.cpp:3704</see><br/>
|
|
/// <c>ImVec2 PlotToPixels(const ImPlotPoint& plt, ImAxis x_axis = IMPLOT_AUTO, ImAxis y_axis = IMPLOT_AUTO)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Convert a position in the current plot's coordinate system to pixels. Passing IMPLOT_AUTO uses the
|
|
/// current axes.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe float2 PlotToPixels(
|
|
in double2 plt,
|
|
ImAxis xAxis = (ImAxis)(-1),
|
|
ImAxis yAxis = (ImAxis)(-1)
|
|
)
|
|
{
|
|
fixed (double2* plt_fixed = &plt)
|
|
{
|
|
return PInvoke.PlotToPixels_0(plt_fixed, xAxis, yAxis);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L977">implot.h:977</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3692">implot.cpp:3692</see><br/>
|
|
/// <c>ImVec2 PlotToPixels(double x, double y, ImAxis x_axis = IMPLOT_AUTO, ImAxis y_axis = IMPLOT_AUTO)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Convert a position in the current plot's coordinate system to pixels. Passing IMPLOT_AUTO uses the
|
|
/// current axes.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe float2 PlotToPixels(
|
|
double x,
|
|
double y,
|
|
ImAxis xAxis = (ImAxis)(-1),
|
|
ImAxis yAxis = (ImAxis)(-1)
|
|
) => PInvoke.PlotToPixels_1(x, y, xAxis, yAxis);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L980">implot.h:980</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3708">implot.cpp:3708</see><br/>
|
|
/// <c>ImVec2 GetPlotPos()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Get the current Plot position (top-left) in pixels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe float2 GetPlotPos() => PInvoke.GetPlotPos();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L982">implot.h:982</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3715">implot.cpp:3715</see><br/>
|
|
/// <c>ImVec2 GetPlotSize()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Get the curent Plot size in pixels.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe float2 GetPlotSize() => PInvoke.GetPlotSize();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L985">implot.h:985</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3722">implot.cpp:3722</see><br/>
|
|
/// <c>ImPlotPoint GetPlotMousePos(ImAxis x_axis = IMPLOT_AUTO, ImAxis y_axis = IMPLOT_AUTO)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returns the mouse position in x,y coordinates of the current plot. Passing IMPLOT_AUTO uses the current
|
|
/// axes.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe double2 GetPlotMousePos(ImAxis xAxis = (ImAxis)(-1), ImAxis yAxis = (ImAxis)(-1)) =>
|
|
PInvoke.GetPlotMousePos(xAxis, yAxis);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L987">implot.h:987</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3728">implot.cpp:3728</see><br/>
|
|
/// <c>ImPlotRect GetPlotLimits(ImAxis x_axis = IMPLOT_AUTO, ImAxis y_axis = IMPLOT_AUTO)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returns the current plot axis range.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe ImPlotRect GetPlotLimits(ImAxis xAxis = (ImAxis)(-1), ImAxis yAxis = (ImAxis)(-1)) =>
|
|
PInvoke.GetPlotLimits(xAxis, yAxis);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L990">implot.h:990</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3743">implot.cpp:3743</see><br/>
|
|
/// <c>bool IsPlotHovered()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returns true if the plot area in the current plot is hovered.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe bool IsPlotHovered() => PInvoke.IsPlotHovered();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L992">implot.h:992</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3750">implot.cpp:3750</see><br/>
|
|
/// <c>bool IsAxisHovered(ImAxis axis)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returns true if the axis label area in the current plot is hovered.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe bool IsAxisHovered(ImAxis axis) => PInvoke.IsAxisHovered(axis);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L994">implot.h:994</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3757">implot.cpp:3757</see><br/>
|
|
/// <c>bool IsSubplotsHovered()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returns true if the bounding frame of a subplot is hovered.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe bool IsSubplotsHovered() => PInvoke.IsSubplotsHovered();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L997">implot.h:997</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3763">implot.cpp:3763</see><br/>
|
|
/// <c>bool IsPlotSelected()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returns true if the current plot is being box selected.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe bool IsPlotSelected() => PInvoke.IsPlotSelected();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L999">implot.h:999</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3770">implot.cpp:3770</see><br/>
|
|
/// <c>ImPlotRect GetPlotSelection(ImAxis x_axis = IMPLOT_AUTO, ImAxis y_axis = IMPLOT_AUTO)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returns the current plot box selection bounds. Passing IMPLOT_AUTO uses the current axes.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe ImPlotRect GetPlotSelection(ImAxis xAxis = (ImAxis)(-1), ImAxis yAxis = (ImAxis)(-1)) =>
|
|
PInvoke.GetPlotSelection(xAxis, yAxis);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1001">implot.h:1001</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3787">implot.cpp:3787</see><br/>
|
|
/// <c>void CancelPlotSelection()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Cancels a the current plot box selection.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void CancelPlotSelection() => PInvoke.CancelPlotSelection();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1005">implot.h:1005</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3796">implot.cpp:3796</see><br/>
|
|
/// <c>void HideNextItem(bool hidden = true, ImPlotCond cond = ImPlotCond_Once)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Hides or shows the next plot item (i.e. as if it were toggled from the legend).
|
|
/// Use ImPlotCond_Always if you need to forcefully set this every frame.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe void HideNextItem(bool hidden = true, ImPlotCond cond = (ImPlotCond)2) =>
|
|
PInvoke.HideNextItem(hidden, cond);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1014">implot.h:1014</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4353">implot.cpp:4353</see><br/>
|
|
/// <c>bool BeginAlignedPlots(const char* group_id, bool vertical = true)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Align axis padding over multiple plots in a single row or column. #group_id must
|
|
/// be unique. If this function returns true, EndAlignedPlots() must be called.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe bool BeginAlignedPlots(ImString groupId, bool vertical = true)
|
|
{
|
|
fixed (byte* groupId_fixed = groupId)
|
|
{
|
|
return PInvoke.BeginAlignedPlots(groupId_fixed, vertical);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1016">implot.h:1016</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4374">implot.cpp:4374</see><br/>
|
|
/// <c>void EndAlignedPlots()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Only call EndAlignedPlots() if BeginAlignedPlots() returns true!
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void EndAlignedPlots() => PInvoke.EndAlignedPlots();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1023">implot.h:1023</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4225">implot.cpp:4225</see><br/>
|
|
/// <c>bool BeginLegendPopup(const char* label_id, ImGuiMouseButton mouse_button=1)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Begin a popup for a legend entry.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe bool BeginLegendPopup(ImString labelId, ImGuiMouseButton mouseButton = (ImGuiMouseButton)1)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.BeginLegendPopup(labelId_fixed, mouseButton);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1025">implot.h:1025</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4241">implot.cpp:4241</see><br/>
|
|
/// <c>void EndLegendPopup()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// End a popup for a legend entry.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void EndLegendPopup() => PInvoke.EndLegendPopup();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1027">implot.h:1027</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4216">implot.cpp:4216</see><br/>
|
|
/// <c>bool IsLegendEntryHovered(const char* label_id)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returns true if a plot item legend entry is hovered.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe bool IsLegendEntryHovered(ImString labelId)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.IsLegendEntryHovered(labelId_fixed);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1034">implot.h:1034</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4286">implot.cpp:4286</see><br/>
|
|
/// <c>bool BeginDragDropTargetPlot()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Turns the current plot's plotting area into a drag and drop target. Don't forget to call
|
|
/// EndDragDropTarget!
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe bool BeginDragDropTargetPlot() => PInvoke.BeginDragDropTargetPlot();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1036">implot.h:1036</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4293">implot.cpp:4293</see><br/>
|
|
/// <c>bool BeginDragDropTargetAxis(ImAxis axis)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Turns the current plot's X-axis into a drag and drop target. Don't forget to call EndDragDropTarget!
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe bool BeginDragDropTargetAxis(ImAxis axis) => PInvoke.BeginDragDropTargetAxis(axis);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1038">implot.h:1038</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4302">implot.cpp:4302</see><br/>
|
|
/// <c>bool BeginDragDropTargetLegend()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Turns the current plot's legend into a drag and drop target. Don't forget to call EndDragDropTarget!
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe bool BeginDragDropTargetLegend() => PInvoke.BeginDragDropTargetLegend();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1040">implot.h:1040</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4309">implot.cpp:4309</see><br/>
|
|
/// <c>void EndDragDropTarget()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Ends a drag and drop target (currently just an alias for ImGui::EndDragDropTarget).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void EndDragDropTarget() => PInvoke.EndDragDropTarget();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1046">implot.h:1046</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4314">implot.cpp:4314</see><br/>
|
|
/// <c>bool BeginDragDropSourcePlot(ImGuiDragDropFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Turns the current plot's plotting area into a drag and drop source. You must hold Ctrl. Don't forget to
|
|
/// call EndDragDropSource!
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe bool BeginDragDropSourcePlot(ImGuiDragDropFlags flags = default) =>
|
|
PInvoke.BeginDragDropSourcePlot(flags);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1048">implot.h:1048</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4323">implot.cpp:4323</see><br/>
|
|
/// <c>bool BeginDragDropSourceAxis(ImAxis axis, ImGuiDragDropFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Turns the current plot's X-axis into a drag and drop source. You must hold Ctrl. Don't forget to call
|
|
/// EndDragDropSource!
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe bool BeginDragDropSourceAxis(ImAxis axis, ImGuiDragDropFlags flags = default) =>
|
|
PInvoke.BeginDragDropSourceAxis(axis, flags);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1050">implot.h:1050</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4332">implot.cpp:4332</see><br/>
|
|
/// <c>bool BeginDragDropSourceItem(const char* label_id, ImGuiDragDropFlags flags=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Turns an item in the current plot's legend into drag and drop source. Don't forget to call
|
|
/// EndDragDropSource!
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe bool BeginDragDropSourceItem(ImString labelId, ImGuiDragDropFlags flags = default)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.BeginDragDropSourceItem(labelId_fixed, flags);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1052">implot.h:1052</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4344">implot.cpp:4344</see><br/>
|
|
/// <c>void EndDragDropSource()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Ends a drag and drop source (currently just an alias for ImGui::EndDragDropSource).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void EndDragDropSource() => PInvoke.EndDragDropSource();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1088">implot.h:1088</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4388">implot.cpp:4388</see><br/>
|
|
/// <c>ImPlotStyle& GetStyle()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provides access to plot style structure for permanant modifications to colors, sizes, etc.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe ImPlotStylePtr GetStyle() => PInvoke.GetStyle();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1091">implot.h:1091</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L5759">implot.cpp:5759</see><br/>
|
|
/// <c>void StyleColorsAuto(ImPlotStyle* dst = nullptr)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Style plot colors for current ImGui style (default).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void StyleColorsAuto(ImPlotStylePtr dst = default) => PInvoke.StyleColorsAuto(dst);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1093">implot.h:1093</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L5789">implot.cpp:5789</see><br/>
|
|
/// <c>void StyleColorsClassic(ImPlotStyle* dst = nullptr)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Style plot colors for ImGui "Classic".
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void StyleColorsClassic(ImPlotStylePtr dst = default) => PInvoke.StyleColorsClassic(dst);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1095">implot.h:1095</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L5818">implot.cpp:5818</see><br/>
|
|
/// <c>void StyleColorsDark(ImPlotStyle* dst = nullptr)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Style plot colors for ImGui "Dark".
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void StyleColorsDark(ImPlotStylePtr dst = default) => PInvoke.StyleColorsDark(dst);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1097">implot.h:1097</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L5847">implot.cpp:5847</see><br/>
|
|
/// <c>void StyleColorsLight(ImPlotStyle* dst = nullptr)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Style plot colors for ImGui "Light".
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void StyleColorsLight(ImPlotStylePtr dst = default) => PInvoke.StyleColorsLight(dst);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1104">implot.h:1104</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4394">implot.cpp:4394</see><br/>
|
|
/// <c>void PushStyleColor(ImPlotCol idx, ImU32 col)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Temporarily modify a style color. Don't forget to call PopStyleColor!
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PushStyleColor(ImPlotCol idx, ImColor8 col) => PInvoke.PushStyleColor_0(idx, col);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1105">implot.h:1105</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4403">implot.cpp:4403</see><br/>
|
|
/// <c>void PushStyleColor(ImPlotCol idx, const ImVec4& col)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Temporarily modify a style color. Don't forget to call PopStyleColor!
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PushStyleColor(ImPlotCol idx, in float4 col)
|
|
{
|
|
fixed (float4* col_fixed = &col)
|
|
{
|
|
PInvoke.PushStyleColor_1(idx, col_fixed);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1107">implot.h:1107</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4412">implot.cpp:4412</see><br/>
|
|
/// <c>void PopStyleColor(int count = 1)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Undo temporary style color modification(s). Undo multiple pushes at once by increasing count.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PopStyleColor(int count = 1) => PInvoke.PopStyleColor(count);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1110">implot.h:1110</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4424">implot.cpp:4424</see><br/>
|
|
/// <c>void PushStyleVar(ImPlotStyleVar idx, float val)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Temporarily modify a style variable of float type. Don't forget to call PopStyleVar!
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PushStyleVar(ImPlotStyleVar idx, float val) => PInvoke.PushStyleVar_0(idx, val);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1112">implot.h:1112</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4436">implot.cpp:4436</see><br/>
|
|
/// <c>void PushStyleVar(ImPlotStyleVar idx, int val)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Temporarily modify a style variable of int type. Don't forget to call PopStyleVar!
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PushStyleVar(ImPlotStyleVar idx, int val) => PInvoke.PushStyleVar_1(idx, val);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1114">implot.h:1114</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4454">implot.cpp:4454</see><br/>
|
|
/// <c>void PushStyleVar(ImPlotStyleVar idx, const ImVec2& val)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Temporarily modify a style variable of ImVec2 type. Don't forget to call PopStyleVar!
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PushStyleVar(ImPlotStyleVar idx, in float2 val)
|
|
{
|
|
fixed (float2* val_fixed = &val)
|
|
{
|
|
PInvoke.PushStyleVar_2(idx, val_fixed);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1116">implot.h:1116</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4468">implot.cpp:4468</see><br/>
|
|
/// <c>void PopStyleVar(int count = 1)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Undo temporary style variable modification(s). Undo multiple pushes at once by increasing count.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PopStyleVar(int count = 1) => PInvoke.PopStyleVar(count);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1124">implot.h:1124</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L325">implot_items.cpp:325</see>
|
|
/// <br/><c>void SetNextLineStyle(const ImVec4& col = IMPLOT_AUTO_COL, float weight = IMPLOT_AUTO)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Set the line color and weight for the next item only.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetNextLineStyle(in float4? col = default, float weight = -1f)
|
|
{
|
|
var col_default = col ?? new float4(0f, 0f, 0f, -1f);
|
|
PInvoke.SetNextLineStyle(&col_default, weight);
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1126">implot.h:1126</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L331">implot_items.cpp:331</see>
|
|
/// <br/>
|
|
/// <c>void SetNextFillStyle(const ImVec4& col = IMPLOT_AUTO_COL, float alpha_mod = IMPLOT_AUTO)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Set the fill color for the next item only.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetNextFillStyle(in float4? col = default, float alphaMod = -1f)
|
|
{
|
|
var col_default = col ?? new float4(0f, 0f, 0f, -1f);
|
|
PInvoke.SetNextFillStyle(&col_default, alphaMod);
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1128">implot.h:1128</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L337">implot_items.cpp:337</see>
|
|
/// <br/>
|
|
/// <c>void SetNextMarkerStyle(ImPlotMarker marker = IMPLOT_AUTO, float size = IMPLOT_AUTO, const ImVec4& fill = IMPLOT_AUTO_COL, float weight = IMPLOT_AUTO, const ImVec4& outline = IMPLOT_AUTO_COL)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Set the marker style for the next item only.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetNextMarkerStyle(
|
|
ImPlotMarker marker = (ImPlotMarker)(-1),
|
|
float size = -1f,
|
|
in float4? fill = default,
|
|
float weight = -1f,
|
|
in float4? outline = default
|
|
)
|
|
{
|
|
var fill_default = fill ?? new float4(0f, 0f, 0f, -1f);
|
|
var outline_default = outline ?? new float4(0f, 0f, 0f, -1f);
|
|
PInvoke.SetNextMarkerStyle(marker, size, &fill_default, weight, &outline_default);
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1130">implot.h:1130</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L346">implot_items.cpp:346</see>
|
|
/// <br/>
|
|
/// <c>void SetNextErrorBarStyle(const ImVec4& col = IMPLOT_AUTO_COL, float size = IMPLOT_AUTO, float weight = IMPLOT_AUTO)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Set the error bar style for the next item only.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetNextErrorBarStyle(in float4? col = default, float size = -1f, float weight = -1f)
|
|
{
|
|
var col_default = col ?? new float4(0f, 0f, 0f, -1f);
|
|
PInvoke.SetNextErrorBarStyle(&col_default, size, weight);
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1133">implot.h:1133</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L353">implot_items.cpp:353</see>
|
|
/// <br/><c>ImVec4 GetLastItemColor()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Gets the last item primary color (i.e. its legend icon color)
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe float4 GetLastItemColor() => PInvoke.GetLastItemColor();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1136">implot.h:1136</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L218">implot.cpp:218</see><br/>
|
|
/// <c>const char* GetStyleColorName(ImPlotCol idx)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returns the null terminated string name for an ImPlotCol.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe ImString GetStyleColorName(ImPlotCol idx) =>
|
|
Utf8.GetNullTerminatedSpan(PInvoke.GetStyleColorName(idx));
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1138">implot.h:1138</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L245">implot.cpp:245</see><br/>
|
|
/// <c>const char* GetMarkerName(ImPlotMarker idx)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returns the null terminated string name for an ImPlotMarker.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe Ptr<byte> GetMarkerName(ImPlotMarker idx) => PInvoke.GetMarkerName(idx);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1159">implot.h:1159</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4494">implot.cpp:4494</see><br/>
|
|
/// <c>ImPlotColormap AddColormap(const char* name, const ImVec4* cols, int size, bool qual=true)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Add a new colormap. The color data will be copied. The colormap can be used by pushing either the returned index or the
|
|
/// string name with PushColormap. The colormap name must be unique and the size must be greater than 1. You will receive
|
|
/// an assert otherwise! By default colormaps are considered to be qualitative (i.e. discrete). If you want to create a
|
|
/// continuous colormap, set #qual=false. This will treat the colors you provide as keys, and ImPlot will build a linearly
|
|
/// interpolated lookup table. The memory footprint of this table will be exactly ((size-1)*255+1)*4 bytes.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe ImPlotColormap AddColormap(ImString name, ReadOnlySpan<float4> cols, bool qual = true)
|
|
{
|
|
fixed (float4* cols_fixed = cols)
|
|
{
|
|
fixed (byte* name_fixed = name)
|
|
{
|
|
return PInvoke.AddColormap_0(name_fixed, cols_fixed, cols.Length, qual);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1160">implot.h:1160</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4505">implot.cpp:4505</see><br/>
|
|
/// <c>ImPlotColormap AddColormap(const char* name, const ImU32* cols, int size, bool qual=true)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Add a new colormap. The color data will be copied. The colormap can be used by pushing either the returned index or the
|
|
/// string name with PushColormap. The colormap name must be unique and the size must be greater than 1. You will receive
|
|
/// an assert otherwise! By default colormaps are considered to be qualitative (i.e. discrete). If you want to create a
|
|
/// continuous colormap, set #qual=false. This will treat the colors you provide as keys, and ImPlot will build a linearly
|
|
/// interpolated lookup table. The memory footprint of this table will be exactly ((size-1)*255+1)*4 bytes.
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe ImPlotColormap AddColormap(ImString name, ReadOnlySpan<uint> cols, bool qual = true)
|
|
{
|
|
fixed (uint* cols_fixed = cols)
|
|
{
|
|
fixed (byte* name_fixed = name)
|
|
{
|
|
return PInvoke.AddColormap_1(name_fixed, cols_fixed, cols.Length, qual);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1163">implot.h:1163</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4512">implot.cpp:4512</see><br/>
|
|
/// <c>int GetColormapCount()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returns the number of available colormaps (i.e. the built-in + user-added count).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe int GetColormapCount() => PInvoke.GetColormapCount();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1165">implot.h:1165</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4517">implot.cpp:4517</see><br/>
|
|
/// <c>const char* GetColormapName(ImPlotColormap cmap)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returns a null terminated string name for a colormap given an index. Returns nullptr if index is
|
|
/// invalid.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe ImString GetColormapName(ImPlotColormap cmap) =>
|
|
Utf8.GetNullTerminatedSpan(PInvoke.GetColormapName(cmap));
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1167">implot.h:1167</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4522">implot.cpp:4522</see><br/>
|
|
/// <c>ImPlotColormap GetColormapIndex(const char* name)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returns an index number for a colormap given a valid string name. Returns -1 if name is invalid.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe ImPlotColormap GetColormapIndex(ImString name)
|
|
{
|
|
fixed (byte* name_fixed = name)
|
|
{
|
|
return PInvoke.GetColormapIndex(name_fixed);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1170">implot.h:1170</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4527">implot.cpp:4527</see><br/>
|
|
/// <c>void PushColormap(ImPlotColormap cmap)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Temporarily switch to one of the built-in (i.e. ImPlotColormap_XXX) or user-added colormaps (i.e. a
|
|
/// return value of AddColormap). Don't forget to call PopColormap!
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PushColormap(ImPlotColormap cmap) => PInvoke.PushColormap_0(cmap);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1172">implot.h:1172</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4534">implot.cpp:4534</see><br/>
|
|
/// <c>void PushColormap(const char* name)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Push a colormap by string name. Use built-in names such as "Default", "Deep", "Jet", etc. or a string
|
|
/// you provided to AddColormap. Don't forget to call PopColormap!
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PushColormap(ImString name)
|
|
{
|
|
fixed (byte* name_fixed = name)
|
|
{
|
|
PInvoke.PushColormap_1(name_fixed);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1174">implot.h:1174</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4541">implot.cpp:4541</see><br/>
|
|
/// <c>void PopColormap(int count = 1)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Undo temporary colormap modification(s). Undo multiple pushes at once by increasing count.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PopColormap(int count = 1) => PInvoke.PopColormap(count);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1178">implot.h:1178</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4561">implot.cpp:4561</see><br/>
|
|
/// <c>ImVec4 NextColormapColor()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Returns the next color from the current colormap and advances the colormap for the current plot.
|
|
/// Can also be used with no return value to skip colors if desired. You need to call this between Begin/EndPlot!
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe float4 NextColormapColor() => PInvoke.NextColormapColor();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1184">implot.h:1184</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4565">implot.cpp:4565</see><br/>
|
|
/// <c>int GetColormapSize(ImPlotColormap cmap = IMPLOT_AUTO)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returns the size of a colormap.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe int GetColormapSize(ImPlotColormap cmap = (ImPlotColormap)(-1)) =>
|
|
PInvoke.GetColormapSize(cmap);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1186">implot.h:1186</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4580">implot.cpp:4580</see><br/>
|
|
/// <c>ImVec4 GetColormapColor(int idx, ImPlotColormap cmap = IMPLOT_AUTO)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returns a color from a colormap given an index >= 0 (modulo will be performed).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe float4 GetColormapColor(int idx, ImPlotColormap cmap = (ImPlotColormap)(-1)) =>
|
|
PInvoke.GetColormapColor(idx, cmap);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1188">implot.h:1188</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4591">implot.cpp:4591</see><br/>
|
|
/// <c>ImVec4 SampleColormap(float t, ImPlotColormap cmap = IMPLOT_AUTO)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Sample a color from the current colormap given t between 0 and 1.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe float4 SampleColormap(float t, ImPlotColormap cmap = (ImPlotColormap)(-1)) =>
|
|
PInvoke.SampleColormap(t, cmap);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1191">implot.h:1191</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4632">implot.cpp:4632</see><br/>
|
|
/// <c>void ColormapScale(const char* label, double scale_min, double scale_max, const ImVec2& size = ImVec2(0,0), const char* format = "%g", ImPlotColormapScaleFlags flags = 0, ImPlotColormap cmap = IMPLOT_AUTO)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <param name="format">Default value if unset: "%g"</param>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Shows a vertical color scale with linear spaced ticks using the specified color map. Use double hashes
|
|
/// to hide label (e.g. "##NoLabel"). If scale_min > scale_max, the scale to color mapping will be
|
|
/// reversed.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void ColormapScale(
|
|
ImString label,
|
|
double scaleMin,
|
|
double scaleMax,
|
|
in float2? size = default,
|
|
[System.ComponentModel.DefaultValue("%g")] ImString format = default,
|
|
ImPlotColormapScaleFlags flags = default,
|
|
ImPlotColormap cmap = (ImPlotColormap)(-1)
|
|
)
|
|
{
|
|
var size_default = size ?? new float2(0f, 0f);
|
|
if (format.IsUnset)
|
|
{
|
|
format = "%g"u8;
|
|
}
|
|
fixed (byte* format_fixed = format)
|
|
{
|
|
fixed (byte* label_fixed = label)
|
|
{
|
|
PInvoke.ColormapScale(label_fixed, scaleMin, scaleMax, &size_default, format_fixed, flags, cmap);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1193">implot.h:1193</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4721">implot.cpp:4721</see><br/>
|
|
/// <c>bool ColormapSlider(const char* label, float* t, ImVec4* out = nullptr, const char* format = "", ImPlotColormap cmap = IMPLOT_AUTO)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Shows a horizontal slider with a colormap gradient background. Optionally returns the color sampled at t
|
|
/// in [0 1].
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe bool ColormapSlider(
|
|
ImString label,
|
|
Ptr<float> t,
|
|
Ptr<float4> @out = default,
|
|
ImString format = default,
|
|
ImPlotColormap cmap = (ImPlotColormap)(-1)
|
|
)
|
|
{
|
|
fixed (byte* format_fixed = format)
|
|
{
|
|
fixed (byte* label_fixed = label)
|
|
{
|
|
return PInvoke.ColormapSlider(label_fixed, (float*)t, (float4*)@out, format_fixed, cmap);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1195">implot.h:1195</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4755">implot.cpp:4755</see><br/>
|
|
/// <c>bool ColormapButton(const char* label, const ImVec2& size = ImVec2(0,0), ImPlotColormap cmap = IMPLOT_AUTO)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Shows a button with a colormap gradient brackground.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe bool ColormapButton(
|
|
ImString label,
|
|
in float2? size = default,
|
|
ImPlotColormap cmap = (ImPlotColormap)(-1)
|
|
)
|
|
{
|
|
var size_default = size ?? new float2(0f, 0f);
|
|
fixed (byte* label_fixed = label)
|
|
{
|
|
return PInvoke.ColormapButton(label_fixed, &size_default, cmap);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1204">implot.h:1204</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L372">implot_items.cpp:372</see>
|
|
/// <br/><c>void BustColorCache(const char* plot_title_id = nullptr)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// When items in a plot sample their color from a colormap, the color is cached and does not change
|
|
/// unless explicitly overriden. Therefore, if you change the colormap after the item has already been plotted,
|
|
/// item colors will NOT update. If you need item colors to resample the new colormap, then use this
|
|
/// function to bust the cached colors. If #plot_title_id is nullptr, then every item in EVERY existing plot
|
|
/// will be cache busted. Otherwise only the plot specified by #plot_title_id will be busted. For the
|
|
/// latter, this function must be called in the same ImGui ID scope that the plot is in. You should rarely if ever
|
|
/// need this function, but it is available for applications that require runtime colormap swaps (e.g. Heatmaps demo).
|
|
/// </code>
|
|
/// </remarks>
|
|
public static unsafe void BustColorCache(ImString plotTitleId = default)
|
|
{
|
|
fixed (byte* plotTitleId_fixed = plotTitleId)
|
|
{
|
|
PInvoke.BustColorCache(plotTitleId_fixed);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1211">implot.h:1211</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4788">implot.cpp:4788</see><br/>
|
|
/// <c>ImPlotInputMap& GetInputMap()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provides access to input mapping structure for permanant modifications to controls for pan, select, etc.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe ImPlotInputMapPtr GetInputMap() => PInvoke.GetInputMap();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1214">implot.h:1214</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4794">implot.cpp:4794</see><br/>
|
|
/// <c>void MapInputDefault(ImPlotInputMap* dst = nullptr)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Default input mapping: pan = LMB drag, box select = RMB drag, fit = LMB double click, context menu = RMB
|
|
/// click, zoom = scroll.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void MapInputDefault(ImPlotInputMapPtr dst = default) => PInvoke.MapInputDefault(dst);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1216">implot.h:1216</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4810">implot.cpp:4810</see><br/>
|
|
/// <c>void MapInputReverse(ImPlotInputMap* dst = nullptr)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Reverse input mapping: pan = RMB drag, box select = LMB drag, fit = LMB double click, context menu = RMB
|
|
/// click, zoom = scroll.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void MapInputReverse(ImPlotInputMapPtr dst = default) => PInvoke.MapInputReverse(dst);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1223">implot.h:1223</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4830">implot.cpp:4830</see><br/>
|
|
/// <c>void ItemIcon(const ImVec4& col)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Render icons similar to those that appear in legends (nifty for data lists).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void ItemIcon(in float4 col)
|
|
{
|
|
fixed (float4* col_fixed = &col)
|
|
{
|
|
PInvoke.ItemIcon_0(col_fixed);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1224">implot.h:1224</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4834">implot.cpp:4834</see><br/>
|
|
/// <c>void ItemIcon(ImU32 col)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Render icons similar to those that appear in legends (nifty for data lists).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void ItemIcon(ImColor8 col) => PInvoke.ItemIcon_1(col);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1225">implot.h:1225</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4843">implot.cpp:4843</see><br/>
|
|
/// <c>void ColormapIcon(ImPlotColormap cmap)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Render icons similar to those that appear in legends (nifty for data lists).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void ColormapIcon(ImPlotColormap cmap) => PInvoke.ColormapIcon(cmap);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1228">implot.h:1228</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4855">implot.cpp:4855</see><br/>
|
|
/// <c>ImDrawList* GetPlotDrawList()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Get the plot draw list for custom rendering to the current plot area. Call between Begin/EndPlot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe ImDrawListPtr GetPlotDrawList() => PInvoke.GetPlotDrawList();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1230">implot.h:1230</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4859">implot.cpp:4859</see><br/>
|
|
/// <c>void PushPlotClipRect(float expand=0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Push clip rect for rendering to current plot area. The rect can be expanded or contracted by #expand
|
|
/// pixels. Call between Begin/EndPlot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PushPlotClipRect(float expand = 0f) => PInvoke.PushPlotClipRect(expand);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1232">implot.h:1232</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4868">implot.cpp:4868</see><br/>
|
|
/// <c>void PopPlotClipRect()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Pop plot clip rect. Call between Begin/EndPlot.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void PopPlotClipRect() => PInvoke.PopPlotClipRect();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1235">implot.h:1235</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4884">implot.cpp:4884</see><br/>
|
|
/// <c>bool ShowStyleSelector(const char* label)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Shows ImPlot style selector dropdown menu.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe bool ShowStyleSelector(ImString label)
|
|
{
|
|
fixed (byte* label_fixed = label)
|
|
{
|
|
return PInvoke.ShowStyleSelector(label_fixed);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1237">implot.h:1237</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4901">implot.cpp:4901</see><br/>
|
|
/// <c>bool ShowColormapSelector(const char* label)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Shows ImPlot colormap selector dropdown menu.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe bool ShowColormapSelector(ImString label)
|
|
{
|
|
fixed (byte* label_fixed = label)
|
|
{
|
|
return PInvoke.ShowColormapSelector(label_fixed);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1239">implot.h:1239</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4918">implot.cpp:4918</see><br/>
|
|
/// <c>bool ShowInputMapSelector(const char* label)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Shows ImPlot input map selector dropdown menu.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe bool ShowInputMapSelector(ImString label)
|
|
{
|
|
fixed (byte* label_fixed = label)
|
|
{
|
|
return PInvoke.ShowInputMapSelector(label_fixed);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1241">implot.h:1241</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4933">implot.cpp:4933</see><br/>
|
|
/// <c>void ShowStyleEditor(ImPlotStyle* ref = nullptr)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Shows ImPlot style editor block (not a window).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void ShowStyleEditor(ImPlotStylePtr @ref = default) => PInvoke.ShowStyleEditor(@ref);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1243">implot.h:1243</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L5183">implot.cpp:5183</see><br/>
|
|
/// <c>void ShowUserGuide()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Add basic help/info block for end users (not a window).
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void ShowUserGuide() => PInvoke.ShowUserGuide();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1245">implot.h:1245</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L5241">implot.cpp:5241</see><br/>
|
|
/// <c>void ShowMetricsWindow(bool* p_popen = nullptr)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Shows ImPlot metrics/debug information window.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void ShowMetricsWindow(ref bool pPopen)
|
|
{
|
|
fixed (bool* pPopen_fixed = &pPopen)
|
|
{
|
|
PInvoke.ShowMetricsWindow((Bool8*)pPopen_fixed);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1245">implot.h:1245</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L5241">implot.cpp:5241</see><br/>
|
|
/// <c>void ShowMetricsWindow(bool* p_popen = nullptr)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Shows ImPlot metrics/debug information window.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void ShowMetricsWindow() => PInvoke.ShowMetricsWindow(null);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1252">implot.h:1252</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_demo.cpp#L2181">implot_demo.cpp:2181</see>
|
|
/// <br/><c>void ShowDemoWindow(bool* p_open = nullptr)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Shows the ImPlot demo window (add implot_demo.cpp to your sources!)
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void ShowDemoWindow(ref bool pOpen)
|
|
{
|
|
fixed (bool* pOpen_fixed = &pOpen)
|
|
{
|
|
PInvoke.ShowDemoWindow((Bool8*)pOpen_fixed);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1252">implot.h:1252</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_demo.cpp#L2181">implot_demo.cpp:2181</see>
|
|
/// <br/><c>void ShowDemoWindow(bool* p_open = nullptr)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Shows the ImPlot demo window (add implot_demo.cpp to your sources!)
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void ShowDemoWindow() => PInvoke.ShowDemoWindow(null);
|
|
}
|
|
}
|