//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi
{
///
///
/// C++: implot.h:509
/// struct ImPlotStyle {
///
///
///
///
/// Plot style structure
///
///
[StructLayout(LayoutKind.Explicit, Size = 516)]
public partial struct ImPlotStyle
{
///
///
/// = 1, item line weight in pixels
///
///
/// C++: implot.h:511
/// float LineWeight
///
///
///
///
/// item styling variables
///
///
[FieldOffset(0)]
public float LineWeight;
///
///
/// = ImPlotMarker_None, marker specification
///
///
/// C++: implot.h:512
/// int Marker
///
///
///
///
/// item styling variables
///
///
[FieldOffset(4)]
public int Marker;
///
///
/// = 4, marker size in pixels (roughly the marker's "radius")
///
///
/// C++: implot.h:513
/// float MarkerSize
///
///
///
///
/// item styling variables
///
///
[FieldOffset(8)]
public float MarkerSize;
///
///
/// = 1, outline weight of markers in pixels
///
///
/// C++: implot.h:514
/// float MarkerWeight
///
///
///
///
/// item styling variables
///
///
[FieldOffset(12)]
public float MarkerWeight;
///
///
/// = 1, alpha modifier applied to plot fills
///
///
/// C++: implot.h:515
/// float FillAlpha
///
///
///
///
/// item styling variables
///
///
[FieldOffset(16)]
public float FillAlpha;
///
///
/// = 5, error bar whisker width in pixels
///
///
/// C++: implot.h:516
/// float ErrorBarSize
///
///
///
///
/// item styling variables
///
///
[FieldOffset(20)]
public float ErrorBarSize;
///
///
/// = 1.5, error bar whisker weight in pixels
///
///
/// C++: implot.h:517
/// float ErrorBarWeight
///
///
///
///
/// item styling variables
///
///
[FieldOffset(24)]
public float ErrorBarWeight;
///
///
/// = 8, digital channels bit height (at y = 1.0f) in pixels
///
///
/// C++: implot.h:518
/// float DigitalBitHeight
///
///
///
///
/// item styling variables
///
///
[FieldOffset(28)]
public float DigitalBitHeight;
///
///
/// = 4, digital channels bit padding gap in pixels
///
///
/// C++: implot.h:519
/// float DigitalBitGap
///
///
///
///
/// item styling variables
///
///
[FieldOffset(32)]
public float DigitalBitGap;
///
///
/// = 1, line thickness of border around plot area
///
///
/// C++: implot.h:521
/// float PlotBorderSize
///
///
///
///
/// plot styling variables
///
///
[FieldOffset(36)]
public float PlotBorderSize;
///
///
/// = 0.25 alpha multiplier applied to minor axis grid lines
///
///
/// C++: implot.h:522
/// float MinorAlpha
///
///
///
///
/// plot styling variables
///
///
[FieldOffset(40)]
public float MinorAlpha;
///
///
/// = 10,10 major tick lengths for X and Y axes
///
///
/// C++: implot.h:523
/// ImVec2 MajorTickLen
///
///
///
///
/// plot styling variables
///
///
[FieldOffset(44)]
public float2 MajorTickLen;
///
///
/// = 5,5 minor tick lengths for X and Y axes
///
///
/// C++: implot.h:524
/// ImVec2 MinorTickLen
///
///
///
///
/// plot styling variables
///
///
[FieldOffset(52)]
public float2 MinorTickLen;
///
///
/// = 1,1 line thickness of major ticks
///
///
/// C++: implot.h:525
/// ImVec2 MajorTickSize
///
///
///
///
/// plot styling variables
///
///
[FieldOffset(60)]
public float2 MajorTickSize;
///
///
/// = 1,1 line thickness of minor ticks
///
///
/// C++: implot.h:526
/// ImVec2 MinorTickSize
///
///
///
///
/// plot styling variables
///
///
[FieldOffset(68)]
public float2 MinorTickSize;
///
///
/// = 1,1 line thickness of major grid lines
///
///
/// C++: implot.h:527
/// ImVec2 MajorGridSize
///
///
///
///
/// plot styling variables
///
///
[FieldOffset(76)]
public float2 MajorGridSize;
///
///
/// = 1,1 line thickness of minor grid lines
///
///
/// C++: implot.h:528
/// ImVec2 MinorGridSize
///
///
///
///
/// plot styling variables
///
///
[FieldOffset(84)]
public float2 MinorGridSize;
///
///
/// = 10,10 padding between widget frame and plot area, labels, or outside legends (i.e. main padding)
///
///
/// C++: implot.h:529
/// ImVec2 PlotPadding
///
///
///
///
/// plot styling variables
///
///
[FieldOffset(92)]
public float2 PlotPadding;
///
///
/// = 5,5 padding between axes labels, tick labels, and plot edge
///
///
/// C++: implot.h:530
/// ImVec2 LabelPadding
///
///
///
///
/// plot styling variables
///
///
[FieldOffset(100)]
public float2 LabelPadding;
///
///
/// = 10,10 legend padding from plot edges
///
///
/// C++: implot.h:531
/// ImVec2 LegendPadding
///
///
///
///
/// plot styling variables
///
///
[FieldOffset(108)]
public float2 LegendPadding;
///
///
/// = 5,5 legend inner padding from legend edges
///
///
/// C++: implot.h:532
/// ImVec2 LegendInnerPadding
///
///
///
///
/// plot styling variables
///
///
[FieldOffset(116)]
public float2 LegendInnerPadding;
///
///
/// = 5,0 spacing between legend entries
///
///
/// C++: implot.h:533
/// ImVec2 LegendSpacing
///
///
///
///
/// plot styling variables
///
///
[FieldOffset(124)]
public float2 LegendSpacing;
///
///
/// = 10,10 padding between plot edge and interior mouse location text
///
///
/// C++: implot.h:534
/// ImVec2 MousePosPadding
///
///
///
///
/// plot styling variables
///
///
[FieldOffset(132)]
public float2 MousePosPadding;
///
///
/// = 2,2 text padding around annotation labels
///
///
/// C++: implot.h:535
/// ImVec2 AnnotationPadding
///
///
///
///
/// plot styling variables
///
///
[FieldOffset(140)]
public float2 AnnotationPadding;
///
///
/// = 0,0 additional fit padding as a percentage of the fit extents (e.g. ImVec2(0.1f,0.1f) adds 10% to
/// the fit extents of X and Y)
///
///
/// C++: implot.h:536
/// ImVec2 FitPadding
///
///
///
///
/// plot styling variables
///
///
[FieldOffset(148)]
public float2 FitPadding;
///
///
/// = 400,300 default size used when ImVec2(0,0) is passed to BeginPlot
///
///
/// C++: implot.h:537
/// ImVec2 PlotDefaultSize
///
///
///
///
/// plot styling variables
///
///
[FieldOffset(156)]
public float2 PlotDefaultSize;
///
///
/// = 200,150 minimum size plot frame can be when shrunk
///
///
/// C++: implot.h:538
/// ImVec2 PlotMinSize
///
///
///
///
/// plot styling variables
///
///
[FieldOffset(164)]
public float2 PlotMinSize;
///
///
/// Array of styling colors. Indexable with ImPlotCol_ enums.
///
///
/// C++: implot.h:540
/// ImVec4 Colors[ImPlotCol_COUNT]
///
///
///
///
/// style colors
///
///
[FieldOffset(172)]
public float4_21 Colors;
///
///
/// The current colormap. Set this to either an ImPlotColormap_ enum or an index returned by AddColormap.
///
///
/// C++: implot.h:542
/// ImPlotColormap Colormap
///
///
///
///
/// colormap
///
///
[FieldOffset(508)]
public ImPlotColormap Colormap;
///
///
/// = false, axis labels will be formatted for your timezone when ImPlotAxisFlag_Time is enabled
///
///
/// C++: implot.h:544
/// bool UseLocalTime
///
///
///
///
/// settings/flags
///
///
[FieldOffset(512)]
public Bool8 UseLocalTime;
///
///
/// = false, dates will be formatted according to ISO 8601 where applicable (e.g. YYYY-MM-DD, YYYY-MM,
/// --MM-DD, etc.)
///
///
/// C++: implot.h:545
/// bool UseISO8601
///
///
///
///
/// settings/flags
///
///
[FieldOffset(513)]
public Bool8 UseISO8601;
///
///
/// = false, times will be formatted using a 24 hour clock
///
///
/// C++: implot.h:546
/// bool Use24HourClock
///
///
///
///
/// settings/flags
///
///
[FieldOffset(514)]
public Bool8 Use24HourClock;
}
///
///
/// C++: implot.h:509
/// struct ImPlotStyle {
///
///
///
///
/// Plot style structure
///
///
public unsafe partial struct ImPlotStylePtr(ImPlotStyle* ptr) : INullable
{
private ImPlotStyle* _ptr = ptr;
public ImPlotStyle* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImPlotStylePtr(ImPlotStyle* ptr) => new(ptr);
public static implicit operator ImPlotStyle*(ImPlotStylePtr wrapper) => wrapper.Ptr;
///
///
/// = 1, item line weight in pixels
///
///
/// C++: implot.h:511
/// float LineWeight
///
///
///
///
/// item styling variables
///
///
public ref float LineWeight => ref Unsafe.AsRef(&_ptr->LineWeight);
///
///
/// = ImPlotMarker_None, marker specification
///
///
/// C++: implot.h:512
/// int Marker
///
///
///
///
/// item styling variables
///
///
public ref int Marker => ref Unsafe.AsRef(&_ptr->Marker);
///
///
/// = 4, marker size in pixels (roughly the marker's "radius")
///
///
/// C++: implot.h:513
/// float MarkerSize
///
///
///
///
/// item styling variables
///
///
public ref float MarkerSize => ref Unsafe.AsRef(&_ptr->MarkerSize);
///
///
/// = 1, outline weight of markers in pixels
///
///
/// C++: implot.h:514
/// float MarkerWeight
///
///
///
///
/// item styling variables
///
///
public ref float MarkerWeight => ref Unsafe.AsRef(&_ptr->MarkerWeight);
///
///
/// = 1, alpha modifier applied to plot fills
///
///
/// C++: implot.h:515
/// float FillAlpha
///
///
///
///
/// item styling variables
///
///
public ref float FillAlpha => ref Unsafe.AsRef(&_ptr->FillAlpha);
///
///
/// = 5, error bar whisker width in pixels
///
///
/// C++: implot.h:516
/// float ErrorBarSize
///
///
///
///
/// item styling variables
///
///
public ref float ErrorBarSize => ref Unsafe.AsRef(&_ptr->ErrorBarSize);
///
///
/// = 1.5, error bar whisker weight in pixels
///
///
/// C++: implot.h:517
/// float ErrorBarWeight
///
///
///
///
/// item styling variables
///
///
public ref float ErrorBarWeight => ref Unsafe.AsRef(&_ptr->ErrorBarWeight);
///
///
/// = 8, digital channels bit height (at y = 1.0f) in pixels
///
///
/// C++: implot.h:518
/// float DigitalBitHeight
///
///
///
///
/// item styling variables
///
///
public ref float DigitalBitHeight => ref Unsafe.AsRef(&_ptr->DigitalBitHeight);
///
///
/// = 4, digital channels bit padding gap in pixels
///
///
/// C++: implot.h:519
/// float DigitalBitGap
///
///
///
///
/// item styling variables
///
///
public ref float DigitalBitGap => ref Unsafe.AsRef(&_ptr->DigitalBitGap);
///
///
/// = 1, line thickness of border around plot area
///
///
/// C++: implot.h:521
/// float PlotBorderSize
///
///
///
///
/// plot styling variables
///
///
public ref float PlotBorderSize => ref Unsafe.AsRef(&_ptr->PlotBorderSize);
///
///
/// = 0.25 alpha multiplier applied to minor axis grid lines
///
///
/// C++: implot.h:522
/// float MinorAlpha
///
///
///
///
/// plot styling variables
///
///
public ref float MinorAlpha => ref Unsafe.AsRef(&_ptr->MinorAlpha);
///
///
/// = 10,10 major tick lengths for X and Y axes
///
///
/// C++: implot.h:523
/// ImVec2 MajorTickLen
///
///
///
///
/// plot styling variables
///
///
public ref float2 MajorTickLen => ref Unsafe.AsRef(&_ptr->MajorTickLen);
///
///
/// = 5,5 minor tick lengths for X and Y axes
///
///
/// C++: implot.h:524
/// ImVec2 MinorTickLen
///
///
///
///
/// plot styling variables
///
///
public ref float2 MinorTickLen => ref Unsafe.AsRef(&_ptr->MinorTickLen);
///
///
/// = 1,1 line thickness of major ticks
///
///
/// C++: implot.h:525
/// ImVec2 MajorTickSize
///
///
///
///
/// plot styling variables
///
///
public ref float2 MajorTickSize => ref Unsafe.AsRef(&_ptr->MajorTickSize);
///
///
/// = 1,1 line thickness of minor ticks
///
///
/// C++: implot.h:526
/// ImVec2 MinorTickSize
///
///
///
///
/// plot styling variables
///
///
public ref float2 MinorTickSize => ref Unsafe.AsRef(&_ptr->MinorTickSize);
///
///
/// = 1,1 line thickness of major grid lines
///
///
/// C++: implot.h:527
/// ImVec2 MajorGridSize
///
///
///
///
/// plot styling variables
///
///
public ref float2 MajorGridSize => ref Unsafe.AsRef(&_ptr->MajorGridSize);
///
///
/// = 1,1 line thickness of minor grid lines
///
///
/// C++: implot.h:528
/// ImVec2 MinorGridSize
///
///
///
///
/// plot styling variables
///
///
public ref float2 MinorGridSize => ref Unsafe.AsRef(&_ptr->MinorGridSize);
///
///
/// = 10,10 padding between widget frame and plot area, labels, or outside legends (i.e. main padding)
///
///
/// C++: implot.h:529
/// ImVec2 PlotPadding
///
///
///
///
/// plot styling variables
///
///
public ref float2 PlotPadding => ref Unsafe.AsRef(&_ptr->PlotPadding);
///
///
/// = 5,5 padding between axes labels, tick labels, and plot edge
///
///
/// C++: implot.h:530
/// ImVec2 LabelPadding
///
///
///
///
/// plot styling variables
///
///
public ref float2 LabelPadding => ref Unsafe.AsRef(&_ptr->LabelPadding);
///
///
/// = 10,10 legend padding from plot edges
///
///
/// C++: implot.h:531
/// ImVec2 LegendPadding
///
///
///
///
/// plot styling variables
///
///
public ref float2 LegendPadding => ref Unsafe.AsRef(&_ptr->LegendPadding);
///
///
/// = 5,5 legend inner padding from legend edges
///
///
/// C++: implot.h:532
/// ImVec2 LegendInnerPadding
///
///
///
///
/// plot styling variables
///
///
public ref float2 LegendInnerPadding => ref Unsafe.AsRef(&_ptr->LegendInnerPadding);
///
///
/// = 5,0 spacing between legend entries
///
///
/// C++: implot.h:533
/// ImVec2 LegendSpacing
///
///
///
///
/// plot styling variables
///
///
public ref float2 LegendSpacing => ref Unsafe.AsRef(&_ptr->LegendSpacing);
///
///
/// = 10,10 padding between plot edge and interior mouse location text
///
///
/// C++: implot.h:534
/// ImVec2 MousePosPadding
///
///
///
///
/// plot styling variables
///
///
public ref float2 MousePosPadding => ref Unsafe.AsRef(&_ptr->MousePosPadding);
///
///
/// = 2,2 text padding around annotation labels
///
///
/// C++: implot.h:535
/// ImVec2 AnnotationPadding
///
///
///
///
/// plot styling variables
///
///
public ref float2 AnnotationPadding => ref Unsafe.AsRef(&_ptr->AnnotationPadding);
///
///
/// = 0,0 additional fit padding as a percentage of the fit extents (e.g. ImVec2(0.1f,0.1f) adds 10% to
/// the fit extents of X and Y)
///
///
/// C++: implot.h:536
/// ImVec2 FitPadding
///
///
///
///
/// plot styling variables
///
///
public ref float2 FitPadding => ref Unsafe.AsRef(&_ptr->FitPadding);
///
///
/// = 400,300 default size used when ImVec2(0,0) is passed to BeginPlot
///
///
/// C++: implot.h:537
/// ImVec2 PlotDefaultSize
///
///
///
///
/// plot styling variables
///
///
public ref float2 PlotDefaultSize => ref Unsafe.AsRef(&_ptr->PlotDefaultSize);
///
///
/// = 200,150 minimum size plot frame can be when shrunk
///
///
/// C++: implot.h:538
/// ImVec2 PlotMinSize
///
///
///
///
/// plot styling variables
///
///
public ref float2 PlotMinSize => ref Unsafe.AsRef(&_ptr->PlotMinSize);
///
///
/// Array of styling colors. Indexable with ImPlotCol_ enums.
///
///
/// C++: implot.h:540
/// ImVec4 Colors[ImPlotCol_COUNT]
///
///
///
///
/// style colors
///
///
public ref float4_21 Colors => ref Unsafe.AsRef(&_ptr->Colors);
///
///
/// The current colormap. Set this to either an ImPlotColormap_ enum or an index returned by AddColormap.
///
///
/// C++: implot.h:542
/// ImPlotColormap Colormap
///
///
///
///
/// colormap
///
///
public ref ImPlotColormap Colormap => ref Unsafe.AsRef(&_ptr->Colormap);
///
///
/// = false, axis labels will be formatted for your timezone when ImPlotAxisFlag_Time is enabled
///
///
/// C++: implot.h:544
/// bool UseLocalTime
///
///
///
///
/// settings/flags
///
///
public ref bool UseLocalTime => ref Unsafe.AsRef(&_ptr->UseLocalTime);
///
///
/// = false, dates will be formatted according to ISO 8601 where applicable (e.g. YYYY-MM-DD, YYYY-MM,
/// --MM-DD, etc.)
///
///
/// C++: implot.h:545
/// bool UseISO8601
///
///
///
///
/// settings/flags
///
///
public ref bool UseISO8601 => ref Unsafe.AsRef(&_ptr->UseISO8601);
///
///
/// = false, times will be formatted using a 24 hour clock
///
///
/// C++: implot.h:546
/// bool Use24HourClock
///
///
///
///
/// settings/flags
///
///
public ref bool Use24HourClock => ref Unsafe.AsRef(&_ptr->Use24HourClock);
}
}