![]() |
![]() |
![]() |
#include <Color.h>
Inheritance diagram for Magick::Color:


Public Member Functions | |
| Color (Quantum red_, Quantum green_, Quantum blue_) | |
| Color (Quantum red_, Quantum green_, Quantum blue_, Quantum alpha_) | |
| Color (const std::string &x11color_) | |
| Color (const char *x11color_) | |
| Color (void) | |
| virtual | ~Color (void) |
| Color (const Color &color_) | |
| void | redQuantum (Quantum red_) |
| Quantum | redQuantum (void) const |
| void | greenQuantum (Quantum green_) |
| Quantum | greenQuantum (void) const |
| void | blueQuantum (Quantum blue_) |
| Quantum | blueQuantum (void) const |
| void | alphaQuantum (Quantum alpha_) |
| Quantum | alphaQuantum (void) const |
| void | alpha (double alpha_) |
| double | alpha (void) const |
| void | isValid (bool valid_) |
| bool | isValid (void) const |
| const Color & | operator= (const std::string &x11color_) |
| const Color & | operator= (const char *x11color_) |
| Color & | operator= (const Color &color_) |
| operator std::string () const | |
| operator PixelPacket () const | |
| Color (const PixelPacket &color_) | |
| const Color & | operator= (const PixelPacket &color_) |
| double | intensity (void) const |
| Color (Quantum red_, Quantum green_, Quantum blue_) | |
| Color (Quantum red_, Quantum green_, Quantum blue_, Quantum alpha_) | |
| Color (const std::string &x11color_) | |
| Color (const char *x11color_) | |
| Color (void) | |
| virtual | ~Color (void) |
| Color (const Color &color_) | |
| void | redQuantum (Quantum red_) |
| Quantum | redQuantum (void) const |
| void | greenQuantum (Quantum green_) |
| Quantum | greenQuantum (void) const |
| void | blueQuantum (Quantum blue_) |
| Quantum | blueQuantum (void) const |
| void | alphaQuantum (Quantum alpha_) |
| Quantum | alphaQuantum (void) const |
| void | alpha (double alpha_) |
| double | alpha (void) const |
| void | isValid (bool valid_) |
| bool | isValid (void) const |
| const Color & | operator= (const std::string &x11color_) |
| const Color & | operator= (const char *x11color_) |
| Color & | operator= (const Color &color_) |
| operator std::string () const | |
| operator PixelPacket () const | |
| Color (const PixelPacket &color_) | |
| const Color & | operator= (const PixelPacket &color_) |
| double | intensity (void) const |
Static Public Member Functions | |
| Quantum | scaleDoubleToQuantum (const double double_) |
| double | scaleQuantumToDouble (const Quantum quantum_) |
| double | scaleQuantumToDouble (const double quantum_) |
| Quantum | scaleDoubleToQuantum (const double double_) |
| double | scaleQuantumToDouble (const Quantum quantum_) |
| double | scaleQuantumToDouble (const double quantum_) |
Protected Types | |
| enum | PixelType { RGBPixel, RGBAPixel, CYMKPixel } |
| enum | PixelType { RGBPixel, RGBAPixel, CYMKPixel } |
Protected Member Functions | |
| Color (PixelPacket *rep_, PixelType pixelType_) | |
| void | pixel (PixelPacket *rep_, PixelType pixelType_) |
| Color (PixelPacket *rep_, PixelType pixelType_) | |
| void | pixel (PixelPacket *rep_, PixelType pixelType_) |
Protected Attributes | |
| PixelPacket * | _pixel |
| PixelPacket * | _pixel |
Private Member Functions | |
| void | initPixel () |
| void | initPixel () |
Private Attributes | |
| bool | _pixelOwn |
| PixelType | _pixelType |
|
|
Definition at line 131 of file Color.h.
|
|
|
Definition at line 131 of file Color.h.
|
|
||||||||||||||||
|
Definition at line 85 of file Color.cpp. References alphaQuantum(), blueQuantum(), greenQuantum(), OpaqueOpacity, and redQuantum().
Here is the call graph for this function: ![]() |
|
||||||||||||||||||||
|
Definition at line 99 of file Color.cpp. References alphaQuantum(), blueQuantum(), greenQuantum(), and redQuantum().
Here is the call graph for this function: ![]() |
|
|
Definition at line 123 of file Color.cpp. References initPixel().
Here is the call graph for this function: ![]() |
|
|
Definition at line 135 of file Color.cpp. References initPixel().
Here is the call graph for this function: ![]() |
|
|
Definition at line 76 of file Color.cpp. References initPixel().
Here is the call graph for this function: ![]() |
|
|
Definition at line 168 of file Color.cpp. References _pixel, and _pixelOwn.
|
|
|
Definition at line 114 of file Color.cpp. References _pixel.
|
|
|
Definition at line 147 of file Color.cpp. References _pixel, _pixelType, OpaqueOpacity, and RGBAPixel.
|
|
||||||||||||
|
Definition at line 160 of file Color.cpp.
|
|
||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
Definition at line 375 of file Color.h. References alphaQuantum(), and scaleQuantumToDouble().
Here is the call graph for this function: ![]() |
|
|
Definition at line 371 of file Color.h. References alphaQuantum(), and scaleDoubleToQuantum().
Here is the call graph for this function: ![]() |
|
|
|
|
|
|
|
|
Definition at line 359 of file Color.h. References _pixel, and _PixelPacket::opacity. Referenced by alpha(), Color(), Magick::ColorGray::ColorGray(), Magick::ColorHSL::ColorHSL(), Magick::ColorMono::ColorMono(), Magick::ColorRGB::ColorRGB(), Magick::ColorYUV::ColorYUV(), and operator=().
|
|
|
Definition at line 354 of file Color.h. References _pixel, and _PixelPacket::opacity.
|
|
|
|
|
|
|
|
|
Definition at line 349 of file Color.h. References _pixel, and _PixelPacket::blue. Referenced by Magick::ColorRGB::blue(), Color(), Magick::ColorHSL::ColorHSL(), Magick::ColorHSL::hue(), Magick::ColorHSL::luminosity(), Magick::ColorMono::mono(), operator=(), Magick::ColorHSL::saturation(), Magick::ColorGray::shade(), Magick::ColorYUV::u(), Magick::ColorYUV::v(), and Magick::ColorYUV::y().
|
|
|
Definition at line 344 of file Color.h. References _pixel, and _PixelPacket::blue. Referenced by Magick::Image::backgroundColor(), Magick::Image::borderColor(), Magick::Image::matteColor(), Magick::operator<(), and Magick::operator==().
|
|
|
|
|
|
|
|
|
Definition at line 339 of file Color.h. References _pixel, and _PixelPacket::green. Referenced by Color(), Magick::ColorHSL::ColorHSL(), Magick::ColorRGB::green(), Magick::ColorHSL::hue(), Magick::ColorHSL::luminosity(), Magick::ColorMono::mono(), operator=(), Magick::ColorHSL::saturation(), Magick::ColorGray::shade(), Magick::ColorYUV::u(), Magick::ColorYUV::v(), and Magick::ColorYUV::y().
|
|
|
Definition at line 334 of file Color.h. References _pixel, and _PixelPacket::green. Referenced by Magick::Image::backgroundColor(), Magick::Image::borderColor(), Magick::Image::matteColor(), Magick::operator<(), and Magick::operator==().
|
|
|
|
|
|
Definition at line 316 of file Color.h. References _pixel, _PixelPacket::blue, _PixelPacket::green, _PixelPacket::opacity, _PixelPacket::red, and TransparentOpacity. Referenced by Color(), isValid(), and operator=().
|
|
|
Definition at line 92 of file Color.h.
|
|
|
Definition at line 92 of file Color.h. Referenced by Magick::operator<().
|
|
|
|
|
|
|
|
|
Definition at line 269 of file Color.cpp. References _pixel, _PixelPacket::blue, _PixelPacket::green, _PixelPacket::opacity, _PixelPacket::red, and TransparentOpacity. Referenced by isValid(), and operator std::string().
|
|
|
Definition at line 276 of file Color.cpp. References _pixel, _pixelOwn, initPixel(), and isValid(). Referenced by Magick::Image::backgroundColor(), Magick::Image::borderColor(), Magick::Image::colorize(), Magick::Image::colorMap(), Magick::Image::matteColor(), Magick::Image::opaque(), Magick::floodFillTextureImage::operator()(), Magick::floodFillColorImage::operator()(), Magick::operator==(), Magick::Image::pixelColor(), and Magick::Image::transparent().
Here is the call graph for this function: ![]() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in Magick::ColorHSL, Magick::ColorGray, Magick::ColorMono, Magick::ColorRGB, Magick::ColorYUV, Magick::ColorHSL, Magick::ColorGray, Magick::ColorMono, Magick::ColorRGB, and Magick::ColorYUV. Definition at line 176 of file Color.cpp. References _pixel, and _pixelType.
|
|
|
Definition at line 217 of file Color.cpp.
|
|
|
Definition at line 191 of file Color.cpp. References _pixelType, alphaQuantum(), _PixelPacket::blue, blueQuantum(), DestroyExceptionInfo(), ExceptionInfo, GetExceptionInfo(), _PixelPacket::green, greenQuantum(), initPixel(), _PixelPacket::opacity, OpaqueOpacity, QueryColorDatabase(), _PixelPacket::red, redQuantum(), RGBAPixel, RGBPixel, and Magick::throwException().
Here is the call graph for this function: ![]() |
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 259 of file Color.cpp. References _pixel, _pixelOwn, _pixelType, and pixel(). Referenced by operator std::string(), and pixel().
Here is the call graph for this function: ![]() |
|
|
|
|
|
|
|
|
Definition at line 329 of file Color.h. References _pixel, and _PixelPacket::red. Referenced by Color(), Magick::ColorHSL::ColorHSL(), Magick::ColorHSL::hue(), Magick::ColorHSL::luminosity(), Magick::ColorMono::mono(), operator=(), Magick::ColorRGB::red(), Magick::ColorHSL::saturation(), Magick::ColorGray::shade(), Magick::ColorYUV::u(), Magick::ColorYUV::v(), and Magick::ColorYUV::y().
|
|
|
Definition at line 324 of file Color.h. References _pixel, and _PixelPacket::red. R |