31 #ifndef PNGPP_COLOR_HPP_INCLUDED 32 #define PNGPP_COLOR_HPP_INCLUDED 45 explicit color(
byte r = 0,
byte g = 0,
byte b = 0)
57 this->red = other.red;
58 this->green = other.green;
59 this->blue = other.blue;
65 #endif // PNGPP_COLOR_HPP_INCLUDED color(byte r=0, byte g=0, byte b=0)
Definition: color.hpp:45
color(png_color const &other)
Initializes color with a copy of png_color object.
Definition: color.hpp:55
PNG color struct extension. Adds constructors.
Definition: color.hpp:42