Win32-2.2.0.0: A binding to part of the Win32 librarySource codeContentsIndex
Graphics.Win32.GDI.Types
Portabilityportable
Stabilityprovisional
MaintainerEsa Ilari Vuokko <ei@vuokko.info>
Description
A collection of FFI declarations for interfacing with Win32.
Documentation
type POINT = (LONG, LONG)Source
sizeofPOINT :: IntSource
allocaPOINT :: (Ptr POINT -> IO a) -> IO aSource
peekPOINT :: Ptr POINT -> IO POINTSource
pokePOINT :: Ptr POINT -> POINT -> IO ()Source
withPOINT :: POINT -> (Ptr POINT -> IO a) -> IO aSource
type RECT = (LONG, LONG, LONG, LONG)Source
allocaRECT :: (Ptr RECT -> IO a) -> IO aSource
peekRECT :: Ptr RECT -> IO RECTSource
pokeRECT :: Ptr RECT -> RECT -> IO ()Source
type SIZE = (LONG, LONG)Source
allocaSIZE :: (Ptr SIZE -> IO a) -> IO aSource
peekSIZE :: Ptr SIZE -> IO SIZESource
pokeSIZE :: Ptr SIZE -> SIZE -> IO ()Source
withPOINTArray :: [POINT] -> (Ptr POINT -> Int -> IO a) -> IO aSource
pokePOINTArray :: Ptr POINT -> [POINT] -> IO ()Source
setPOINT :: Ptr POINT -> Int -> POINT -> IO ()Source
type LPRECT = Ptr RECTSource
type MbLPRECT = Maybe LPRECTSource
withRECT :: RECT -> (Ptr RECT -> IO a) -> IO aSource
getRECT :: LPRECT -> IO RECTSource
type HBITMAP = HANDLESource
type MbHBITMAP = Maybe HBITMAPSource
type HFONT = HANDLESource
type MbHFONT = Maybe HFONTSource
type HCURSOR = HICONSource
type MbHCURSOR = Maybe HCURSORSource
type HICON = HANDLESource
type MbHICON = Maybe HICONSource
type HRGN = ForeignHANDLESource
type PRGN = HANDLESource
type MbHRGN = Maybe HRGNSource
type HPALETTE = HANDLESource
type MbHPALETTE = Maybe HPALETTESource
type HBRUSH = HANDLESource
type MbHBRUSH = Maybe HBRUSHSource
type HPEN = HANDLESource
type MbHPEN = Maybe HPENSource
type HACCEL = HANDLESource
type HDC = HANDLESource
type MbHDC = Maybe HDCSource
type HDWP = HANDLESource
type MbHDWP = Maybe HDWPSource
type HWND = HANDLESource
type MbHWND = Maybe HWNDSource
hWND_BOTTOM :: HWNDSource
hWND_NOTOPMOST :: HWNDSource
hWND_TOP :: HWNDSource
hWND_TOPMOST :: HWNDSource
type HMENU = HANDLESource
type MbHMENU = Maybe HMENUSource
type COLORREF = Word32Source
rgb :: BYTE -> BYTE -> BYTE -> COLORREFSource
getRValue :: COLORREF -> BYTESource
getGValue :: COLORREF -> BYTESource
getBValue :: COLORREF -> BYTESource
pALETTERGB :: BYTE -> BYTE -> BYTE -> COLORREFSource
pALETTEINDEX :: WORD -> COLORREFSource
type RasterOp3 = Word32Source
type RasterOp4 = Word32Source
mAKEROP4 :: RasterOp3 -> RasterOp3 -> RasterOp4Source
type PolyFillMode = INTSource
aLTERNATE :: PolyFillModeSource
wINDING :: PolyFillModeSource
type ArcDirection = INTSource
type MbArcDirection = Maybe ArcDirectionSource
aD_COUNTERCLOCKWISE :: ArcDirectionSource
aD_CLOCKWISE :: ArcDirectionSource
type GraphicsMode = DWORDSource
type MbGraphicsMode = Maybe GraphicsModeSource
gM_COMPATIBLE :: GraphicsModeSource
gM_ADVANCED :: GraphicsModeSource
type BackgroundMode = INTSource
tRANSPARENT :: BackgroundModeSource
oPAQUE :: BackgroundModeSource
type HatchStyle = INTSource
hS_HORIZONTAL :: HatchStyleSource
hS_VERTICAL :: HatchStyleSource
hS_FDIAGONAL :: HatchStyleSource
hS_BDIAGONAL :: HatchStyleSource
hS_CROSS :: HatchStyleSource
hS_DIAGCROSS :: HatchStyleSource
type StretchBltMode = INTSource
bLACKONWHITE :: StretchBltModeSource
wHITEONBLACK :: StretchBltModeSource
cOLORONCOLOR :: StretchBltModeSource
hALFTONE :: StretchBltModeSource
sTRETCH_ANDSCANS :: StretchBltModeSource
sTRETCH_ORSCANS :: StretchBltModeSource
type TextAlignment = UINTSource
sTRETCH_DELETESCANS :: StretchBltModeSource
tA_NOUPDATECP :: TextAlignmentSource
tA_UPDATECP :: TextAlignmentSource
tA_LEFT :: TextAlignmentSource
tA_RIGHT :: TextAlignmentSource
tA_CENTER :: TextAlignmentSource
tA_TOP :: TextAlignmentSource
tA_BOTTOM :: TextAlignmentSource
type ClippingMode = INTSource
rGN_AND :: ClippingModeSource
tA_BASELINE :: TextAlignmentSource
rGN_OR :: ClippingModeSource
rGN_XOR :: ClippingModeSource
rGN_DIFF :: ClippingModeSource
rGN_COPY :: ClippingModeSource
type RegionType = INTSource
eRROR :: RegionTypeSource
nULLREGION :: RegionTypeSource
sIMPLEREGION :: RegionTypeSource
cOMPLEXREGION :: RegionTypeSource
gDI_ERROR :: Num a => aSource
cLR_INVALID :: COLORREFSource
oBJ_PEN :: UINTSource
oBJ_BRUSH :: UINTSource
oBJ_DC :: UINTSource
oBJ_METADC :: UINTSource
oBJ_PAL :: UINTSource
oBJ_FONT :: UINTSource
oBJ_BITMAP :: UINTSource
oBJ_REGION :: UINTSource
oBJ_METAFILE :: UINTSource
oBJ_MEMDC :: UINTSource
oBJ_EXTPEN :: UINTSource
oBJ_ENHMETADC :: UINTSource
prim_ChildWindowFromPoint :: HWND -> Ptr POINT -> IO HWNDSource
oBJ_ENHMETAFILE :: UINTSource
prim_ChildWindowFromPointEx :: HWND -> Ptr POINT -> DWORD -> IO HWNDSource
prim_MenuItemFromPoint :: HWND -> HMENU -> Ptr POINT -> IO UINTSource
Produced by Haddock version 2.4.2