8 #if !defined (Magick_Color_header) 9 #define Magick_Color_header 71 Color(
const Magick::Quantum red_,
const Magick::Quantum green_,
72 const Magick::Quantum blue_);
75 Color(
const Magick::Quantum red_,
const Magick::Quantum green_,
76 const Magick::Quantum blue_,
const Magick::Quantum alpha_);
79 Color(
const Magick::Quantum cyan_,
const Magick::Quantum magenta_,
80 const Magick::Quantum yellow_,
const Magick::Quantum black_,
81 const Magick::Quantum alpha_);
84 Color(
const char *color_);
90 Color(
const PixelInfo &color_);
93 Color(
const std::string &color_);
102 const Color& operator=(
const char *color);
105 const Color& operator=(
const PixelInfo &color_);
108 const Color& operator=(
const std::string &color);
111 operator PixelInfo()
const;
114 operator std::string()
const;
118 bool isFuzzyEquivalent(
const Color &color_,
const double fuzz_)
const;
121 void isValid(
const bool valid_);
122 bool isValid(
void)
const;
128 void quantumAlpha(
const Quantum alpha_);
129 Quantum quantumAlpha(
void)
const;
132 void quantumBlack(
const Quantum black_);
133 Quantum quantumBlack(
void)
const;
136 void quantumBlue(
const Quantum blue_);
137 Quantum quantumBlue(
void)
const;
140 void quantumGreen(
const Quantum green_);
141 Quantum quantumGreen(
void)
const;
144 void quantumRed(
const Quantum red_);
145 Quantum quantumRed(
void)
const;
151 Color(PixelInfo *rep_,PixelType pixelType_);
154 Color(PixelType pixelType_);
158 void pixel(PixelInfo *rep_,PixelType pixelType_);
161 static Quantum scaleDoubleToQuantum(
const double double_);
164 static double scaleQuantumToDouble(
const Quantum quantum_);
183 void setAlpha(
const Magick::Quantum alpha_);
186 void setPixelType(
const PixelInfo &color_);
200 ColorCMYK(
const double cyan_,
const double magenta_,
const double yellow_,
201 const double black_);
204 ColorCMYK(
const double cyan_,
const double magenta_,
const double yellow_,
205 const double black_,
const double alpha_);
214 void alpha(
const double alpha_);
215 double alpha(
void)
const;
218 void black(
const double black_);
219 double black(
void)
const;
222 void cyan(
const double cyan_);
223 double cyan(
void)
const;
226 void magenta(
const double magenta_);
227 double magenta(
void)
const;
230 void yellow(
const double yellow_);
231 double yellow(
void)
const;
261 void shade(
const double shade_);
262 double shade(
void)
const;
288 ColorHSL(
const double hue_,
const double saturation_,
289 const double lightness_);
298 void hue(
const double hue_);
299 double hue(
void)
const;
302 void lightness(
const double lightness_);
303 double lightness(
void)
const;
306 void saturation(
const double saturation_);
307 double saturation(
void)
const;
340 void mono(
const bool mono_);
341 bool mono(
void)
const;
360 ColorRGB(
const double red_,
const double green_,
const double blue_);
363 ColorRGB(
const double red_,
const double green_,
const double blue_,
364 const double alpha_);
373 void alpha(
const double alpha_);
374 double alpha(
void)
const;
377 void blue(
const double blue_);
378 double blue(
void)
const;
381 void green(
const double green_);
382 double green(
void)
const;
385 void red(
const double red_);
386 double red(
void)
const;
412 ColorYUV(
const double y_,
const double u_,
const double v_);
421 void u(
const double u_);
422 double u(
void)
const;
425 void v(
const double v_);
426 double v(
void)
const;
429 void y(
const double y_);
430 double y(
void)
const;
439 void convert(
const double y_,
const double u_,
const double v_);
444 #endif // Magick_Color_header class MagickPPExport Color