Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data BlendFactor
- data CompositeOperation
- globalCompositeOperation :: Context -> CompositeOperation -> IO ()
- globalCompositeBlendFunc :: Context -> BlendFactor -> BlendFactor -> IO ()
- globalCompositeBlendFuncSeparate :: Context -> BlendFactor -> BlendFactor -> BlendFactor -> BlendFactor -> IO ()
- globalCompositeOperation'_ :: Context -> CInt -> IO ()
- globalCompositeBlendFunc'_ :: Context -> CInt -> CInt -> IO ()
- globalCompositeBlendFuncSeparate'_ :: Context -> CInt -> CInt -> CInt -> CInt -> IO ()
Documentation
data BlendFactor Source #
Zero | |
One | |
SrcColor | |
OneMinusSrcColor | |
DstColor | |
OneMinusDstColor | |
SrcAlpha | |
OneMinusSrcAlpha | |
DstAlpha | |
OneMinusDstAlpha | |
SrcAlphaSaturate |
Instances
data CompositeOperation Source #
SourceOver | |
SourceIn | |
SourceOut | |
Atop | |
DestinationOver | |
DestinationIn | |
DestinationOut | |
DestinationAtop | |
Lighter | |
Copy | |
Xor |
Instances
globalCompositeOperation :: Context -> CompositeOperation -> IO () Source #
Sets the composite operation. The op parameter should be one of NVGcompositeOperation.
globalCompositeBlendFunc :: Context -> BlendFactor -> BlendFactor -> IO () Source #
Sets the composite operation with custom pixel arithmetic. The parameters should be one of NVGblendFactor.
globalCompositeBlendFuncSeparate :: Context -> BlendFactor -> BlendFactor -> BlendFactor -> BlendFactor -> IO () Source #
Sets the composite operation with custom pixel arithmetic for RGB and alpha components separately. The parameters should be one of NVGblendFactor.