ColorRGBToHLS (SHLWAPI.@)
VOID ColorRGBToHLS ( COLORREF cRGB, LPWORD pwHue, LPWORD pwLuminance, LPWORD pwSaturation )
Convert an rgb COLORREF into the hls color space.
cRGB | [In] | Source rgb value. |
pwHue | [Out] | Destination for converted hue. |
pwLuminance | [Out] | Destination for converted luminance. |
pwSaturation | [Out] | Destination for converted saturation. |
Nothing. pwHue, pwLuminance and pwSaturation are set to the converted values.
Output HLS values are constrained to the range (0..240). For Achromatic conversions, Hue is set to 160.
Declared in "include/shlwapi.h". gitlab.winehq.org/wine/wine/blob/master/include/shlwapi.h
Implemented in "dlls/shlwapi/ordinal.c". gitlab.winehq.org/wine/wine/blob/master/dlls/shlwapi/ordinal.c
Debug channel "shell".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.