Win32-2.1.1.1: A binding to part of the Win32 librarySource codeContentsIndex
Graphics.Win32.GDI.Bitmap
Portabilityportable
Stabilityprovisional
MaintainerEsa Ilari Vuokko <ei@vuokko.info>
Description
A collection of FFI declarations for interfacing with Win32.
Documentation
type RasterOp3 = Word32Source
type RasterOp4 = Word32Source
sRCCOPY :: RasterOp3Source
sRCPAINT :: RasterOp3Source
sRCAND :: RasterOp3Source
sRCINVERT :: RasterOp3Source
sRCERASE :: RasterOp3Source
nOTSRCCOPY :: RasterOp3Source
nOTSRCERASE :: RasterOp3Source
mERGECOPY :: RasterOp3Source
mERGEPAINT :: RasterOp3Source
pATCOPY :: RasterOp3Source
pATPAINT :: RasterOp3Source
pATINVERT :: RasterOp3Source
dSTINVERT :: RasterOp3Source
bLACKNESS :: RasterOp3Source
wHITENESS :: RasterOp3Source
mAKEROP4 :: RasterOp3 -> RasterOp3 -> RasterOp4Source
type BITMAP = (INT, INT, INT, INT, WORD, WORD, LPVOID)Source
type LPBITMAP = Ptr BITMAPSource
setBITMAP :: LPBITMAP -> BITMAP -> IO ()Source
deleteBitmap :: HBITMAP -> IO ()Source
createCompatibleBitmap :: HDC -> Int32 -> Int32 -> IO HBITMAPSource
createBitmap :: INT -> INT -> UINT -> UINT -> Maybe LPVOID -> IO HBITMAPSource
createBitmapIndirect :: LPBITMAP -> IO HBITMAPSource
createDIBPatternBrushPt :: LPVOID -> ColorFormat -> IO HBRUSHSource
getBitmapDimensionEx :: HBITMAP -> IO SIZESource
setBitmapDimensionEx :: HBITMAP -> SIZE -> IO SIZESource
getBitmapInfo :: HBITMAP -> IO BITMAPSource
type BitmapCompression = DWORDSource
bI_RGB :: BitmapCompressionSource
bI_RLE8 :: BitmapCompressionSource
bI_RLE4 :: BitmapCompressionSource
bI_BITFIELDS :: BitmapCompressionSource
type ColorFormat = DWORDSource
dIB_PAL_COLORS :: ColorFormatSource
dIB_RGB_COLORS :: ColorFormatSource
type LPBITMAPINFO = Ptr ()Source
type BITMAPINFOHEADER = (DWORD, LONG, LONG, WORD, WORD, BitmapCompression, DWORD, LONG, LONG, Maybe DWORD, Maybe DWORD)Source
type LPBITMAPINFOHEADER = Ptr BITMAPINFOHEADERSource
getBITMAPINFOHEADER_ :: LPBITMAPINFOHEADER -> IO BITMAPINFOHEADERSource
type BITMAPFILEHEADER = (WORD, DWORD, WORD, WORD, DWORD)Source
type LPBITMAPFILEHEADER = Ptr BITMAPFILEHEADERSource
getBITMAPFILEHEADER :: LPBITMAPFILEHEADER -> IO BITMAPFILEHEADERSource
sizeofBITMAP :: Word32Source
sizeofBITMAPINFO :: Word32Source
sizeofBITMAPINFOHEADER :: Word32Source
sizeofBITMAPFILEHEADER :: Word32Source
sizeofLPBITMAPFILEHEADER :: Word32Source
createBMPFile :: String -> HBITMAP -> HDC -> IO ()Source
cBM_INIT :: DWORDSource
getDIBits :: HDC -> HBITMAP -> INT -> INT -> Maybe LPVOID -> LPBITMAPINFO -> ColorFormat -> IO INTSource
setDIBits :: HDC -> HBITMAP -> INT -> INT -> LPVOID -> LPBITMAPINFO -> ColorFormat -> IO INTSource
createDIBitmap :: HDC -> LPBITMAPINFOHEADER -> DWORD -> LPVOID -> LPBITMAPINFO -> ColorFormat -> IO HBITMAPSource
Produced by Haddock version 0.8