integer, intent(in) :: col type (GHSVSTY), intent(out) :: hsv
Arguments
col
Colour index
< 0,
Dummy definition
= GBACKGROUND,
Background colour
> 0,
Index up to device capability
hsv
Hue, saturation and value settings
Description
The routine gEnqHSV() returns the hue, saturation and value settings identified by col. The colour may have been defined by a routine other than gDefineHSV(), in which case the colour coordinates are converted to HSV. If col is less than zero, the colour values returned are those last specified by any of the colour definition routines.
The default values are returned by gEnqHSV() until the colour identified by col is redefined by any call to the colour definition routines.
The default values correspond to as many of the standard GINO colours as the device can implement. For plotters and other devices that do not cater for variable colours or if col is out of range for the device, gEnqHSV() returns hsv.hue, hsv.sat and hsv.value set to zero.