Color::GetHSV

Color::GetHSV
SF_EXPORT void GetHSV(int* ph, int* ps, int* pv) const;
SF_EXPORT void GetHSV(float * ph, float * ps, float * pv) const;
Description

GetHSV retrieves the hue, saturation and value (Color::Hsv) of the current color.

Parameters
Parameters 
Description 
int* ph 
A pointer to the hue component of the HSV. The integer range is (0 to 360), while the floating point is (0.0 to 1.0). 
int* ps 
A pointer to the saturation component of the HSV. The integer range is (0 to 255), while the floating point is (0.0 to 1.0). 
int* pv 
A pointer to the value component of the HSV. The integer range is (0 to 255), while the floating point is (0.0 to 1.0). 
See Also