HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

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.