AG_Color *agcolor | A native
AG_Color(3) structure.
|
float *hue | Hue (0..1).
|
float *saturation | Saturation (0..1).
|
float *value | Value (0..1).
|
float *alpha | Single-precision component value (0..1).
|
AG_PixelFormat **pixel-format | Pointer to
AG_PixelFormat(3) describing the packed-pixel format of
pixel and
pixel64. Note that
pixel-format should be set first.
If the format has an alpha component,
AG_HSVPAL_NOALPHA will be set accordingly (use
AG_HSVPAL_FORCE_NOALPHA to disable).
|
Uint32 *pixel | 32-bit packed pixel value.
|
Uint64 *pixel64 | 64-bit packed pixel value.
Available in
AG_LARGE build.
|
void *RGBv | A three-element array containing the RGB components.
Acceptable binding types include FLOAT and DOUBLE, INT and UINT8.
For floating point types, the values are scaled to 0.0-1.0.
For integral types, the values are scaled to 0-255.
|
void *RGBAv | Same as above, except that the array has 4 elements where the last element
is the alpha component.
|