Crate dear_implot_sys

Crate dear_implot_sys 

Source
Expand description

Low-level FFI bindings for ImPlot with Dear ImGui C++ compatibility

This crate provides raw, unsafe bindings to the ImPlot C++ library, designed to work with dear-imgui-sys (C++ bindgen) rather than imgui-sys (cimgui).

§Features

  • docking: Enable docking and multi-viewport features (default)
  • freetype: Enable FreeType font rasterizer support
  • wasm: Enable WebAssembly compatibility

§Safety

This crate provides raw FFI bindings and is inherently unsafe. Users should prefer the high-level dear-implot crate for safe Rust bindings.

§Usage

This crate is typically not used directly. Instead, use the dear-implot crate which provides safe, idiomatic Rust bindings built on top of these FFI bindings.

Structs§

ImDrawChannel
ImDrawCmd
ImDrawCmdHeader
ImDrawData
ImDrawList
ImDrawListSharedData
ImDrawListSplitter
ImDrawVert
ImFont
ImFontAtlas
ImFontAtlasBuilder
ImFontAtlasRect
ImFontBaked
ImFontConfig
ImFontGlyph
ImFontLoader
ImGuiContext
ImGuiIO
ImGuiStorage
ImGuiStoragePair
ImGuiStyle
ImPlotContext
ImPlotInputMap
ImPlotPoint
ImPlotRange
ImPlotRect
ImPlotStyle
ImTextureData
ImTextureRect
ImTextureRef
ImVec2
ImVec4
ImVector
__BindgenBitfieldUnit
__va_list_tag

Constants§

IMPLOT_AUTO
IMPLOT_VERSION
ImPlotAxisFlags_AutoFit
ImPlotAxisFlags_AuxDefault
ImPlotAxisFlags_Foreground
ImPlotAxisFlags_Invert
ImPlotAxisFlags_Lock
ImPlotAxisFlags_LockMax
ImPlotAxisFlags_LockMin
ImPlotAxisFlags_NoDecorations
ImPlotAxisFlags_NoGridLines
ImPlotAxisFlags_NoHighlight
ImPlotAxisFlags_NoInitialFit
ImPlotAxisFlags_NoLabel
ImPlotAxisFlags_NoMenus
ImPlotAxisFlags_NoSideSwitch
ImPlotAxisFlags_NoTickLabels
ImPlotAxisFlags_NoTickMarks
ImPlotAxisFlags_None
ImPlotAxisFlags_Opposite
ImPlotAxisFlags_PanStretch
ImPlotAxisFlags_RangeFit
ImPlotBarGroupsFlags_Horizontal
ImPlotBarGroupsFlags_None
ImPlotBarGroupsFlags_Stacked
ImPlotBarsFlags_Horizontal
ImPlotBarsFlags_None
ImPlotBin_Rice
ImPlotBin_Scott
ImPlotBin_Sqrt
ImPlotBin_Sturges
ImPlotCol_AxisBg
ImPlotCol_AxisBgActive
ImPlotCol_AxisBgHovered
ImPlotCol_AxisGrid
ImPlotCol_AxisText
ImPlotCol_AxisTick
ImPlotCol_COUNT
ImPlotCol_Crosshairs
ImPlotCol_ErrorBar
ImPlotCol_Fill
ImPlotCol_FrameBg
ImPlotCol_InlayText
ImPlotCol_LegendBg
ImPlotCol_LegendBorder
ImPlotCol_LegendText
ImPlotCol_Line
ImPlotCol_MarkerFill
ImPlotCol_MarkerOutline
ImPlotCol_PlotBg
ImPlotCol_PlotBorder
ImPlotCol_Selection
ImPlotCol_TitleText
ImPlotColormapScaleFlags_Invert
ImPlotColormapScaleFlags_NoLabel
ImPlotColormapScaleFlags_None
ImPlotColormapScaleFlags_Opposite
ImPlotColormap_BrBG
ImPlotColormap_Cool
ImPlotColormap_Dark
ImPlotColormap_Deep
ImPlotColormap_Greys
ImPlotColormap_Hot
ImPlotColormap_Jet
ImPlotColormap_Paired
ImPlotColormap_Pastel
ImPlotColormap_PiYG
ImPlotColormap_Pink
ImPlotColormap_Plasma
ImPlotColormap_RdBu
ImPlotColormap_Spectral
ImPlotColormap_Twilight
ImPlotColormap_Viridis
ImPlotCond_Always
ImPlotCond_None
ImPlotCond_Once
ImPlotDigitalFlags_None
ImPlotDragToolFlags_Delayed
ImPlotDragToolFlags_NoCursors
ImPlotDragToolFlags_NoFit
ImPlotDragToolFlags_NoInputs
ImPlotDragToolFlags_None
ImPlotDummyFlags_None
ImPlotErrorBarsFlags_Horizontal
ImPlotErrorBarsFlags_None
ImPlotFlags_CanvasOnly
ImPlotFlags_Crosshairs
ImPlotFlags_Equal
ImPlotFlags_NoBoxSelect
ImPlotFlags_NoFrame
ImPlotFlags_NoInputs
ImPlotFlags_NoLegend
ImPlotFlags_NoMenus
ImPlotFlags_NoMouseText
ImPlotFlags_NoTitle
ImPlotFlags_None
ImPlotFlags_YAxis2
ImPlotFlags_YAxis3
ImPlotHeatmapFlags_ColMajor
ImPlotHeatmapFlags_None
ImPlotHistogramFlags_ColMajor
ImPlotHistogramFlags_Cumulative
ImPlotHistogramFlags_Density
ImPlotHistogramFlags_Horizontal
ImPlotHistogramFlags_NoOutliers
ImPlotHistogramFlags_None
ImPlotImageFlags_None
ImPlotInfLinesFlags_Horizontal
ImPlotInfLinesFlags_None
ImPlotItemFlags_NoFit
ImPlotItemFlags_NoLegend
ImPlotItemFlags_None
ImPlotLegendFlags_Horizontal
ImPlotLegendFlags_NoButtons
ImPlotLegendFlags_NoHighlightAxis
ImPlotLegendFlags_NoHighlightItem
ImPlotLegendFlags_NoMenus
ImPlotLegendFlags_None
ImPlotLegendFlags_Outside
ImPlotLegendFlags_Sort
ImPlotLineFlags_Loop
ImPlotLineFlags_NoClip
ImPlotLineFlags_None
ImPlotLineFlags_Segments
ImPlotLineFlags_Shaded
ImPlotLineFlags_SkipNaN
ImPlotLocation_Center
ImPlotLocation_East
ImPlotLocation_North
ImPlotLocation_NorthEast
ImPlotLocation_NorthWest
ImPlotLocation_South
ImPlotLocation_SouthEast
ImPlotLocation_SouthWest
ImPlotLocation_West
ImPlotMarker_Asterisk
ImPlotMarker_COUNT
ImPlotMarker_Circle
ImPlotMarker_Cross
ImPlotMarker_Diamond
ImPlotMarker_Down
ImPlotMarker_Left
ImPlotMarker_None
ImPlotMarker_Plus
ImPlotMarker_Right
ImPlotMarker_Square
ImPlotMarker_Up
ImPlotMouseTextFlags_NoAuxAxes
ImPlotMouseTextFlags_NoFormat
ImPlotMouseTextFlags_None
ImPlotMouseTextFlags_ShowAlways
ImPlotPieChartFlags_Exploding
ImPlotPieChartFlags_IgnoreHidden
ImPlotPieChartFlags_None
ImPlotPieChartFlags_Normalize
ImPlotScale_Linear
ImPlotScale_Log10
ImPlotScale_SymLog
ImPlotScale_Time
ImPlotScatterFlags_NoClip
ImPlotScatterFlags_None
ImPlotShadedFlags_None
ImPlotStairsFlags_None
ImPlotStairsFlags_PreStep
ImPlotStairsFlags_Shaded
ImPlotStemsFlags_Horizontal
ImPlotStemsFlags_None
ImPlotStyleVar_AnnotationPadding
ImPlotStyleVar_COUNT
ImPlotStyleVar_DigitalBitGap
ImPlotStyleVar_DigitalBitHeight
ImPlotStyleVar_ErrorBarSize
ImPlotStyleVar_ErrorBarWeight
ImPlotStyleVar_FillAlpha
ImPlotStyleVar_FitPadding
ImPlotStyleVar_LabelPadding
ImPlotStyleVar_LegendInnerPadding
ImPlotStyleVar_LegendPadding
ImPlotStyleVar_LegendSpacing
ImPlotStyleVar_LineWeight
ImPlotStyleVar_MajorGridSize
ImPlotStyleVar_MajorTickLen
ImPlotStyleVar_MajorTickSize
ImPlotStyleVar_Marker
ImPlotStyleVar_MarkerSize
ImPlotStyleVar_MarkerWeight
ImPlotStyleVar_MinorAlpha
ImPlotStyleVar_MinorGridSize
ImPlotStyleVar_MinorTickLen
ImPlotStyleVar_MinorTickSize
ImPlotStyleVar_MousePosPadding
ImPlotStyleVar_PlotBorderSize
ImPlotStyleVar_PlotDefaultSize
ImPlotStyleVar_PlotMinSize
ImPlotStyleVar_PlotPadding
ImPlotSubplotFlags_ColMajor
ImPlotSubplotFlags_LinkAllX
ImPlotSubplotFlags_LinkAllY
ImPlotSubplotFlags_LinkCols
ImPlotSubplotFlags_LinkRows
ImPlotSubplotFlags_NoAlign
ImPlotSubplotFlags_NoLegend
ImPlotSubplotFlags_NoMenus
ImPlotSubplotFlags_NoResize
ImPlotSubplotFlags_NoTitle
ImPlotSubplotFlags_None
ImPlotSubplotFlags_ShareItems
ImPlotTextFlags_None
ImPlotTextFlags_Vertical
ImTextureFormat_Alpha8
ImTextureFormat_RGBA32
ImTextureStatus_Destroyed
ImTextureStatus_OK
ImTextureStatus_WantCreate
ImTextureStatus_WantDestroy
ImTextureStatus_WantUpdates

Functions§

ImDrawListSplitter_ClearFreeMemory
ImDrawListSplitter_Merge
ImDrawListSplitter_SetCurrentChannel
ImDrawListSplitter_Split
ImDrawList_AddBezierCubic
ImDrawList_AddBezierQuadratic
ImDrawList_AddCallback
ImDrawList_AddCircle
ImDrawList_AddCircleFilled
ImDrawList_AddConcavePolyFilled
ImDrawList_AddConvexPolyFilled
ImDrawList_AddDrawCmd
ImDrawList_AddEllipse
ImDrawList_AddEllipseFilled
ImDrawList_AddImage
ImDrawList_AddImageQuad
ImDrawList_AddImageRounded
ImDrawList_AddLine
ImDrawList_AddNgon
ImDrawList_AddNgonFilled
ImDrawList_AddPolyline
ImDrawList_AddQuad
ImDrawList_AddQuadFilled
ImDrawList_AddRect
ImDrawList_AddRectFilled
ImDrawList_AddRectFilledMultiColor
ImDrawList_AddText
ImDrawList_AddText1
ImDrawList_AddTriangle
ImDrawList_AddTriangleFilled
ImDrawList_CloneOutput
ImDrawList_ImDrawList
ImDrawList_ImDrawList_destructor
ImDrawList_PathArcTo
ImDrawList_PathArcToFast
ImDrawList_PathBezierCubicCurveTo
ImDrawList_PathBezierQuadraticCurveTo
ImDrawList_PathEllipticalArcTo
ImDrawList_PathRect
ImDrawList_PopClipRect
ImDrawList_PopTexture
ImDrawList_PrimQuadUV
ImDrawList_PrimRect
ImDrawList_PrimRectUV
ImDrawList_PrimReserve
ImDrawList_PrimUnreserve
ImDrawList_PushClipRect
ImDrawList_PushClipRectFullScreen
ImDrawList_PushTexture
ImDrawList__CalcCircleAutoSegmentCount
ImDrawList__ClearFreeMemory
ImDrawList__OnChangedClipRect
ImDrawList__OnChangedTexture
ImDrawList__OnChangedVtxOffset
ImDrawList__PathArcToFastEx
ImDrawList__PathArcToN
ImDrawList__PopUnusedDrawCmd
ImDrawList__ResetForNewFrame
ImDrawList__SetDrawListSharedData
ImDrawList__SetTexture
ImDrawList__TryMergeDrawCmds
ImFontAtlas_AddCustomRect
ImFontAtlas_AddFont
ImFontAtlas_AddFontDefault
ImFontAtlas_AddFontFromFileTTF
ImFontAtlas_AddFontFromMemoryCompressedBase85TTF
ImFontAtlas_AddFontFromMemoryCompressedTTF
ImFontAtlas_AddFontFromMemoryTTF
ImFontAtlas_Clear
ImFontAtlas_ClearFonts
ImFontAtlas_ClearInputData
ImFontAtlas_ClearTexData
ImFontAtlas_CompactCache
ImFontAtlas_GetCustomRect
ImFontAtlas_GetGlyphRangesDefault
ImFontAtlas_ImFontAtlas
ImFontAtlas_ImFontAtlas_destructor
ImFontAtlas_RemoveCustomRect
ImFontAtlas_RemoveFont
ImFontAtlas_SetFontLoader
ImFontBaked_ClearOutputData
ImFontBaked_FindGlyph
ImFontBaked_FindGlyphNoFallback
ImFontBaked_GetCharAdvance
ImFontBaked_ImFontBaked
ImFontBaked_IsGlyphLoaded
ImFontConfig_ImFontConfig
ImFont_AddRemapChar
ImFont_CalcTextSizeA
ImFont_CalcWordWrapPosition
ImFont_ClearOutputData
ImFont_GetFontBaked
ImFont_ImFont
ImFont_ImFont_destructor
ImFont_IsGlyphInFont
ImFont_IsGlyphRangeUnused
ImFont_RenderChar
ImFont_RenderText
ImGuiStorage_BuildSortByKey
ImGuiStorage_GetBool
ImGuiStorage_GetBoolRef
ImGuiStorage_GetFloat
ImGuiStorage_GetFloatRef
ImGuiStorage_GetInt
ImGuiStorage_GetIntRef
ImGuiStorage_GetVoidPtr
ImGuiStorage_GetVoidPtrRef
ImGuiStorage_SetAllInt
ImGuiStorage_SetBool
ImGuiStorage_SetFloat
ImGuiStorage_SetInt
ImGuiStorage_SetVoidPtr
ImPlotInputMap_ImPlotInputMap
ImPlotStyle_ImPlotStyle
ImPlot_AddColormap
ImPlot_AddColormap1
ImPlot_Annotation
ImPlot_Annotation1
ImPlot_AnnotationV
ImPlot_BeginAlignedPlots
ImPlot_BeginDragDropSourceAxis
ImPlot_BeginDragDropSourceItem
ImPlot_BeginDragDropSourcePlot
ImPlot_BeginDragDropTargetAxis
ImPlot_BeginDragDropTargetLegend
ImPlot_BeginDragDropTargetPlot
ImPlot_BeginLegendPopup
ImPlot_BeginLegendPopup1
ImPlot_BeginPlot
ImPlot_BeginPlot1
ImPlot_BeginSubplots
ImPlot_BeginSubplots1
ImPlot_BustColorCache
ImPlot_CancelPlotSelection
ImPlot_ColormapButton
ImPlot_ColormapIcon
ImPlot_ColormapScale
ImPlot_ColormapSlider
ImPlot_CreateContext
ImPlot_DestroyContext
ImPlot_DragLineX
ImPlot_DragLineY
ImPlot_DragPoint
ImPlot_DragRect
ImPlot_EndAlignedPlots
ImPlot_EndDragDropSource
ImPlot_EndDragDropTarget
ImPlot_EndLegendPopup
ImPlot_EndLegendPopup1
ImPlot_EndPlot
ImPlot_EndSubplots
ImPlot_EndSubplots1
ImPlot_GetColormapColor
ImPlot_GetColormapCount
ImPlot_GetColormapIndex
ImPlot_GetColormapName
ImPlot_GetColormapSize
ImPlot_GetCurrentContext
ImPlot_GetInputMap
ImPlot_GetLastItemColor
ImPlot_GetMarkerName
ImPlot_GetPlotDrawList
ImPlot_GetPlotLimits
ImPlot_GetPlotMousePos
ImPlot_GetPlotPos
ImPlot_GetPlotSelection
ImPlot_GetPlotSize
ImPlot_GetStyle
ImPlot_GetStyleColorName
ImPlot_HideNextItem
ImPlot_IsAxisHovered
ImPlot_IsLegendEntryHovered
ImPlot_IsPlotHovered
ImPlot_IsPlotSelected
ImPlot_IsSubplotsHovered
ImPlot_ItemIcon
ImPlot_ItemIcon1
ImPlot_MapInputDefault
ImPlot_MapInputReverse
ImPlot_NextColormapColor
ImPlot_PixelsToPlot
ImPlot_PixelsToPlot1
ImPlot_PlotBarGroups_double
ImPlot_PlotBarGroups_float
ImPlot_PlotBarsG
ImPlot_PlotBars_double
ImPlot_PlotDigitalG
ImPlot_PlotDigital_double
ImPlot_PlotDigital_float
ImPlot_PlotDummy
ImPlot_PlotDummy1
ImPlot_PlotErrorBars_double
ImPlot_PlotHeatmap_double
ImPlot_PlotHeatmap_float
ImPlot_PlotHistogram2D_double
ImPlot_PlotHistogram2D_float
ImPlot_PlotHistogram_double
ImPlot_PlotHistogram_float
ImPlot_PlotImage
ImPlot_PlotLineG
ImPlot_PlotLine_double
ImPlot_PlotPieChart_double
ImPlot_PlotPieChart_float
ImPlot_PlotScatterG
ImPlot_PlotScatter_double
ImPlot_PlotShadedG
ImPlot_PlotShaded_double
ImPlot_PlotStairsG
ImPlot_PlotStairs_double
ImPlot_PlotStairs_float
ImPlot_PlotStems_double
ImPlot_PlotText
ImPlot_PlotText1
ImPlot_PlotToPixels
ImPlot_PlotToPixels1
ImPlot_PopColormap
ImPlot_PopPlotClipRect
ImPlot_PopStyleColor
ImPlot_PopStyleVar
ImPlot_PushColormap
ImPlot_PushColormap1
ImPlot_PushPlotClipRect
ImPlot_PushStyleColor
ImPlot_PushStyleColor1
ImPlot_PushStyleVar
ImPlot_PushStyleVar1
ImPlot_PushStyleVar2
ImPlot_SampleColormap
ImPlot_SetAxes
ImPlot_SetAxes1
ImPlot_SetAxis
ImPlot_SetCurrentContext
ImPlot_SetImGuiContext
ImPlot_SetNextAxesLimits
ImPlot_SetNextAxesToFit
ImPlot_SetNextAxisLimits
ImPlot_SetNextAxisLinks
ImPlot_SetNextAxisToFit
ImPlot_SetNextErrorBarStyle
ImPlot_SetNextFillStyle
ImPlot_SetNextLineStyle
ImPlot_SetNextMarkerStyle
ImPlot_SetupAxes
ImPlot_SetupAxesLimits
ImPlot_SetupAxis
ImPlot_SetupAxis1
ImPlot_SetupAxisFormat
ImPlot_SetupAxisFormat1
ImPlot_SetupAxisLimits
ImPlot_SetupAxisLimits1
ImPlot_SetupAxisLimitsConstraints
ImPlot_SetupAxisLinks
ImPlot_SetupAxisScale
ImPlot_SetupAxisScale1
ImPlot_SetupAxisTicks
ImPlot_SetupAxisTicks1
ImPlot_SetupAxisZoomConstraints
ImPlot_SetupFinish
ImPlot_SetupLegend
ImPlot_SetupLegend1
ImPlot_SetupMouseText
ImPlot_ShowColormapSelector
ImPlot_ShowDemoWindow
ImPlot_ShowInputMapSelector
ImPlot_ShowMetricsWindow
ImPlot_ShowStyleEditor
ImPlot_ShowStyleSelector
ImPlot_ShowUserGuide
ImPlot_StyleColorsAuto
ImPlot_StyleColorsClassic
ImPlot_StyleColorsDark
ImPlot_StyleColorsLight
ImPlot_TagX
ImPlot_TagX1
ImPlot_TagXV
ImPlot_TagY
ImPlot_TagY1
ImPlot_TagYV
ImTextureData_Create
ImTextureData_DestroyPixels

Type Aliases§

ImAxis
ImDrawCallback
ImDrawFlags
ImDrawIdx
ImDrawListFlags
ImFontAtlasFlags
ImFontAtlasRectId
ImFontFlags
ImGuiCond
ImGuiDragDropFlags
ImGuiID
ImGuiMouseButton
ImPlotAxisFlags
ImPlotAxisFlags_
ImPlotBarGroupsFlags
ImPlotBarGroupsFlags_
ImPlotBarsFlags
ImPlotBarsFlags_
ImPlotBin
ImPlotBin_
ImPlotCol
ImPlotCol_
ImPlotColormap
ImPlotColormapScaleFlags
ImPlotColormapScaleFlags_
ImPlotColormap_
ImPlotCond
ImPlotCond_
ImPlotDigitalFlags
ImPlotDigitalFlags_
ImPlotDragToolFlags
ImPlotDragToolFlags_
ImPlotDummyFlags
ImPlotDummyFlags_
ImPlotErrorBarsFlags
ImPlotErrorBarsFlags_
ImPlotFlags
ImPlotFlagsObsolete_
ImPlotFlags_
ImPlotFormatter
ImPlotGetter
ImPlotHeatmapFlags
ImPlotHeatmapFlags_
ImPlotHistogramFlags
ImPlotHistogramFlags_
ImPlotImageFlags
ImPlotImageFlags_
ImPlotInfLinesFlags
ImPlotInfLinesFlags_
ImPlotItemFlags
ImPlotItemFlags_
ImPlotLegendFlags
ImPlotLegendFlags_
ImPlotLineFlags
ImPlotLineFlags_
ImPlotLocation
ImPlotLocation_
ImPlotMarker
ImPlotMarker_
ImPlotMouseTextFlags
ImPlotMouseTextFlags_
ImPlotPieChartFlags
ImPlotPieChartFlags_
ImPlotScale
ImPlotScale_
ImPlotScatterFlags
ImPlotScatterFlags_
ImPlotShadedFlags
ImPlotShadedFlags_
ImPlotStairsFlags
ImPlotStairsFlags_
ImPlotStemsFlags
ImPlotStemsFlags_
ImPlotStyleVar
ImPlotStyleVar_
ImPlotSubplotFlags
ImPlotSubplotFlags_
ImPlotTextFlags
ImPlotTextFlags_
ImPlotTransform
ImS8
ImTextureFormat
ImTextureID
ImTextureStatus
ImU8
ImU16
ImU32
ImU64
ImVector_const_iterator
ImVector_iterator
ImVector_value_type
ImWchar
ImWchar32
__builtin_va_list
va_list

Unions§

ImGuiStoragePair__bindgen_ty_1