webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
webrtc::RgbaColor Struct Referencefinal

#include <rgba_color.h>

Public Member Functions

 RgbaColor (uint8_t blue, uint8_t green, uint8_t red, uint8_t alpha)
 
 RgbaColor (uint8_t blue, uint8_t green, uint8_t red)
 
 RgbaColor (const uint8_t *bgra)
 
 RgbaColor (uint32_t bgra)
 
bool operator== (const RgbaColor &right) const
 
bool operator!= (const RgbaColor &right) const
 
uint32_t ToUInt32 () const
 
 RgbaColor (uint8_t blue, uint8_t green, uint8_t red, uint8_t alpha)
 
 RgbaColor (uint8_t blue, uint8_t green, uint8_t red)
 
 RgbaColor (const uint8_t *bgra)
 
 RgbaColor (uint32_t bgra)
 
bool operator== (const RgbaColor &right) const
 
bool operator!= (const RgbaColor &right) const
 
uint32_t ToUInt32 () const
 

Public Attributes

uint8_t blue
 
uint8_t green
 
uint8_t red
 
uint8_t alpha
 

Constructor & Destructor Documentation

◆ RgbaColor() [1/8]

webrtc::RgbaColor::RgbaColor ( uint8_t  blue,
uint8_t  green,
uint8_t  red,
uint8_t  alpha 
)

◆ RgbaColor() [2/8]

webrtc::RgbaColor::RgbaColor ( uint8_t  blue,
uint8_t  green,
uint8_t  red 
)

◆ RgbaColor() [3/8]

webrtc::RgbaColor::RgbaColor ( const uint8_t bgra)
explicit

◆ RgbaColor() [4/8]

webrtc::RgbaColor::RgbaColor ( uint32_t  bgra)
explicit

◆ RgbaColor() [5/8]

webrtc::RgbaColor::RgbaColor ( uint8_t  blue,
uint8_t  green,
uint8_t  red,
uint8_t  alpha 
)

◆ RgbaColor() [6/8]

webrtc::RgbaColor::RgbaColor ( uint8_t  blue,
uint8_t  green,
uint8_t  red 
)

◆ RgbaColor() [7/8]

webrtc::RgbaColor::RgbaColor ( const uint8_t bgra)
explicit

◆ RgbaColor() [8/8]

webrtc::RgbaColor::RgbaColor ( uint32_t  bgra)
explicit

Member Function Documentation

◆ operator!=() [1/2]

bool webrtc::RgbaColor::operator!= ( const RgbaColor right) const

◆ operator!=() [2/2]

bool webrtc::RgbaColor::operator!= ( const RgbaColor right) const

◆ operator==() [1/2]

bool webrtc::RgbaColor::operator== ( const RgbaColor right) const

◆ operator==() [2/2]

bool webrtc::RgbaColor::operator== ( const RgbaColor right) const

◆ ToUInt32() [1/2]

uint32_t webrtc::RgbaColor::ToUInt32 ( ) const

◆ ToUInt32() [2/2]

uint32_t webrtc::RgbaColor::ToUInt32 ( ) const

Member Data Documentation

◆ alpha

uint8_t webrtc::RgbaColor::alpha

◆ blue

uint8_t webrtc::RgbaColor::blue

◆ green

uint8_t webrtc::RgbaColor::green

◆ red

uint8_t webrtc::RgbaColor::red

The documentation for this struct was generated from the following files: