dear-imgui-raw-implot-1.0.0: src/DearImGui/Raw/ImPlot/Enums/LineFlags.hsc
{-# LANGUAGE CApiFFI #-}
{-# LANGUAGE PatternSynonyms #-}
-- This file was generated by dear-bindings-ffi. Do not edit by hand.
module DearImGui.Raw.ImPlot.Enums.LineFlags
( LineFlags
, pattern Loop
, pattern NoClip
, pattern None
, pattern Segments
, pattern Shaded
, pattern SkipNaN
) where
import Foreign.C.Types
#include "dcimgui_implot.h"
-- typedefs
-- | Flags for PlotLine. Used by setting ImPlotSpec::Flags.
type LineFlags = CInt
-- enums
-- | default
pattern None :: LineFlags
pattern None = #{const ImPlotLineFlags_None}
-- | a line segment will be rendered from every two consecutive points
pattern Segments :: LineFlags
pattern Segments = #{const ImPlotLineFlags_Segments}
-- | the last and first point will be connected to form a closed loop
pattern Loop :: LineFlags
pattern Loop = #{const ImPlotLineFlags_Loop}
-- | NaNs values will be skipped instead of rendered as missing data
pattern SkipNaN :: LineFlags
pattern SkipNaN = #{const ImPlotLineFlags_SkipNaN}
-- | markers (if displayed) on the edge of a plot will not be clipped
pattern NoClip :: LineFlags
pattern NoClip = #{const ImPlotLineFlags_NoClip}
-- | a filled region between the line and horizontal origin will be rendered; use PlotShaded for more advanced cases
pattern Shaded :: LineFlags
pattern Shaded = #{const ImPlotLineFlags_Shaded}