Definition at line 1912 of file Drawable.h.
◆ DrawableStrokeColor() [1/2]
Magick::DrawableStrokeColor::DrawableStrokeColor |
( |
const Color & |
color_ | ) |
|
◆ DrawableStrokeColor() [2/2]
Definition at line 1386 of file Drawable.cpp.
1388 : DrawableBase (original_),
1389 _color(original_._color)
1390{
1391}
◆ ~DrawableStrokeColor()
Magick::DrawableStrokeColor::~DrawableStrokeColor |
( |
void |
| ) |
|
◆ color() [1/2]
void Magick::DrawableStrokeColor::color |
( |
const Color & |
color_ | ) |
|
|
inline |
Definition at line 1927 of file Drawable.h.
1928 {
1929 _color = color_;
1930 }
◆ color() [2/2]
Color Magick::DrawableStrokeColor::color |
( |
void |
| ) |
const |
|
inline |
Definition at line 1931 of file Drawable.h.
1932 {
1933 return _color;
1934 }
◆ copy()
◆ operator()()
void Magick::DrawableStrokeColor::operator() |
( |
MagickCore::DrawingWand * |
context_ | ) |
const |
|
virtual |
Reimplemented from Magick::DrawableBase.
Definition at line 1395 of file Drawable.cpp.
1397{
1398 PixelInfo color = static_cast<PixelInfo>(_color);
1399 PixelWand *pixel_wand=NewPixelWand();
1400 PixelSetPixelColor(pixel_wand,&color);
1401 DrawSetStrokeColor(context_,pixel_wand);
1402 pixel_wand=DestroyPixelWand(pixel_wand);
1403}
◆ _color
Color Magick::DrawableStrokeColor::_color |
|
private |
The documentation for this class was generated from the following files: