本实验实现RGB颜色与HLS颜色的相互转换;在此实验中,定义了函数void HSLtoRGB(UINT hue, UINT sat, UINT light, B...
代码说明:
本实验实现RGB颜色与HLS颜色的相互转换;在此实验中,定义了函数void HSLtoRGB(UINT hue, UINT sat, UINT light, BYTE &r, BYTE &g, BYTE &b)实现HSL向RGB转换;void CPaletteDlg::RGBtoHSL(BYTE r, BYTE g, BYTE b, UINT &hue, UINT &sat, UINT &light)实现RGB向HSL转换-Experimental realization of the RGB and HLS color color conversion in this experiment, the definition of the function void HSLtoRGB (UINT hue, UINT sat, UINT light, BYTE & r, BYTE & g, BYTE & b) the realization of HSL to RGB conversion void CPaletteDlg: : RGBtoHSL (BYTE r, BYTE g, BYTE b, UINT & hue, UINT & sat, UINT & light) to achieve conversion RGB to HSL
下载说明:请别用迅雷下载,失败请重下,重下不扣分!