Graphics.Win32.GDI.HDC

Win32-2.12.0.1: A binding to Windows Win32 API.

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_CancelDC :: HDC -> IO Bool Source #

c_CreateCompatibleDC :: HDC -> IO HDC Source #

c_DeleteDC :: HDC -> IO Bool Source #

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

c_GetArcDirection :: HDC -> IO ArcDirection Source #

c_GetBkColor :: HDC -> IO COLORREF Source #

c_GetBkMode :: HDC -> IO BackgroundMode Source #

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

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

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

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

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

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

c_GetGraphicsMode :: HDC -> IO GraphicsMode Source #

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

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

c_GetPolyFillMode :: HDC -> IO PolyFillMode Source #

c_GetStretchBltMode :: HDC -> IO StretchBltMode Source #

c_GetTextAlign :: HDC -> IO TextAlignment Source #

c_GetTextCharacterExtra :: HDC -> IO Int Source #

c_GetTextColor :: HDC -> IO COLORREF Source #

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

c_SaveDC :: HDC -> IO Int Source #

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

cancelDC :: HDC -> IO () Source #

createCompatibleDC :: Maybe HDC -> IO HDC Source #

deleteDC :: HDC -> IO () Source #

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

getArcDirection :: HDC -> IO ArcDirection Source #

getBkColor :: HDC -> IO COLORREF Source #

getBkMode :: HDC -> IO BackgroundMode Source #

getBrushOrgEx :: HDC -> IO POINT Source #

getCurrentBitmap :: HDC -> IO HBITMAP Source #

getCurrentBrush :: HDC -> IO HBRUSH Source #

getCurrentFont :: HDC -> IO HFONT Source #

getCurrentPalette :: HDC -> IO HPALETTE Source #

getCurrentPen :: HDC -> IO HPEN Source #

getGraphicsMode :: HDC -> IO GraphicsMode Source #

getMiterLimit :: HDC -> IO Float Source #

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

getPolyFillMode :: HDC -> IO PolyFillMode Source #

getStretchBltMode :: HDC -> IO StretchBltMode Source #

getTextAlign :: HDC -> IO TextAlignment Source #

getTextCharacterExtra :: HDC -> IO Int Source #

getTextColor :: HDC -> IO COLORREF Source #

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

saveDC :: HDC -> IO Int Source #

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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