Main Page Class Hierarchy Compound List File List Compound Members File Members
Colour.cc File Reference
Include dependency graph for Colour.cc:
Go to the source code of this file.
Clips colour to [0, 1] for display.
Definition at line 32 of file Colour.cc.
Clips colour to zero only.
Definition at line 44 of file Colour.cc.
Rotate hue of image in HSV space.
Definition at line 132 of file Colour.cc.
Mix with colour
If you use c = cBlack, mix < 1.0 will darken the image,
and mix > 1.0 will lighten it.
If you use the average colour of an image, c = img.AverageColour(),
mix < 1.0 will lower contrast, mix > 1.0 raise it.
Definition at line 118 of file Colour.cc.
sat < 1.0 decreases saturation towards 0.0 (greyscale),
sat > 1.0 increases it.
Definition at line 99 of file Colour.cc.
Generated at Sat Aug 5 00:16:58 2000 for Graphics Class Library by
1.1.0 written by Dimitri van Heesch,