Definition at line 1839 of file Drawable.h.
◆ DrawableStrokeColor() [1/2]
| Magick::DrawableStrokeColor::DrawableStrokeColor |
( |
const Color & | color_ | ) |
|
◆ DrawableStrokeColor() [2/2]
Definition at line 1237 of file Drawable.cpp.
1239 : DrawableBase (original_),
1240 _color(original_._color)
1241{
1242}
◆ ~DrawableStrokeColor()
| Magick::DrawableStrokeColor::~DrawableStrokeColor |
( |
void | | ) |
|
◆ color() [1/2]
| void Magick::DrawableStrokeColor::color |
( |
const Color & | color_ | ) |
|
|
inline |
Definition at line 1854 of file Drawable.h.
1855 {
1856 _color = color_;
1857 }
◆ color() [2/2]
| Color Magick::DrawableStrokeColor::color |
( |
void | | ) |
const |
|
inline |
Definition at line 1858 of file Drawable.h.
1859 {
1860 return _color;
1861 }
◆ copy()
◆ operator()()
| void Magick::DrawableStrokeColor::operator() |
( |
MagickCore::DrawingWand * | context_ | ) |
const |
|
virtual |
Implements Magick::DrawableBase.
Definition at line 1246 of file Drawable.cpp.
1248{
1249 PixelPacket color = static_cast<PixelPacket>(_color);
1250 PixelWand *pixel_wand=NewPixelWand();
1251 PixelSetQuantumColor(pixel_wand,&color);
1252 DrawSetStrokeColor(context_,pixel_wand);
1253 pixel_wand=DestroyPixelWand(pixel_wand);
1254}
◆ _color
| Color Magick::DrawableStrokeColor::_color |
|
private |
The documentation for this class was generated from the following files: