packages feed

dear-imgui-raw-implot-1.0.0: src/DearImGui/Raw/ImPlot/Enums/PolygonFlags.hsc

{-# LANGUAGE CApiFFI #-}
{-# LANGUAGE PatternSynonyms #-}

-- This file was generated by dear-bindings-ffi. Do not edit by hand.

module DearImGui.Raw.ImPlot.Enums.PolygonFlags
  ( PolygonFlags
  , pattern Concave
  , pattern None
  ) where

import Foreign.C.Types

#include "dcimgui_implot.h"

-- typedefs

-- | Flags for PlotPolygon. Used by setting ImPlotSpec::Flags.
type PolygonFlags = CInt

-- enums

-- | default (closed, convex polygon)
pattern None :: PolygonFlags
pattern None = #{const ImPlotPolygonFlags_None}

-- | use concave polygon filling (slower but supports concave shapes)
pattern Concave :: PolygonFlags
pattern Concave = #{const ImPlotPolygonFlags_Concave}