联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 CColor - RGB and HLS combined in one cla - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为19221
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • jasperreports
  • PoolMan
  • Air Traffic Controller
  • virtualdub-win
  • CppUnit
  • Apache-SSL-Jserv
  • FCK editor
  • Async Professional
  • GLgraph
  • -= 更多 =-

    项目描述:
    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 下载

    原始下载连接(国外) http://www.codeguru.com/code/legacy/gdi/colorapp_src.zip

      » 合 作 伙 伴