rtc.avd_SDK-C++  3.2.0
Public 成员函数 | Public 属性 | 所有成员列表
rtcimp::tagColor结构体 参考

Public 成员函数

 tagColor ()
 
 tagColor (unsigned long val)
 
 tagColor (unsigned char r, unsigned char g, unsigned char b, unsigned char a)
 
unsigned char r () const
 
unsigned char g () const
 
unsigned char b () const
 
unsigned char a () const
 
unsigned long rgb () const
 
unsigned long argb () const
 
void setR (unsigned char r)
 
void setG (unsigned char g)
 
void setB (unsigned char b)
 
void setA (unsigned char a)
 
void set (unsigned char r, unsigned char g, unsigned char b, unsigned char a)
 

Public 属性

unsigned long color
 

构造及析构函数说明

◆ tagColor() [1/3]

rtcimp::tagColor::tagColor ( )

◆ tagColor() [2/3]

rtcimp::tagColor::tagColor ( unsigned long  val)

◆ tagColor() [3/3]

rtcimp::tagColor::tagColor ( unsigned char  r,
unsigned char  g,
unsigned char  b,
unsigned char  a 
)

成员函数说明

◆ a()

unsigned char rtcimp::tagColor::a ( ) const

引用了 color.

被这些函数引用 argb(), set() , 以及 setA().

◆ argb()

unsigned long rtcimp::tagColor::argb ( ) const

引用了 a(), b(), g() , 以及 r().

◆ b()

unsigned char rtcimp::tagColor::b ( ) const

引用了 color.

被这些函数引用 argb(), set() , 以及 setB().

◆ g()

unsigned char rtcimp::tagColor::g ( ) const

引用了 color.

被这些函数引用 argb(), set() , 以及 setG().

◆ r()

unsigned char rtcimp::tagColor::r ( ) const

引用了 color.

被这些函数引用 argb(), set() , 以及 setR().

◆ rgb()

unsigned long rtcimp::tagColor::rgb ( ) const

引用了 color.

◆ set()

void rtcimp::tagColor::set ( unsigned char  r,
unsigned char  g,
unsigned char  b,
unsigned char  a 
)

引用了 a(), b(), g(), r(), setA(), setB(), setG() , 以及 setR().

◆ setA()

void rtcimp::tagColor::setA ( unsigned char  a)

引用了 a() , 以及 color.

被这些函数引用 set().

◆ setB()

void rtcimp::tagColor::setB ( unsigned char  b)

引用了 b() , 以及 color.

被这些函数引用 set().

◆ setG()

void rtcimp::tagColor::setG ( unsigned char  g)

引用了 color , 以及 g().

被这些函数引用 set().

◆ setR()

void rtcimp::tagColor::setR ( unsigned char  r)

引用了 color , 以及 r().

被这些函数引用 set().

类成员变量说明

◆ color

unsigned long rtcimp::tagColor::color

被这些函数引用 a(), b(), g(), r(), rgb(), setA(), setB(), setG() , 以及 setR().


该结构体的文档由以下文件生成: