HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Modulesdl2-gfx-0.3.0.0Haskell2010

SDL.Raw.Primitive

Raw bindings to the SDL2_gfx library, specifically the primitives drawing functionality from SDL2_gfxPrimitives.h.

  • 11 types
  • 27 values
  • Packagesdl2-gfx-0.3.0.0
  • Exports38
  • LanguageHaskell2010
  • LicenceMIT
  • SourcePrimitive.hsc
typetype X = Int16
#

The position of something on the x-axis.

typetype Y = Int16
#

Same as X, but for the y-axis.

typetype R = Word8
#

The red color component.

typetype N = CInt
#

How many of a certain thing, e.g. how many points, or steps.

typetype G = Word8
#

The green color component.

typetype B = Word8
#

The blue color component.

typetype A = Word8
#

The alpha color component.