Graphics.Win32.GDI.HDC

Win32-2.6.1.0: A binding to part of the Win32 library

Copyright | (c) Alastair Reid 1997-2003
License | BSD-style (see the file libraries/base/LICENSE)
Maintainer | Esa Ilari Vuokko <ei@vuokko.info>
Stability | provisional
Portability | portable
Safe Haskell | Safe
Language | Haskell2010

Graphics.Win32.GDI.HDC

Description

A collection of FFI declarations for interfacing with Win32.

# Documentation

c_DeleteDC :: HDC -> IO Bool #

c_CreateCompatibleDC :: HDC -> IO HDC #

c_CancelDC :: HDC -> IO Bool #

c_SelectClipPath :: HDC -> ClippingMode -> IO RegionType #

c_ExtSelectClipRgn :: HDC -> PRGN -> ClippingMode -> IO RegionType #

c_SelectClipRgn :: HDC -> PRGN -> IO RegionType #

c_SelectRgn :: HDC -> PRGN -> IO RegionType #

c_SelectPalette :: HDC -> HPALETTE -> Bool -> IO HPALETTE #

c_SelectPen :: HDC -> HPEN -> IO HPEN #

c_SelectFont :: HDC -> HFONT -> IO HFONT #

c_SelectBrush :: HDC -> HBRUSH -> IO HBRUSH #

c_SelectBitmap :: HDC -> HBITMAP -> IO HBITMAP #

c_GetCurrentPen :: HDC -> UINT -> IO HPEN #

c_GetCurrentPalette :: HDC -> UINT -> IO HPALETTE #

c_GetCurrentFont :: HDC -> UINT -> IO HFONT #

c_GetCurrentBrush :: HDC -> UINT -> IO HBRUSH #

c_GetCurrentBitmap :: HDC -> UINT -> IO HBITMAP #

c_RestoreDC :: HDC -> Int -> IO Bool #

c_SaveDC :: HDC -> IO Int #

c_SetMiterLimit :: HDC -> FLOAT -> Ptr FLOAT -> IO Bool #

c_GetMiterLimit :: HDC -> Ptr FLOAT -> IO Bool #

c_GetTextCharacterExtra :: HDC -> IO Int #

c_SetTextCharacterExtra :: HDC -> Int -> IO Int #

c_GetTextAlign :: HDC -> IO TextAlignment #

c_SetTextAlign :: HDC -> TextAlignment -> IO TextAlignment #

c_GetBrushOrgEx :: HDC -> Ptr POINT -> IO Bool #

c_SetBrushOrgEx :: HDC -> Int -> Int -> Ptr POINT -> IO Bool #

c_GetBkMode :: HDC -> IO BackgroundMode #

c_SetBkMode :: HDC -> BackgroundMode -> IO BackgroundMode #

c_GetTextColor :: HDC -> IO COLORREF #

c_SetTextColor :: HDC -> COLORREF -> IO COLORREF #

c_GetBkColor :: HDC -> IO COLORREF #

c_SetBkColor :: HDC -> COLORREF -> IO COLORREF #

c_GetStretchBltMode :: HDC -> IO StretchBltMode #

c_SetStretchBltMode :: HDC -> StretchBltMode -> IO StretchBltMode #

c_GetGraphicsMode :: HDC -> IO GraphicsMode #

c_SetGraphicsMode :: HDC -> GraphicsMode -> IO GraphicsMode #

c_GetPolyFillMode :: HDC -> IO PolyFillMode #

c_SetPolyFillMode :: HDC -> PolyFillMode -> IO PolyFillMode #

c_GetArcDirection :: HDC -> IO ArcDirection #

c_SetArcDirection :: HDC -> ArcDirection -> IO ArcDirection #

c_GetPixel :: HDC -> Int -> Int -> IO COLORREF #

getPixel :: HDC -> Int -> Int -> IO COLORREF #

setArcDirection :: HDC -> ArcDirection -> IO ArcDirection #

getArcDirection :: HDC -> IO ArcDirection #

setPolyFillMode :: HDC -> PolyFillMode -> IO PolyFillMode #

getPolyFillMode :: HDC -> IO PolyFillMode #

setGraphicsMode :: HDC -> GraphicsMode -> IO GraphicsMode #

getGraphicsMode :: HDC -> IO GraphicsMode #

setStretchBltMode :: HDC -> StretchBltMode -> IO StretchBltMode #

getStretchBltMode :: HDC -> IO StretchBltMode #

setBkColor :: HDC -> COLORREF -> IO COLORREF #

getBkColor :: HDC -> IO COLORREF #

setTextColor :: HDC -> COLORREF -> IO COLORREF #

getTextColor :: HDC -> IO COLORREF #

setBkMode :: HDC -> BackgroundMode -> IO BackgroundMode #

getBkMode :: HDC -> IO BackgroundMode #

setBrushOrgEx :: HDC -> Int -> Int -> IO POINT #

getBrushOrgEx :: HDC -> IO POINT #

setTextAlign :: HDC -> TextAlignment -> IO TextAlignment #

getTextAlign :: HDC -> IO TextAlignment #

setTextCharacterExtra :: HDC -> Int -> IO Int #

getTextCharacterExtra :: HDC -> IO Int #

getMiterLimit :: HDC -> IO Float #

setMiterLimit :: HDC -> Float -> IO Float #

saveDC :: HDC -> IO Int #

restoreDC :: HDC -> Int -> IO () #

getCurrentBitmap :: HDC -> IO HBITMAP #

getCurrentBrush :: HDC -> IO HBRUSH #

getCurrentFont :: HDC -> IO HFONT #

getCurrentPalette :: HDC -> IO HPALETTE #

getCurrentPen :: HDC -> IO HPEN #

selectBitmap :: HDC -> HBITMAP -> IO HBITMAP #

selectBrush :: HDC -> HBRUSH -> IO HBRUSH #

selectFont :: HDC -> HFONT -> IO HFONT #

selectPen :: HDC -> HPEN -> IO HPEN #

selectPalette :: HDC -> HPALETTE -> Bool -> IO HPALETTE #

selectRgn :: HDC -> HRGN -> IO RegionType #

selectClipRgn :: HDC -> Maybe HRGN -> IO RegionType #

extSelectClipRgn :: HDC -> Maybe HRGN -> ClippingMode -> IO RegionType #

selectClipPath :: HDC -> ClippingMode -> IO RegionType #

cancelDC :: HDC -> IO () #

createCompatibleDC :: Maybe HDC -> IO HDC #

deleteDC :: HDC -> IO () #