Definition at line 854 of file Drawable.h.
◆ DrawableFillColor() [1/2]
| Magick::DrawableFillColor::DrawableFillColor |
( |
const Color & | color_ | ) |
|
Definition at line 591 of file Drawable.cpp.
592 : _color(color_)
593{
594}
◆ DrawableFillColor() [2/2]
Definition at line 595 of file Drawable.cpp.
597 : DrawableBase (original_),
598 _color(original_._color)
599{
600}
◆ ~DrawableFillColor()
| Magick::DrawableFillColor::~DrawableFillColor |
( |
void | | ) |
|
◆ color() [1/2]
| void Magick::DrawableFillColor::color |
( |
const Color & | color_ | ) |
|
|
inline |
Definition at line 869 of file Drawable.h.
870 {
871 _color = color_;
872 }
◆ color() [2/2]
| Color Magick::DrawableFillColor::color |
( |
void | | ) |
const |
|
inline |
Definition at line 873 of file Drawable.h.
874 {
875 return _color;
876 }
◆ copy()
◆ operator()()
| void Magick::DrawableFillColor::operator() |
( |
MagickCore::DrawingWand * | context_ | ) |
const |
|
virtual |
Implements Magick::DrawableBase.
Definition at line 604 of file Drawable.cpp.
606{
607 PixelPacket color = static_cast<PixelPacket>(_color);
608 PixelWand *pixel_wand=NewPixelWand();
609 PixelSetQuantumColor(pixel_wand,&color);
610 DrawSetFillColor(context_,pixel_wand);
611 pixel_wand=DestroyPixelWand(pixel_wand);
612}
◆ _color
| Color Magick::DrawableFillColor::_color |
|
private |
The documentation for this class was generated from the following files: