Magick++ 6.9.13
Loading...
Searching...
No Matches
Magick::DrawablePath Class Reference
Inheritance diagram for Magick::DrawablePath:
Collaboration diagram for Magick::DrawablePath:

Public Member Functions

 DrawablePath (const VPathList &path_)
 DrawablePath (const DrawablePath &original_)
void operator() (MagickCore::DrawingWand *context_) const
DrawableBasecopy () const

Private Attributes

VPathList _path

Detailed Description

Definition at line 1125 of file Drawable.h.

Constructor & Destructor Documentation

◆ DrawablePath() [1/2]

Magick::DrawablePath::DrawablePath ( const VPathList & path_)

Definition at line 747 of file Drawable.cpp.

748 : _path(path_)
749{
750}

◆ DrawablePath() [2/2]

Magick::DrawablePath::DrawablePath ( const DrawablePath & original_)

Definition at line 751 of file Drawable.cpp.

752 : DrawableBase (original_),
753 _path(original_._path)
754{
755}

◆ ~DrawablePath()

Magick::DrawablePath::~DrawablePath ( void )

Definition at line 756 of file Drawable.cpp.

757{
758}

Member Function Documentation

◆ copy()

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

Implements Magick::DrawableBase.

Definition at line 769 of file Drawable.cpp.

770{
771 return new DrawablePath(*this);
772}

◆ operator()()

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

Implements Magick::DrawableBase.

Definition at line 759 of file Drawable.cpp.

760{
761 DrawPathStart( context_ );
762
763 for( VPathList::const_iterator p = _path.begin();
764 p != _path.end(); p++ )
765 p->operator()( context_ ); // FIXME, how to quit loop on error?
766
767 DrawPathFinish( context_ );
768}

Member Data Documentation

◆ _path

VPathList Magick::DrawablePath::_path
private

Definition at line 1141 of file Drawable.h.


The documentation for this class was generated from the following files: