Tesla Graphics Engine Documentation (January 2012)
AdjustContrast Method (value, contrast, result)
TeslaTesla.MathColorAdjustContrast(Color%, Single, Color%)
Adjusts the contrast of the color. If the contrast is 0, the color is 50% gray and if its 1 the original color is returned.
Declaration Syntax
C#
public static void AdjustContrast(
	ref Color value,
	float contrast,
	out Color result
)
Parameters
value (Color%)
Source color
contrast (Single)
Contrast amount
result (Color%)
Existing color to hold result

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)