![]() |
Magick++ 7.1.1
|
Public Types | |
enum | PixelType { CMYKPixel , CMYKAPixel , RGBPixel , RGBAPixel } |
Public Member Functions | |
Color (const Magick::Quantum red_, const Magick::Quantum green_, const Magick::Quantum blue_) | |
Color (const Magick::Quantum red_, const Magick::Quantum green_, const Magick::Quantum blue_, const Magick::Quantum alpha_) | |
Color (const Magick::Quantum cyan_, const Magick::Quantum magenta_, const Magick::Quantum yellow_, const Magick::Quantum black_, const Magick::Quantum alpha_) | |
Color (const char *color_) | |
Color (const Color &color_) | |
Color (const PixelInfo &color_) | |
Color (const std::string &color_) | |
Color & | operator= (const Color &color_) |
const Color & | operator= (const char *color) |
const Color & | operator= (const PixelInfo &color_) |
const Color & | operator= (const std::string &color) |
operator PixelInfo () const | |
operator std::string () const | |
bool | isFuzzyEquivalent (const Color &color_, const double fuzz_) const |
void | isValid (const bool valid_) |
bool | isValid (void) const |
Magick::Color::PixelType | pixelType (void) const |
void | quantumAlpha (const Quantum alpha_) |
Quantum | quantumAlpha (void) const |
void | quantumBlack (const Quantum black_) |
Quantum | quantumBlack (void) const |
void | quantumBlue (const Quantum blue_) |
Quantum | quantumBlue (void) const |
void | quantumGreen (const Quantum green_) |
Quantum | quantumGreen (void) const |
void | quantumRed (const Quantum red_) |
Quantum | quantumRed (void) const |
Protected Member Functions | |
Color (PixelInfo *rep_, PixelType pixelType_) | |
Color (PixelType pixelType_) | |
void | pixel (PixelInfo *rep_, PixelType pixelType_) |
Static Protected Member Functions | |
static Quantum | scaleDoubleToQuantum (const double double_) |
static double | scaleQuantumToDouble (const Quantum quantum_) |
Protected Attributes | |
PixelInfo * | _pixel |
Private Member Functions | |
void | initPixel () |
void | setAlpha (const Magick::Quantum alpha_) |
void | setPixelType (const PixelInfo &color_) |
Private Attributes | |
bool | _isValid |
bool | _pixelOwn |
PixelType | _pixelType |
enum Magick::Color::PixelType |
Magick::Color::Color | ( | void | ) |
Magick::Color::Color | ( | const Magick::Quantum | red_, |
const Magick::Quantum | green_, | ||
const Magick::Quantum | blue_ ) |
Magick::Color::Color | ( | const Magick::Quantum | red_, |
const Magick::Quantum | green_, | ||
const Magick::Quantum | blue_, | ||
const Magick::Quantum | alpha_ ) |
Definition at line 105 of file Color.cpp.
Magick::Color::Color | ( | const Magick::Quantum | cyan_, |
const Magick::Quantum | magenta_, | ||
const Magick::Quantum | yellow_, | ||
const Magick::Quantum | black_, | ||
const Magick::Quantum | alpha_ ) |
Definition at line 123 of file Color.cpp.
Magick::Color::Color | ( | const char * | color_ | ) |
Magick::Color::Color | ( | const Color & | color_ | ) |
Magick::Color::Color | ( | const PixelInfo & | color_ | ) |
Magick::Color::Color | ( | const std::string & | color_ | ) |
|
virtual |
|
protected |
|
protected |
|
private |
bool Magick::Color::isFuzzyEquivalent | ( | const Color & | color_, |
const double | fuzz_ ) const |
void Magick::Color::isValid | ( | const bool | valid_ | ) |
bool Magick::Color::isValid | ( | void | ) | const |
Magick::Color::operator std::string | ( | ) | const |
Definition at line 258 of file Color.cpp.
const Magick::Color & Magick::Color::operator= | ( | const char * | color | ) |
Magick::Color & Magick::Color::operator= | ( | const Color & | color_ | ) |
Definition at line 192 of file Color.cpp.
const Magick::Color & Magick::Color::operator= | ( | const std::string & | color | ) |
Definition at line 223 of file Color.cpp.
|
protected |
Magick::Color::PixelType Magick::Color::pixelType | ( | void | ) | const |
void Magick::Color::quantumAlpha | ( | const Quantum | alpha_ | ) |
Magick::Quantum Magick::Color::quantumAlpha | ( | void | ) | const |
void Magick::Color::quantumBlack | ( | const Quantum | black_ | ) |
Magick::Quantum Magick::Color::quantumBlack | ( | void | ) | const |
void Magick::Color::quantumBlue | ( | const Quantum | blue_ | ) |
Magick::Quantum Magick::Color::quantumBlue | ( | void | ) | const |
void Magick::Color::quantumGreen | ( | const Quantum | green_ | ) |
Magick::Quantum Magick::Color::quantumGreen | ( | void | ) | const |
void Magick::Color::quantumRed | ( | const Quantum | red_ | ) |
Magick::Quantum Magick::Color::quantumRed | ( | void | ) | const |
|
staticprotected |
|
staticprotected |
Definition at line 410 of file Color.cpp.
|
private |
Definition at line 426 of file Color.cpp.
|
private |