dear-imgui-raw-implot-1.0.0: src/DearImGui/Raw/ImPlot/Enums/Bin.hsc
{-# LANGUAGE CApiFFI #-}
{-# LANGUAGE PatternSynonyms #-}
-- This file was generated by dear-bindings-ffi. Do not edit by hand.
module DearImGui.Raw.ImPlot.Enums.Bin
( Bin
, pattern Rice
, pattern Scott
, pattern Sqrt
, pattern Sturges
) where
import Foreign.C.Types
#include "dcimgui_implot.h"
-- typedefs
-- | Enums for different automatic histogram binning methods (k = bin count or w = bin width)
type Bin = CInt
-- enums
-- | k = sqrt(n)
pattern Sqrt :: Bin
pattern Sqrt = #{const ImPlotBin_Sqrt}
-- | k = 1 + log2(n)
pattern Sturges :: Bin
pattern Sturges = #{const ImPlotBin_Sturges}
-- | k = 2 * cbrt(n)
pattern Rice :: Bin
pattern Rice = #{const ImPlotBin_Rice}
-- | w = 3.49 * sigma / cbrt(n)
pattern Scott :: Bin
pattern Scott = #{const ImPlotBin_Scott}