sdl2-compositor-1.2.0.3: image compositing with sdl2 - declarative style

Safe HaskellSafe
LanguageHaskell2010

SDL.Compositor.Manipulator

Synopsis

Documentation

class Manipulator m where Source

This class models a graphics object that supports color modulation.

Methods

modulateAlphaM :: Int -> m -> m Source

Modulate the alpha channel of picture. This behavior stacks multiplicatively.

modulateRedM :: Int -> m -> m Source

Modulate the red channel of picture. This behavior stacks multiplicatively.

modulateGreenM :: Int -> m -> m Source

Modulate the green channel of picture. This behavior stacks multiplicatively.

modulateBlueM :: Int -> m -> m Source

Modulate the blue channel of picture. This behavior stacks multiplicatively.