Definition at line 936 of file Drawable.h.
◆ DrawableFillColor() [1/2]
Magick::DrawableFillColor::DrawableFillColor |
( |
const Color & | color_ | ) |
|
Definition at line 684 of file Drawable.cpp.
685 : _color(color_)
686{
687}
◆ DrawableFillColor() [2/2]
Definition at line 688 of file Drawable.cpp.
690 : DrawableBase (original_),
691 _color(original_._color)
692{
693}
◆ ~DrawableFillColor()
Magick::DrawableFillColor::~DrawableFillColor |
( |
void | | ) |
|
◆ color() [1/2]
void Magick::DrawableFillColor::color |
( |
const Color & | color_ | ) |
|
|
inline |
Definition at line 951 of file Drawable.h.
952 {
953 _color = color_;
954 }
◆ color() [2/2]
Color Magick::DrawableFillColor::color |
( |
void | | ) |
const |
|
inline |
Definition at line 955 of file Drawable.h.
956 {
957 return _color;
958 }
◆ copy()
◆ operator()()
void Magick::DrawableFillColor::operator() |
( |
MagickCore::DrawingWand * | context_ | ) |
const |
|
virtual |
Reimplemented from Magick::DrawableBase.
Definition at line 697 of file Drawable.cpp.
699{
700 PixelInfo color = static_cast<PixelInfo>(_color);
701 PixelWand *pixel_wand=NewPixelWand();
702 PixelSetPixelColor(pixel_wand,&color);
703 DrawSetFillColor(context_,pixel_wand);
704 pixel_wand=DestroyPixelWand(pixel_wand);
705}
◆ _color
Color Magick::DrawableFillColor::_color |
|
private |
The documentation for this class was generated from the following files: