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.Brush

Description

A collection of FFI declarations for interfacing with Win32.

# Documentation

createSolidBrush :: COLORREF -> IO HBRUSH

c_CreateSolidBrush :: COLORREF -> IO HBRUSH

createHatchBrush :: HatchStyle -> COLORREF -> IO HBRUSH

c_CreateHatchBrush :: HatchStyle -> COLORREF -> IO HBRUSH

createPatternBrush :: HBITMAP -> IO HBRUSH

c_CreatePatternBrush :: HBITMAP -> IO HBRUSH

deleteBrush :: HBRUSH -> IO ()

c_DeleteBrush :: HBRUSH -> IO Bool

type StockBrush = INT

wHITE_BRUSH :: StockBrush

lTGRAY_BRUSH :: StockBrush

gRAY_BRUSH :: StockBrush

dKGRAY_BRUSH :: StockBrush

bLACK_BRUSH :: StockBrush

nULL_BRUSH :: StockBrush

getStockBrush :: StockBrush -> IO HBRUSH

hOLLOW_BRUSH :: StockBrush

c_GetStockBrush :: StockBrush -> IO HBRUSH