Graphics.Win32.GDI.AlphaBlend

Win32-2.10.0.0: A binding to Windows Win32 API.

Copyright | 2013 shelarcy
License | BSD-style
Maintainer | shelarcy@gmail.com
Stability | Provisional
Portability | Non-portable (Win32 API)
Safe Haskell | Safe-Inferred
Language | Haskell2010

Graphics.Win32.GDI.AlphaBlend

Description

Provides alpha blending functionality.

# Documentation

c_AlphaBlend :: HDC -> Int -> Int -> Int -> Int -> HDC -> Int -> Int -> Int -> Int -> PBLENDFUNCTION -> IO BOOL Source #

c_TransparentBlt :: HDC -> Int -> Int -> Int -> Int -> HDC -> Int -> Int -> Int -> Int -> UINT -> IO BOOL Source #

aC_SRC_OVER :: BYTE Source #

aC_SRC_ALPHA :: BYTE Source #

type PBLENDFUNCTION = Ptr BLENDFUNCTION Source #

type LPBLENDFUNCTION = Ptr BLENDFUNCTION Source #

data BLENDFUNCTION Source #

Constructors

BLENDFUNCTION |
Fields blendOp :: BYTE blendFlags :: BYTE sourceConstantAlpha :: BYTE alphaFormat :: BYTE

#### Instances

Instances details

Show BLENDFUNCTION Source # |
Instance details Defined in Graphics.Win32.GDI.AlphaBlend Methods showsPrec :: Int -> BLENDFUNCTION -> ShowS Source # show :: BLENDFUNCTION -> String Source # showList :: [BLENDFUNCTION] -> ShowS Source #
Storable BLENDFUNCTION Source # |
Instance details Defined in Graphics.Win32.GDI.AlphaBlend Methods sizeOf :: BLENDFUNCTION -> Int Source # alignment :: BLENDFUNCTION -> Int Source # peekElemOff :: Ptr BLENDFUNCTION -> Int -> IO BLENDFUNCTION Source # pokeElemOff :: Ptr BLENDFUNCTION -> Int -> BLENDFUNCTION -> IO () Source # peekByteOff :: Ptr b -> Int -> IO BLENDFUNCTION Source # pokeByteOff :: Ptr b -> Int -> BLENDFUNCTION -> IO () Source # peek :: Ptr BLENDFUNCTION -> IO BLENDFUNCTION Source # poke :: Ptr BLENDFUNCTION -> BLENDFUNCTION -> IO () Source #