sdl2-image-2.1.0.0: Haskell bindings to SDL2_image
Copyright(c) 2015 Siniša Biđin 2021 Daniel Firth
LicenseMIT
Maintainer[email protected], [email protected]
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

SDL.Raw.Image

Description

Raw bindings to the SDL2_image library. No error-handling is done here. For more information about specific function behaviour, see the SDL2_image documentation.

Synopsis

Loading images

type Free = CInt Source #

Should the Ptr RWops be freed after an operation? 1 for yes, 0 for no.

type Format = CString Source #

A case-insensitive desired format, e.g. "jpg" or "PNG".

Testing for formats

Other

pattern IMG_INIT_JPG :: (Eq a, Num a) => a Source #

pattern IMG_INIT_PNG :: (Eq a, Num a) => a Source #

pattern IMG_INIT_TIF :: (Eq a, Num a) => a Source #

pattern IMG_INIT_WEBP :: (Eq a, Num a) => a Source #

quit :: MonadIO m => m () Source #