dear-imgui-raw-implot: Raw FFI bindings to implot (epezent/implot) for dear-imgui-raw.

[ bsd3, gui, library ] [ Propose Tags ] [ Report a vulnerability ]

Generated with dear_bindings from the bundled implot sources, compiled against the Dear ImGui build in dear-imgui-raw.


[Skip to Readme]

Modules

  • DearImGui
    • ImPlot
      • DearImGui.ImPlot.Context
    • Raw
      • DearImGui.Raw.ImPlot
        • DearImGui.Raw.ImPlot.Context
        • Enums
          • DearImGui.Raw.ImPlot.Enums.AxisFlags
          • DearImGui.Raw.ImPlot.Enums.BarGroupsFlags
          • DearImGui.Raw.ImPlot.Enums.BarsFlags
          • DearImGui.Raw.ImPlot.Enums.Bin
          • DearImGui.Raw.ImPlot.Enums.BubblesFlags
          • DearImGui.Raw.ImPlot.Enums.Col
          • DearImGui.Raw.ImPlot.Enums.Colormap
          • DearImGui.Raw.ImPlot.Enums.ColormapScaleFlags
          • DearImGui.Raw.ImPlot.Enums.Cond
          • DearImGui.Raw.ImPlot.Enums.DigitalFlags
          • DearImGui.Raw.ImPlot.Enums.DragToolFlags
          • DearImGui.Raw.ImPlot.Enums.DummyFlags
          • DearImGui.Raw.ImPlot.Enums.ErrorBarsFlags
          • DearImGui.Raw.ImPlot.Enums.Flags
          • DearImGui.Raw.ImPlot.Enums.HeatmapFlags
          • DearImGui.Raw.ImPlot.Enums.HistogramFlags
          • DearImGui.Raw.ImPlot.Enums.ImAxis
          • DearImGui.Raw.ImPlot.Enums.ImageFlags
          • DearImGui.Raw.ImPlot.Enums.InfLinesFlags
          • DearImGui.Raw.ImPlot.Enums.ItemFlags
          • DearImGui.Raw.ImPlot.Enums.LegendFlags
          • DearImGui.Raw.ImPlot.Enums.LineFlags
          • DearImGui.Raw.ImPlot.Enums.Location
          • DearImGui.Raw.ImPlot.Enums.Marker
          • DearImGui.Raw.ImPlot.Enums.MouseTextFlags
          • DearImGui.Raw.ImPlot.Enums.PieChartFlags
          • DearImGui.Raw.ImPlot.Enums.PolygonFlags
          • DearImGui.Raw.ImPlot.Enums.Prop
          • DearImGui.Raw.ImPlot.Enums.Scale
          • DearImGui.Raw.ImPlot.Enums.ScatterFlags
          • DearImGui.Raw.ImPlot.Enums.ShadedFlags
          • DearImGui.Raw.ImPlot.Enums.StairsFlags
          • DearImGui.Raw.ImPlot.Enums.StemsFlags
          • DearImGui.Raw.ImPlot.Enums.StyleVar
          • DearImGui.Raw.ImPlot.Enums.SubplotFlags
          • DearImGui.Raw.ImPlot.Enums.TextFlags
        • DearImGui.Raw.ImPlot.InputMap
        • DearImGui.Raw.ImPlot.Point
        • DearImGui.Raw.ImPlot.Range
        • DearImGui.Raw.ImPlot.Rect
        • DearImGui.Raw.ImPlot.Spec
        • DearImGui.Raw.ImPlot.Style

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0.0
Change log CHANGELOG.md
Dependencies base (>=4.16 && <5), dear-imgui-raw (>=1.0 && <1.1), unliftio-core [details]
License BSD-3-Clause
Author
Maintainer IC Rainbow <aenor.realm@gmail.com>
Uploaded by AlexanderBondarenko at 2026-11-09T23:00:20Z
Category GUI
Distributions
Downloads 2 total (2 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs pending
Build status unknown [no reports yet]

Readme for dear-imgui-raw-implot-1.0.0

[back to package description]

dear-imgui-raw-implot

Raw FFI bindings to implot, GPU-accelerated plotting for Dear ImGui.

{-# LANGUAGE BlockArguments #-}

import DearImGui.Raw.ImPlot qualified as ImPlot
import DearImGui.Raw.ImPlot.Spec qualified as Spec
import Foreign.C.String (withCString)
import Foreign.Marshal.Array (withArrayLen)
import Foreign.Storable (peek)

plotSine :: IO ()
plotSine =
  withCString "sin" \label ->
    withArrayLen [sin (x / 10) | x <- [0 .. 99]] \count values ->
      Spec.withDefault \spec ->
        ImPlot.plotLine_F32 label values (fromIntegral count) 1 0 =<< peek spec