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

Safe HaskellSafe
LanguageHaskell2010

SDL.Compositor.Manipulator

Synopsis

Documentation

class Manipulator m where #

This class models a graphics object that supports color modulation.

Methods

modulateAlphaM :: Int -> m -> m #

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

modulateRedM :: Int -> m -> m #

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

modulateGreenM :: Int -> m -> m #

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

modulateBlueM :: Int -> m -> m #

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