Graphics.Win32.GDI.Region

Win32-2.14.0.0: 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.Region

Description

A collection of FFI declarations for interfacing with Win32.

# Documentation

badRegion :: RegionType -> Bool Source #

combineRgn :: HRGN -> HRGN -> HRGN -> ClippingMode -> IO RegionType Source #

c_CombineRgn :: PRGN -> PRGN -> PRGN -> ClippingMode -> IO RegionType Source #

offsetRgn :: HRGN -> INT -> INT -> IO RegionType Source #

c_OffsetRgn :: PRGN -> INT -> INT -> IO RegionType Source #

getRgnBox :: HRGN -> LPRECT -> IO RegionType Source #

c_GetRgnBox :: PRGN -> LPRECT -> IO RegionType Source #

createEllipticRgn :: INT -> INT -> INT -> INT -> IO HRGN Source #

c_CreateEllipticRgn :: INT -> INT -> INT -> INT -> IO PRGN Source #

createEllipticRgnIndirect :: LPRECT -> IO HRGN Source #

c_CreateEllipticRgnIndirect :: LPRECT -> IO PRGN Source #

createRectRgn :: INT -> INT -> INT -> INT -> IO HRGN Source #

c_CreateRectRgn :: INT -> INT -> INT -> INT -> IO PRGN Source #

createRectRgnIndirect :: LPRECT -> IO HRGN Source #

c_CreateRectRgnIndirect :: LPRECT -> IO PRGN Source #

createRoundRectRgn :: INT -> INT -> INT -> INT -> INT -> INT -> IO HRGN Source #

c_CreateRoundRectRgn :: INT -> INT -> INT -> INT -> INT -> INT -> IO PRGN Source #

createPolygonRgn :: [POINT] -> PolyFillMode -> IO HRGN Source #

c_CreatePolygonRgn :: Ptr POINT -> Int -> PolyFillMode -> IO PRGN Source #

equalRgn :: PRGN -> PRGN -> IO Bool Source #

fillRgn :: HDC -> HRGN -> HBRUSH -> IO () Source #

c_FillRgn :: HDC -> PRGN -> HBRUSH -> IO Bool Source #

invertRgn :: HDC -> HRGN -> IO () Source #

c_InvertRgn :: HDC -> PRGN -> IO Bool Source #

paintRgn :: HDC -> HRGN -> IO () Source #

c_PaintRgn :: HDC -> PRGN -> IO Bool Source #

frameRgn :: HDC -> HRGN -> HBRUSH -> Int -> Int -> IO () Source #

c_FrameRgn :: HDC -> PRGN -> HBRUSH -> Int -> Int -> IO Bool Source #

ptInRegion :: HRGN -> Int -> Int -> IO Bool Source #

c_PtInRegion :: PRGN -> Int -> Int -> IO Bool Source #

rectInRegion :: HRGN -> RECT -> IO Bool Source #

c_RectInRegion :: PRGN -> Ptr RECT -> IO Bool Source #