TwiceAsNice
2019-02-18
|
A RGB color with byte representations of red, green and blue. More...
#include <Image.h>
Public Member Functions | |
RgbPixel () | |
ctor as a black pixel. All three componets are set to zero. More... | |
RgbPixel (Nice::U8 _r, Nice::U8 _g, Nice::U8 _b) | |
ctor with full specification. More... | |
RgbPixel & | operator= (Nice::U8 _rhs) |
copy ctor. More... | |
RgbPixel & | operator= (const RgbPixel &_rhs) |
assignment More... | |
RgbPixel & | operator+= (const RgbPixel &_rhs) |
Increase the brightness. More... | |
RgbPixel & | operator+= (Nice::U8 _rhs) |
Increase the brightness. More... | |
template<typename SrcType > | |
operator SrcType () const | |
RgbPixel () | |
ctor as a black pixel. All three componets are set to zero. More... | |
RgbPixel (Nice::U8 _r, Nice::U8 _g, Nice::U8 _b) | |
ctor with full specification. More... | |
RgbPixel & | operator= (Nice::U8 _rhs) |
copy ctor. More... | |
RgbPixel & | operator= (const RgbPixel &_rhs) |
assignment More... | |
RgbPixel & | operator+= (const RgbPixel &_rhs) |
Increase the brightness. More... | |
RgbPixel & | operator+= (Nice::U8 _rhs) |
Increase the brightness. More... | |
template<typename SrcType > | |
operator SrcType () const | |
RgbPixel () | |
ctor as a black pixel. All three componets are set to zero. More... | |
RgbPixel (Nice::U8 _r, Nice::U8 _g, Nice::U8 _b) | |
ctor with full specification. More... | |
RgbPixel & | operator= (Nice::U8 _rhs) |
copy ctor. More... | |
RgbPixel & | operator= (const RgbPixel &_rhs) |
assignment More... | |
RgbPixel & | operator+= (const RgbPixel &_rhs) |
Increase the brightness. More... | |
RgbPixel & | operator+= (Nice::U8 _rhs) |
Increase the brightness. More... | |
template<typename SrcType > | |
operator SrcType () const | |
Public Attributes | |
Nice::U8 | b |
blue component (as a 8bit integer) More... | |
Nice::U8 | g |
green component (as a 8bit integer) More... | |
Nice::U8 | r |
red component (as a 8bit integer) More... | |
A RGB color with byte representations of red, green and blue.
|
inline |
ctor as a black pixel. All three componets are set to zero.
ctor with full specification.
_r | The red component in the range 0..255 |
_g | The green component in the range 0..255 |
_b | The blue component in the range 0..255 |
|
inline |
ctor as a black pixel. All three componets are set to zero.
ctor with full specification.
_r | The red component in the range 0..255 |
_g | The green component in the range 0..255 |
_b | The blue component in the range 0..255 |
|
inline |
ctor as a black pixel. All three componets are set to zero.
ctor with full specification.
_r | The red component in the range 0..255 |
_g | The green component in the range 0..255 |
_b | The blue component in the range 0..255 |
|
inline |
|
inline |
|
inline |
Increase the brightness.
_rhs | The intensities of the three colors to be added to this. |
Increase the brightness.
_rhs | The intensities of the three colors to be added to this. |
Increase the brightness.
_rhs | The intensities of the three colors to be added to this. |
Increase the brightness.
_rhs | The intensities of the three colors to be added to this. |
Increase the brightness.
_rhs | The intensities of the three colors to be added to this. |
Increase the brightness.
_rhs | The intensities of the three colors to be added to this. |
copy ctor.
_rhs | The color to be copied. |
copy ctor.
_rhs | The color to be copied. |
copy ctor.
_rhs | The color to be copied. |
assignment
_rhs | The color to be assigned. |
assignment
_rhs | The color to be assigned. |
assignment
_rhs | The color to be assigned. |
Nice::U8 Basda::RgbPixel::b |
blue component (as a 8bit integer)
Nice::U8 Basda::RgbPixel::g |
green component (as a 8bit integer)
Nice::U8 Basda::RgbPixel::r |
red component (as a 8bit integer)