dmColorSetHue(3dm)dmColorSetHue(3dm)NAME
dmColorSetHue, dmColorGetHue - set/get the hue rotation.
SYNOPSIS
#include <dmedia/dm_color.h>
DMstatus dmColorSetHue (const DMcolorconverter converter,
const float hue);
DMstatus dmColorGetHue (const DMcolorconverter converter,
float *hue);
PARAMETERS
DMcolorconverter converter
The converter upon which the action is to be applied.
float hue
The hue rotation.
RETURNED VALUE
DM_COLOR_ERROR_NONE if operation is successful.
DM_COLOR_ERROR_INVALID_CONVERTER if the converter is invalid.
DESCRIPTION
Sets the hue rotation. Angle is specified in radians. Hue=0 implies no
hue rotation (default). The effective range is -pi..+pi.
SEE ALSOdmColorSetContrast(3dm)dmColorSetBrightness(3dm)dmColorSetSaturation(3dm)
Page 1