CColor - RGB and HLS combined in one cla - 项目摘要 |
摘要
| 管理 |
论坛 文档
| 软件包 |
|
|
|
项目描述: |
The CColor class emerged from the need to manipulate color in the HLS modell, this means to directly change attributes like luminance or saturation. Perhaps NT 5.0 will support the HLS (or the similary HSB) color modell, but I do not want to wait until the release, on the other side, my code should also work under NT 4.0 and Win95/98. The CColor class encapsulates the long known type COLORREF and extends it with the HLS color modell. An CColor object represents a color, whose RGB and HLS properties can be directly read and manipulated.
CColor- RGB和HLS在一个类里的结合
CColor类是应在HLS模式中操纵颜色的需要而出现的, 这意味着可以直接地改变像亮度或饱和度一样的属性。也许NT 5.0将会支持HLS(或同样的HSB)色彩模式 ,但是我等不到发布那一天,另一方面,我的代码也应该在NT 4.0和Win95环境下工作。CColor类封装了COLORREF类型,并且通过HLS色彩模式扩展了它。一个CColor对象代表一个颜色,它的RGB和HLS属性可以被直接地读取和操作。
来源: http://www.codeguru.com/gdi/colorapp1.shtml |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
colorapp |
 1.0  |
2004-04-19 |
下载 |
|
|