#include <rgb_pixel.hpp>
Public Member Functions | |
basic_rgb_pixel () | |
Default constructor. Initializes all components with zeros. | |
basic_rgb_pixel (T red, T green, T blue) | |
Constructs rgb_pixel object from red, green and blue components passed as parameters. | |
Public Attributes | |
T | red |
T | green |
T | blue |
png::basic_rgb_pixel< T >::basic_rgb_pixel | ( | ) | [inline] |
Default constructor. Initializes all components with zeros.
png::basic_rgb_pixel< T >::basic_rgb_pixel | ( | T | red, | |
T | green, | |||
T | blue | |||
) | [inline] |
Constructs rgb_pixel object from red, green and blue components passed as parameters.
T png::basic_rgb_pixel< T >::red |
T png::basic_rgb_pixel< T >::green |
T png::basic_rgb_pixel< T >::blue |