|
|
TColorHLS is a freeware OWL class that represents a color in the HLS
modell. It is a stand alone class without inheritance, but it has mostly the same
interface as the original TColor class. The HLS modell is widely used by artists. Its color components are hue, lightness, and saturation.
The HLS modell makes it very easy, to draw such things as color gradients between any color:
Perhaps NT 5.0 will support the HLS (or the similary HSB) color modell. Portions of code are based on MFC class CColor written by Christian Rodemeyer. Very special thanks. The code was tested using Microsoft Visual C++ 6.0 SR2 with OWL6 patch 7 and Borland C++ 5.02 with OWL 5.02. Both under Windows NT 4.0 SP4. Please send me bug reports, bug fixes, enhancements, requests, etc., and I'll try to
keep this in next versions: Happy coding |
Ver | File | Description |
1.02 | ![]() |
Only the source of TColorHLS class and this HTML-Document |
- | ![]() |
The sample application demonstrates the use of the TColorHLS class |
Ver | Date | Description |
1.02 | 06/05/99 | Stream operators work with VC++ now. Very special thanks to Yura Bidus. |
1.01 | 05/09/99 | Limit the values in SetHue(), SetLuminance(), SetSaturation() |
1.0 | 04/24/99 | Basic version. |
Copyright © 1998-1999 Dieter Windau |