| Win32-2.1.1.1: A binding to part of the Win32 library | Source code | Contents | Index
Graphics.Win32.GDI.Types |
Portability | portable
Stability | provisional
Maintainer | Esa Ilari Vuokko <ei@vuokko.info>
Description
A collection of FFI declarations for interfacing with Win32.
Documentation
type POINT = (LONG, LONG) | Source
sizeofPOINT :: Int | Source
allocaPOINT :: (Ptr POINT -> IO a) -> IO a | Source
peekPOINT :: Ptr POINT -> IO POINT | Source
pokePOINT :: Ptr POINT -> POINT -> IO () | 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
peekRECT :: Ptr RECT -> IO RECT | Source
pokeRECT :: Ptr RECT -> RECT -> IO () | Source
type SIZE = (LONG, LONG) | Source
allocaSIZE :: (Ptr SIZE -> IO a) -> IO a | Source
peekSIZE :: Ptr SIZE -> IO SIZE | Source
pokeSIZE :: Ptr SIZE -> SIZE -> IO () | Source
withPOINTArray :: [POINT] -> (Ptr POINT -> Int -> IO a) -> IO a | Source
pokePOINTArray :: Ptr POINT -> [POINT] -> IO () | Source
setPOINT :: Ptr POINT -> Int -> POINT -> IO () | Source
type LPRECT = Ptr RECT | Source
type MbLPRECT = Maybe LPRECT | Source
withRECT :: RECT -> (Ptr RECT -> IO a) -> IO a | Source
getRECT :: LPRECT -> IO RECT | Source
type HBITMAP = HANDLE | Source
type MbHBITMAP = Maybe HBITMAP | Source
type HFONT = HANDLE | Source
type MbHFONT = Maybe HFONT | Source
type HCURSOR = HICON | Source
type MbHCURSOR = Maybe HCURSOR | Source
type HICON = HANDLE | Source
type MbHICON = Maybe HICON | Source
type HRGN = ForeignHANDLE | Source
type PRGN = HANDLE | Source
type MbHRGN = Maybe HRGN | Source
type HPALETTE = HANDLE | Source
type MbHPALETTE = Maybe HPALETTE | Source
type HBRUSH = HANDLE | Source
type MbHBRUSH = Maybe HBRUSH | Source
type HPEN = HANDLE | Source
type MbHPEN = Maybe HPEN | Source
type HACCEL = HANDLE | Source
type HDC = HANDLE | Source
type MbHDC = Maybe HDC | Source
type HDWP = HANDLE | Source
type MbHDWP = Maybe HDWP | Source
type HWND = HANDLE | Source
type MbHWND = Maybe HWND | Source
hWND_BOTTOM :: HWND | Source
hWND_NOTOPMOST :: HWND | Source
hWND_TOP :: HWND | Source
hWND_TOPMOST :: HWND | Source
type HMENU = HANDLE | Source
type MbHMENU = Maybe HMENU | Source
type COLORREF = Word32 | Source
rgb :: BYTE -> BYTE -> BYTE -> COLORREF | Source
getRValue :: COLORREF -> BYTE | Source
getGValue :: COLORREF -> BYTE | Source
getBValue :: COLORREF -> BYTE | Source
pALETTERGB :: BYTE -> BYTE -> BYTE -> COLORREF | Source
pALETTEINDEX :: WORD -> COLORREF | Source
type RasterOp3 = Word32 | Source
type RasterOp4 = Word32 | Source
mAKEROP4 :: RasterOp3 -> RasterOp3 -> RasterOp4 | Source
type PolyFillMode = INT | Source
aLTERNATE :: PolyFillMode | Source
wINDING :: PolyFillMode | Source
type ArcDirection = INT | Source
type MbArcDirection = Maybe ArcDirection | Source
aD_COUNTERCLOCKWISE :: ArcDirection | Source
aD_CLOCKWISE :: ArcDirection | Source
type GraphicsMode = DWORD | Source
type MbGraphicsMode = Maybe GraphicsMode | Source
gM_COMPATIBLE :: GraphicsMode | Source
gM_ADVANCED :: GraphicsMode | Source
type BackgroundMode = INT | Source
tRANSPARENT :: BackgroundMode | Source
oPAQUE :: BackgroundMode | Source
type HatchStyle = INT | Source
hS_HORIZONTAL :: HatchStyle | Source
hS_VERTICAL :: HatchStyle | Source
hS_FDIAGONAL :: HatchStyle | Source
hS_BDIAGONAL :: HatchStyle | Source
hS_CROSS :: HatchStyle | Source
hS_DIAGCROSS :: HatchStyle | Source
type StretchBltMode = INT | Source
bLACKONWHITE :: StretchBltMode | Source
wHITEONBLACK :: StretchBltMode | Source
cOLORONCOLOR :: StretchBltMode | Source
hALFTONE :: StretchBltMode | Source
sTRETCH_ANDSCANS :: StretchBltMode | Source
sTRETCH_ORSCANS :: StretchBltMode | Source
sTRETCH_DELETESCANS :: StretchBltMode | Source
type TextAlignment = UINT | Source
tA_NOUPDATECP :: TextAlignment | Source
tA_UPDATECP :: TextAlignment | Source
tA_LEFT :: TextAlignment | Source
tA_RIGHT :: TextAlignment | Source
tA_CENTER :: TextAlignment | Source
tA_TOP :: TextAlignment | Source
tA_BOTTOM :: TextAlignment | Source
tA_BASELINE :: TextAlignment | Source
type ClippingMode = INT | Source
rGN_AND :: ClippingMode | Source
rGN_OR :: ClippingMode | Source
rGN_XOR :: ClippingMode | Source
rGN_DIFF :: ClippingMode | Source
rGN_COPY :: ClippingMode | Source
type RegionType = INT | Source
eRROR :: RegionType | Source
nULLREGION :: RegionType | Source
sIMPLEREGION :: RegionType | Source
cOMPLEXREGION :: RegionType | Source
gDI_ERROR :: Num a => a | Source
cLR_INVALID :: COLORREF | Source
oBJ_PEN :: UINT | Source
oBJ_BRUSH :: UINT | Source
oBJ_DC :: UINT | Source
oBJ_METADC :: UINT | Source
oBJ_PAL :: UINT | Source
oBJ_FONT :: UINT | Source
oBJ_BITMAP :: UINT | Source
oBJ_REGION :: UINT | Source
oBJ_METAFILE :: UINT | Source
oBJ_MEMDC :: UINT | Source
oBJ_EXTPEN :: UINT | Source
oBJ_ENHMETADC :: UINT | Source
oBJ_ENHMETAFILE :: UINT | Source
prim_ChildWindowFromPoint :: HWND -> Ptr POINT -> IO HWND | Source
prim_ChildWindowFromPointEx :: HWND -> Ptr POINT -> DWORD -> IO HWND | Source
prim_MenuItemFromPoint :: HWND -> HMENU -> Ptr POINT -> IO UINT | Source
Produced by Haddock version 0.8