dmColorSetHue(3dm) dmColorSetHue(3dm)
dmColorSetHue, dmColorGetHue - set/get the hue rotation.
#include <dmedia/dm_color.h>
DMstatus dmColorSetHue (const DMcolorconverter converter,
const float hue);
DMstatus dmColorGetHue (const DMcolorconverter converter,
float *hue);
DMcolorconverter converter
The converter upon which the action is to be applied.
float hue
The hue rotation.
DM_COLOR_ERROR_NONE if operation is successful.
DM_COLOR_ERROR_INVALID_CONVERTER if the converter is invalid.
Sets the hue rotation. Angle is specified in radians. Hue=0 implies no
hue rotation (default). The effective range is -pi..+pi.
dmColorSetContrast(3dm) dmColorSetBrightness(3dm)
dmColorSetSaturation(3dm)
PPPPaaaaggggeeee 1111 [ Back ]
|