sdl2-1.1.2: Low-level bindings to SDL2

Safe HaskellSafe-Inferred
LanguageHaskell2010

Graphics.UI.SDL.Video

Contents

Synopsis

Display and Window Management

setWindowData :: Window -> CString -> Ptr () -> IO (Ptr ())

2D Accelerated Rendering

Pixel Formats and Conversion Routines

Rectangle Functions

unionRect :: Ptr Rect -> Ptr Rect -> Ptr Rect -> IO ()

Surface Creation and Simple Drawing

convertPixels :: CInt -> CInt -> Word32 -> Ptr () -> CInt -> Word32 -> Ptr () -> CInt -> IO CInt

Platform-specific Window Management

Clipboard Handling