Win32-2.6.1.0: A binding to part of the Win32 library

Copyright(c) Alastair Reid 1997-2003
LicenseBSD-style (see the file libraries/base/LICENSE)
MaintainerEsa Ilari Vuokko <ei@vuokko.info>
Stabilityprovisional
Portabilityportable
Safe HaskellTrustworthy
LanguageHaskell2010

Graphics.Win32.GDI.Types

Description

A collection of FFI declarations for interfacing with Win32.

Documentation

type POINT = (LONG, LONG) Source #

allocaPOINT :: (Ptr POINT -> IO a) -> IO a Source #

allocaPOINT :: (Ptr POINT -> IO a) -> IO a Source #

withPOINT :: POINT -> (Ptr POINT -> IO a) -> IO a Source #

withPOINT :: POINT -> (Ptr POINT -> IO a) -> IO a Source #

type RECT = (LONG, LONG, LONG, LONG) Source #

allocaRECT :: (Ptr RECT -> IO a) -> IO a Source #

allocaRECT :: (Ptr RECT -> IO a) -> IO a Source #

type SIZE = (LONG, LONG) Source #

allocaSIZE :: (Ptr SIZE -> IO a) -> IO a Source #

allocaSIZE :: (Ptr SIZE -> IO a) -> IO a Source #

withPOINTArray :: [POINT] -> (Ptr POINT -> Int -> IO a) -> IO a Source #

withPOINTArray :: [POINT] -> (Ptr POINT -> Int -> IO a) -> IO a Source #

setPOINT :: Ptr POINT -> Int -> POINT -> IO () Source #

setPOINT :: Ptr POINT -> Int -> POINT -> IO () Source #

withRECT :: RECT -> (Ptr RECT -> IO a) -> IO a Source #

withRECT :: RECT -> (Ptr RECT -> IO a) -> IO a Source #

gDI_ERROR :: Num a => a Source #

gDI_ERROR :: Num a => a Source #