mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
95 changed files with 784842 additions and 0 deletions
|
|
@ -0,0 +1,31 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1456">implot_internal.h:1456</see>
|
||||
/// , <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L388">implot.cpp:388</see><br/>
|
||||
/// <c>void AddTextCentered(ImDrawList* DrawList, ImVec2 top_center, ImU32 col, const char* text_begin, const char* text_end = nullptr)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Draws multiline horizontal text centered.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial void AddTextCentered_internal(
|
||||
ImDrawList* DrawList,
|
||||
float2 top_center,
|
||||
uint col,
|
||||
byte* text_begin,
|
||||
byte* text_end
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1454">implot_internal.h:1454</see>
|
||||
/// , <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L340">implot.cpp:340</see><br/>
|
||||
/// <c>void AddTextVertical(ImDrawList *DrawList, ImVec2 pos, ImU32 col, const char* text_begin, const char* text_end = nullptr)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Draws vertical text. The position is the bottom left of the text rect.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial void AddTextVertical_internal(
|
||||
ImDrawList* DrawList,
|
||||
float2 pos,
|
||||
uint col,
|
||||
byte* text_begin,
|
||||
byte* text_end
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1587">implot_internal.h:1587</see>
|
||||
/// , <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L993">implot.cpp:993</see><br/>
|
||||
/// <c>ImPlotTime AddTime(const ImPlotTime& t, ImPlotTimeUnit unit, int count)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Adds or subtracts time from a timestamp. #count > 0 to add, < 0 to subtract.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial ImPlotTime AddTime_internal(ImPlotTime* t, ImPlotTimeUnit unit, int count);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1352">implot_internal.h:1352</see>
|
||||
/// <br/><c>static inline bool AllAxesInputLocked(ImPlotAxis* axes, int count)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Returns true if all enabled axes are locked from user input.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial Bool8 AllAxesInputLocked_internal(ImPlotAxis* axes, int count);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1360">implot_internal.h:1360</see>
|
||||
/// <br/><c>static inline bool AnyAxesHeld(ImPlotAxis* axes, int count)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial Bool8 AnyAxesHeld_internal(ImPlotAxis* axes, int count);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1368">implot_internal.h:1368</see>
|
||||
/// <br/><c>static inline bool AnyAxesHovered(ImPlotAxis* axes, int count)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial Bool8 AnyAxesHovered_internal(ImPlotAxis* axes, int count);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1343">implot_internal.h:1343</see>
|
||||
/// <br/><c>static inline bool AnyAxesInputLocked(ImPlotAxis* axes, int count)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Returns true if any enabled axis is locked from user input.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial Bool8 AnyAxesInputLocked_internal(ImPlotAxis* axes, int count);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1312">implot_internal.h:1312</see>
|
||||
/// ,
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L398">implot_items.cpp:398</see>
|
||||
/// <br/>
|
||||
/// <c>bool BeginItem(const char* label_id, ImPlotItemFlags flags=0, ImPlotCol recolor_from=IMPLOT_AUTO)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Begins a new item. Returns false if the item should not be plotted. Pushes PlotClipRect.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// Begins a new item. Returns false if the item should not be plotted.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial Bool8 BeginItem_internal(
|
||||
byte* label_id,
|
||||
ImPlotItemFlags flags,
|
||||
ImPlotCol recolor_from
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1336">implot_internal.h:1336</see>
|
||||
/// ,
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L360">implot_items.cpp:360</see>
|
||||
/// <br/><c>void BustItemCache()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Busts the cache for every item for every plot in the current context.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial void BustItemCache_internal();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1280">implot_internal.h:1280</see>
|
||||
/// , <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L546">implot.cpp:546</see><br/>
|
||||
/// <c>void BustPlotCache()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Busts the cache for every plot in the current context
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial void BustPlotCache_internal();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1466">implot_internal.h:1466</see>
|
||||
/// <br/><c>static inline ImU32 CalcHoverColor(ImU32 col)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Lightens or darkens a color for hover
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial uint CalcHoverColor_internal(uint col);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1418">implot_internal.h:1418</see>
|
||||
/// , <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L576">implot.cpp:576</see><br/>
|
||||
/// <c>ImVec2 CalcLegendSize(ImPlotItemGroup& items, const ImVec2& pad, const ImVec2& spacing, bool vertical)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Calculates the bounding box size of a legend _before_ clipping.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial float2 CalcLegendSize_internal(
|
||||
ImPlotItemGroup* items,
|
||||
float2* pad,
|
||||
float2* spacing,
|
||||
Bool8 vertical
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1463">implot_internal.h:1463</see>
|
||||
/// <br/><c>static inline ImU32 CalcTextColor(const ImVec4& bg)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Returns white or black text given background color
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial uint CalcTextColor_internal_0(float4* bg);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1464">implot_internal.h:1464</see>
|
||||
/// <br/><c>static inline ImU32 CalcTextColor(ImU32 bg)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Returns white or black text given background color
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial uint CalcTextColor_internal_1(uint bg);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1458">implot_internal.h:1458</see>
|
||||
/// <br/><c>static inline ImVec2 CalcTextSizeVertical(const char *text)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Calculates the size of vertical text
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial float2 CalcTextSizeVertical_internal(byte* text);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,229 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1520">implot_internal.h:1520</see>
|
||||
/// <br/><c>template <typename T></c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Calculate histogram bin counts and widths
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial void CalculateBins_internal_float(
|
||||
float* values,
|
||||
int count,
|
||||
ImPlotBin meth,
|
||||
ImPlotRange* range,
|
||||
int* bins_out,
|
||||
double* width_out
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1520">implot_internal.h:1520</see>
|
||||
/// <br/><c>template <typename T></c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Calculate histogram bin counts and widths
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial void CalculateBins_internal_double(
|
||||
double* values,
|
||||
int count,
|
||||
ImPlotBin meth,
|
||||
ImPlotRange* range,
|
||||
int* bins_out,
|
||||
double* width_out
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1520">implot_internal.h:1520</see>
|
||||
/// <br/><c>template <typename T></c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Calculate histogram bin counts and widths
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial void CalculateBins_internal_sbyte(
|
||||
sbyte* values,
|
||||
int count,
|
||||
ImPlotBin meth,
|
||||
ImPlotRange* range,
|
||||
int* bins_out,
|
||||
double* width_out
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1520">implot_internal.h:1520</see>
|
||||
/// <br/><c>template <typename T></c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Calculate histogram bin counts and widths
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial void CalculateBins_internal_byte(
|
||||
byte* values,
|
||||
int count,
|
||||
ImPlotBin meth,
|
||||
ImPlotRange* range,
|
||||
int* bins_out,
|
||||
double* width_out
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1520">implot_internal.h:1520</see>
|
||||
/// <br/><c>template <typename T></c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Calculate histogram bin counts and widths
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial void CalculateBins_internal_short(
|
||||
short* values,
|
||||
int count,
|
||||
ImPlotBin meth,
|
||||
ImPlotRange* range,
|
||||
int* bins_out,
|
||||
double* width_out
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1520">implot_internal.h:1520</see>
|
||||
/// <br/><c>template <typename T></c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Calculate histogram bin counts and widths
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial void CalculateBins_internal_ushort(
|
||||
ushort* values,
|
||||
int count,
|
||||
ImPlotBin meth,
|
||||
ImPlotRange* range,
|
||||
int* bins_out,
|
||||
double* width_out
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1520">implot_internal.h:1520</see>
|
||||
/// <br/><c>template <typename T></c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Calculate histogram bin counts and widths
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial void CalculateBins_internal_int(
|
||||
int* values,
|
||||
int count,
|
||||
ImPlotBin meth,
|
||||
ImPlotRange* range,
|
||||
int* bins_out,
|
||||
double* width_out
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1520">implot_internal.h:1520</see>
|
||||
/// <br/><c>template <typename T></c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Calculate histogram bin counts and widths
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial void CalculateBins_internal_uint(
|
||||
uint* values,
|
||||
int count,
|
||||
ImPlotBin meth,
|
||||
ImPlotRange* range,
|
||||
int* bins_out,
|
||||
double* width_out
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1520">implot_internal.h:1520</see>
|
||||
/// <br/><c>template <typename T></c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Calculate histogram bin counts and widths
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial void CalculateBins_internal_long(
|
||||
long* values,
|
||||
int count,
|
||||
ImPlotBin meth,
|
||||
ImPlotRange* range,
|
||||
int* bins_out,
|
||||
double* width_out
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1520">implot_internal.h:1520</see>
|
||||
/// <br/><c>template <typename T></c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Calculate histogram bin counts and widths
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial void CalculateBins_internal_ulong(
|
||||
ulong* values,
|
||||
int count,
|
||||
ImPlotBin meth,
|
||||
ImPlotRange* range,
|
||||
int* bins_out,
|
||||
double* width_out
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1591">implot_internal.h:1591</see>
|
||||
/// , <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L1042">implot.cpp:1042</see>
|
||||
/// <br/><c>ImPlotTime CeilTime(const ImPlotTime& t, ImPlotTimeUnit unit)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Rounds a timestamp up to the nearest unit.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial ImPlotTime CeilTime_internal(ImPlotTime* t, ImPlotTimeUnit unit);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1469">implot_internal.h:1469</see>
|
||||
/// <br/>
|
||||
/// <c>static inline ImVec2 ClampLabelPos(ImVec2 pos, const ImVec2& size, const ImVec2& Min, const ImVec2& Max)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Clamps a label position so that it fits a rect defined by Min/Max
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial float2 ClampLabelPos_internal(float2 pos, float2* size, float2* Min, float2* Max);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1420">implot_internal.h:1420</see>
|
||||
/// , <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L597">implot.cpp:597</see><br/>
|
||||
/// <c>bool ClampLegendRect(ImRect& legend_rect, const ImRect& outer_rect, const ImVec2& pad)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Clips calculated legend size
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial Bool8 ClampLegendRect_internal(
|
||||
floatRect* legend_rect,
|
||||
floatRect* outer_rect,
|
||||
float2* pad
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1595">implot_internal.h:1595</see>
|
||||
/// , <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L1054">implot.cpp:1054</see>
|
||||
/// <br/><c>ImPlotTime CombineDateTime(const ImPlotTime& date_part, const ImPlotTime& time_part)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Combines the date of one timestamp with the time-of-day of another timestamp.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial ImPlotTime CombineDateTime_internal(ImPlotTime* date_part, ImPlotTime* time_part);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1327">implot_internal.h:1327</see>
|
||||
/// ,
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L479">implot_items.cpp:479</see>
|
||||
/// <br/><c>void EndItem()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Ends an item (call only if BeginItem returns true). Pops PlotClipRect.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// Ends an item (call only if BeginItem returns true)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial void EndItem_internal();
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue