Open CASCADE Technology
6.5.4
|
POD structure for packed RGB color value (4 bytes with extra byte for alignment)
#include <Image_Color.hxx>
Public Member Functions | |
Standard_Byte | r () const |
Alias to 1st component (red intensity). | |
Standard_Byte | g () const |
Alias to 2nd component (green intensity). | |
Standard_Byte | b () const |
Alias to 3rd component (blue intensity). | |
Standard_Byte | a_ () const |
Alias to 4th component (dummy). | |
Standard_Byte & | r () |
Alias to 1st component (red intensity). | |
Standard_Byte & | g () |
Alias to 2nd component (green intensity). | |
Standard_Byte & | b () |
Alias to 3rd component (blue intensity). | |
Standard_Byte & | a_ () |
Alias to 4th component (dummy). | |
Static Public Member Functions | |
static Standard_Integer | Length () |
Returns the number of components. | |
Data Fields | |
Standard_Byte | v [4] |
Standard_Byte Image_ColorRGB32::a_ | ( | ) | const [inline] |
Standard_Byte& Image_ColorRGB32::a_ | ( | ) | [inline] |
Standard_Byte Image_ColorRGB32::b | ( | ) | const [inline] |
Standard_Byte& Image_ColorRGB32::b | ( | ) | [inline] |
Standard_Byte Image_ColorRGB32::g | ( | ) | const [inline] |
Standard_Byte& Image_ColorRGB32::g | ( | ) | [inline] |
static Standard_Integer Image_ColorRGB32::Length | ( | void | ) | [inline, static] |
Standard_Byte Image_ColorRGB32::r | ( | ) | const [inline] |
Standard_Byte& Image_ColorRGB32::r | ( | ) | [inline] |