DxLibEx
dxle::color::rgb Class Referencefinal

#include <color.hpp>

Inheritance diagram for dxle::color::rgb:
Collaboration diagram for dxle::color::rgb:

Public Member Functions

DXLE_CONSTEXPR rgb () DXLE_NOEXCEPT_OR_NOTHROW
 
DXLE_CONSTEXPR rgb (int red_, int green_, int blue_)
 
DXLE_CONSTEXPR rgb (color_tag)
 
 rgb (dx_color) DXLE_NOEXCEPT_OR_NOTHROW
 
DXLE_CXX14_CONSTEXPR rgbreverse () DXLE_NOEXCEPT_OR_NOTHROW
 

Public Attributes

rgb_value_t red
 
rgb_value_t green
 
rgb_value_t blue
 

Detailed Description

Definition at line 54 of file color.hpp.

Constructor & Destructor Documentation

§ rgb() [1/4]

DXLE_CONSTEXPR dxle::color::rgb::rgb ( )
inline

Definition at line 78 of file color.hpp.

§ rgb() [2/4]

DXLE_CONSTEXPR dxle::color::rgb::rgb ( int  red_,
int  green_,
int  blue_ 
)
inline

Definition at line 81 of file color.hpp.

§ rgb() [3/4]

DXLE_CXX14_CONSTEXPR dxle::color::rgb::rgb ( color_tag  color_tag_)
inline

Definition at line 259 of file color.hpp.

§ rgb() [4/4]

dxle::color::rgb::rgb ( dx_color  dx_color_)
inline

Definition at line 284 of file color.hpp.

Member Function Documentation

§ reverse()

DXLE_CXX14_CONSTEXPR rgb& dxle::color::rgb::reverse ( )
inline

Definition at line 87 of file color.hpp.

Member Data Documentation

§ blue

rgb_value_t dxle::color::rgb::blue

Definition at line 76 of file color.hpp.

§ green

rgb_value_t dxle::color::rgb::green

Definition at line 75 of file color.hpp.

§ red

rgb_value_t dxle::color::rgb::red

Definition at line 74 of file color.hpp.


The documentation for this class was generated from the following file: