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

Description

A collection of FFI declarations for interfacing with Win32.

# Documentation

type StockPen = INT

wHITE_PEN :: StockPen

bLACK_PEN :: StockPen

nULL_PEN :: StockPen

getStockPen :: StockPen -> IO HPEN

c_GetStockPen :: StockPen -> IO HPEN

deletePen :: HPEN -> IO ()

c_DeletePen :: HPEN -> IO Bool

type PenStyle = INT

pS_SOLID :: PenStyle

pS_DASH :: PenStyle

pS_DOT :: PenStyle

pS_DASHDOT :: PenStyle

pS_DASHDOTDOT :: PenStyle

pS_NULL :: PenStyle

pS_INSIDEFRAME :: PenStyle

pS_ENDCAP_ROUND :: PenStyle

pS_USERSTYLE :: PenStyle

pS_ENDCAP_SQUARE :: PenStyle

pS_ALTERNATE :: PenStyle

pS_ENDCAP_FLAT :: PenStyle

pS_STYLE_MASK :: PenStyle

pS_ENDCAP_MASK :: PenStyle

pS_JOIN_ROUND :: PenStyle

pS_JOIN_BEVEL :: PenStyle

pS_JOIN_MITER :: PenStyle

pS_COSMETIC :: PenStyle

pS_GEOMETRIC :: PenStyle

pS_TYPE_MASK :: PenStyle

createPen :: PenStyle -> INT -> COLORREF -> IO HPEN

c_CreatePen :: PenStyle -> INT -> COLORREF -> IO HPEN