Graphics.Win32.GDI.HDC

Win32-2.3.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 | Haskell98

Graphics.Win32.GDI.HDC

Description

A collection of FFI declarations for interfacing with Win32.

# Documentation

setArcDirection :: HDC -> ArcDirection -> IO ArcDirection

c_SetArcDirection :: HDC -> ArcDirection -> IO ArcDirection

getArcDirection :: HDC -> IO ArcDirection

c_GetArcDirection :: HDC -> IO ArcDirection

setPolyFillMode :: HDC -> PolyFillMode -> IO PolyFillMode

c_SetPolyFillMode :: HDC -> PolyFillMode -> IO PolyFillMode

getPolyFillMode :: HDC -> IO PolyFillMode

c_GetPolyFillMode :: HDC -> IO PolyFillMode

setGraphicsMode :: HDC -> GraphicsMode -> IO GraphicsMode

c_SetGraphicsMode :: HDC -> GraphicsMode -> IO GraphicsMode

getGraphicsMode :: HDC -> IO GraphicsMode

c_GetGraphicsMode :: HDC -> IO GraphicsMode

setStretchBltMode :: HDC -> StretchBltMode -> IO StretchBltMode

c_SetStretchBltMode :: HDC -> StretchBltMode -> IO StretchBltMode

getStretchBltMode :: HDC -> IO StretchBltMode

c_GetStretchBltMode :: HDC -> IO StretchBltMode

setBkColor :: HDC -> COLORREF -> IO COLORREF

c_SetBkColor :: HDC -> COLORREF -> IO COLORREF

getBkColor :: HDC -> IO COLORREF

c_GetBkColor :: HDC -> IO COLORREF

setTextColor :: HDC -> COLORREF -> IO COLORREF

c_SetTextColor :: HDC -> COLORREF -> IO COLORREF

getTextColor :: HDC -> IO COLORREF

c_GetTextColor :: HDC -> IO COLORREF

setBkMode :: HDC -> BackgroundMode -> IO BackgroundMode

c_SetBkMode :: HDC -> BackgroundMode -> IO BackgroundMode

getBkMode :: HDC -> IO BackgroundMode

c_GetBkMode :: HDC -> IO BackgroundMode

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

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

getBrushOrgEx :: HDC -> IO POINT

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

setTextAlign :: HDC -> TextAlignment -> IO TextAlignment

c_SetTextAlign :: HDC -> TextAlignment -> IO TextAlignment

getTextAlign :: HDC -> IO TextAlignment

c_GetTextAlign :: HDC -> IO TextAlignment

setTextCharacterExtra :: HDC -> Int -> IO Int

c_SetTextCharacterExtra :: HDC -> Int -> IO Int

getTextCharacterExtra :: HDC -> IO Int

c_GetTextCharacterExtra :: HDC -> IO Int

getMiterLimit :: HDC -> IO Float

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

setMiterLimit :: HDC -> Float -> IO Float

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

saveDC :: HDC -> IO Int

c_SaveDC :: HDC -> IO Int

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

c_RestoreDC :: HDC -> Int -> IO Bool

getCurrentBitmap :: HDC -> IO HBITMAP

c_GetCurrentBitmap :: HDC -> UINT -> IO HBITMAP

getCurrentBrush :: HDC -> IO HBRUSH

c_GetCurrentBrush :: HDC -> UINT -> IO HBRUSH

getCurrentFont :: HDC -> IO HFONT

c_GetCurrentFont :: HDC -> UINT -> IO HFONT

getCurrentPalette :: HDC -> IO HPALETTE

c_GetCurrentPalette :: HDC -> UINT -> IO HPALETTE

getCurrentPen :: HDC -> IO HPEN

c_GetCurrentPen :: HDC -> UINT -> IO HPEN

selectBitmap :: HDC -> HBITMAP -> IO HBITMAP

c_SelectBitmap :: HDC -> HBITMAP -> IO HBITMAP

selectBrush :: HDC -> HBRUSH -> IO HBRUSH

c_SelectBrush :: HDC -> HBRUSH -> IO HBRUSH

selectFont :: HDC -> HFONT -> IO HFONT

c_SelectFont :: HDC -> HFONT -> IO HFONT

selectPen :: HDC -> HPEN -> IO HPEN

c_SelectPen :: HDC -> HPEN -> IO HPEN

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

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

selectRgn :: HDC -> HRGN -> IO RegionType

c_SelectRgn :: HDC -> PRGN -> IO RegionType

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

c_SelectClipRgn :: HDC -> PRGN -> IO RegionType

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

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

selectClipPath :: HDC -> ClippingMode -> IO RegionType

c_SelectClipPath :: HDC -> ClippingMode -> IO RegionType

cancelDC :: HDC -> IO ()

c_CancelDC :: HDC -> IO Bool

createCompatibleDC :: Maybe HDC -> IO HDC

c_CreateCompatibleDC :: HDC -> IO HDC

deleteDC :: HDC -> IO ()

c_DeleteDC :: HDC -> IO Bool