#include <image.h>
Inheritance diagram for fl::PixelFormatHLSFloat:
Public Methods | |
| PixelFormatHLSFloat () | |
| virtual unsigned int | getRGBA (void *pixel) const |
| Return value is always assumed to be non-linear sRGB. Same for other RGB methods below. | |
| virtual void | getRGBA (void *pixel, float values[]) const |
| "values" must have at least four elements. Each returned value is in [0,1]. | |
| virtual void | setRGBA (void *pixel, unsigned int rgba) const |
| virtual void | setRGBA (void *pixel, float values[]) const |
| Each value must be in [0,1]. Values outside this range will be clamped and modified directly in the array. | |
| float | HLSvalue (const float &n1, const float &n2, float h) const |
| Subroutine of getRGBA(floats). | |
|
|
|
|
||||||||||||
|
"values" must have at least four elements. Each returned value is in [0,1].
Reimplemented from fl::PixelFormat. |
|
|
Return value is always assumed to be non-linear sRGB. Same for other RGB methods below.
Implements fl::PixelFormat. |
|
||||||||||||||||
|
Subroutine of getRGBA(floats).
|
|
||||||||||||
|
Each value must be in [0,1]. Values outside this range will be clamped and modified directly in the array.
Reimplemented from fl::PixelFormat. |
|
||||||||||||
|
Implements fl::PixelFormat. |
1.2.18