GdiPlus/Gdi+ 的Color和Gdi 的RGB宏的区别
答案:2 悬赏:30 手机版
解决时间 2021-01-27 11:31
- 提问者网友:抽煙菂渘情少年
- 2021-01-27 05:05
GdiPlus/Gdi+ 的Color和Gdi 的RGB宏的区别
最佳答案
- 五星知识达人网友:往事隔山水
- 2021-01-27 05:58
Color定义:
Constructor Description
Color(ARGB) Creates a Color::Color object by using an ARGB value.
Color(BYTE,BYTE,BYTE) Creates a Color::Color object by using specified values for the red, green, and blue components. This constructor sets the alpha component to 255 (opaque).
Color(BYTE,BYTE,BYTE,BYTE) Creates a Color::Color object by using specified values for the alpha, red, green, and blue components.
Color() Creates a Color::Color object and initializes it to opaque black. This is the default constructor.
RGB定义:
RGB(red,green,blue)
Constructor Description
Color(ARGB) Creates a Color::Color object by using an ARGB value.
Color(BYTE,BYTE,BYTE) Creates a Color::Color object by using specified values for the red, green, and blue components. This constructor sets the alpha component to 255 (opaque).
Color(BYTE,BYTE,BYTE,BYTE) Creates a Color::Color object by using specified values for the alpha, red, green, and blue components.
Color() Creates a Color::Color object and initializes it to opaque black. This is the default constructor.
RGB定义:
RGB(red,green,blue)
全部回答
- 1楼网友:笑迎怀羞
- 2021-01-27 06:26
支持一下感觉挺不错的
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯