Win32-2.13.3.0: A binding to Windows Win32 API.
Copyright(c) Alastair Reid 1997-2003
LicenseBSD-style (see the file libraries/base/LICENSE)
MaintainerEsa Ilari Vuokko <ei@vuokko.info>
Stabilityprovisional
Portabilityportable
Safe HaskellTrustworthy
LanguageHaskell2010

Graphics.Win32.GDI.Types

Description

A collection of FFI declarations for interfacing with Win32.

Documentation

type POINT = (LONG, LONG) Source #

allocaPOINT :: (Ptr POINT -> IO a) -> IO a Source #

withPOINT :: POINT -> (Ptr POINT -> IO a) -> IO a Source #

type RECT = (LONG, LONG, LONG, LONG) Source #

allocaRECT :: (Ptr RECT -> IO a) -> IO a Source #

type SIZE = (LONG, LONG) Source #

allocaSIZE :: (Ptr SIZE -> IO a) -> IO a Source #

withPOINTArray :: [POINT] -> (Ptr POINT -> Int -> IO a) -> IO a Source #

setPOINT :: Ptr POINT -> Int -> POINT -> IO () Source #

withRECT :: RECT -> (Ptr RECT -> IO a) -> IO a Source #

gDI_ERROR :: Num a => a Source #