Magick++ 7.1.2-32
Convert, Edit, Or Compose Bitmap Images
Loading...
Searching...
No Matches
Magick::DrawableBorderColor Class Reference
Inheritance diagram for Magick::DrawableBorderColor:
Magick::DrawableBase

Public Member Functions

 DrawableBorderColor (const Color &color_)
 DrawableBorderColor (const DrawableBorderColor &original_)
void operator() (MagickCore::DrawingWand *context_) const
void color (const Color &color_)
Color color (void) const
DrawableBase * copy () const

Private Attributes

Color _color

Detailed Description

Definition at line 469 of file Drawable.h.

Constructor & Destructor Documentation

◆ DrawableBorderColor() [1/2]

Magick::DrawableBorderColor::DrawableBorderColor ( const Color & color_)

Definition at line 275 of file Drawable.cpp.

276 : _color(color_)
277{
278}

◆ DrawableBorderColor() [2/2]

Magick::DrawableBorderColor::DrawableBorderColor ( const DrawableBorderColor & original_)

Definition at line 280 of file Drawable.cpp.

282 : DrawableBase(original_),
283 _color(original_._color)
284{
285}

◆ ~DrawableBorderColor()

Magick::DrawableBorderColor::~DrawableBorderColor ( void )

Definition at line 287 of file Drawable.cpp.

288{
289}

Member Function Documentation

◆ color() [1/2]

void Magick::DrawableBorderColor::color ( const Color & color_)

Definition at line 307 of file Drawable.cpp.

308{
309 _color=color_;
310}

◆ color() [2/2]

Magick::Color Magick::DrawableBorderColor::color ( void ) const

Definition at line 312 of file Drawable.cpp.

313{
314 return(_color);
315}

◆ copy()

Magick::DrawableBase * Magick::DrawableBorderColor::copy ( ) const
virtual

Reimplemented from Magick::DrawableBase.

Definition at line 317 of file Drawable.cpp.

318{
319 return(new DrawableBorderColor(*this));
320}

◆ operator()()

void Magick::DrawableBorderColor::operator() ( MagickCore::DrawingWand * context_) const
virtual

Reimplemented from Magick::DrawableBase.

Definition at line 291 of file Drawable.cpp.

293{
294 PixelInfo
295 color;
296
297 PixelWand
298 *pixel_wand;
299
300 color=static_cast<PixelInfo>(_color);
301 pixel_wand=NewPixelWand();
302 PixelSetPixelColor(pixel_wand,&color);
303 DrawSetBorderColor(context_,pixel_wand);
304 pixel_wand=DestroyPixelWand(pixel_wand);
305}

Field Documentation

◆ _color

Color Magick::DrawableBorderColor::_color
private

Definition at line 489 of file Drawable.h.


The documentation for this class was generated from the following files:
  • /home/cristy/Attic/Build/ImageMagick-7.1.2/rpmbuild/BUILD/ImageMagick-7.1.2-build/ImageMagick-7.1.2-32/Magick++/lib/Magick++/Drawable.h
  • /home/cristy/Attic/Build/ImageMagick-7.1.2/rpmbuild/BUILD/ImageMagick-7.1.2-build/ImageMagick-7.1.2-32/Magick++/lib/Drawable.cpp