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

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 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.