Magick++ 7.1.1
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
 
virtual void operator() (MagickCore::DrawingWand *) const
 
virtual DrawableBasecopy () const
 

Private Attributes

VPathList _path
 

Detailed Description

Definition at line 1184 of file Drawable.h.

Constructor & Destructor Documentation

◆ DrawablePath() [1/2]

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

Definition at line 866 of file Drawable.cpp.

867 : _path(path_)
868{
869}

◆ DrawablePath() [2/2]

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

Definition at line 870 of file Drawable.cpp.

871 : DrawableBase (original_),
872 _path(original_._path)
873{
874}

◆ ~DrawablePath()

Magick::DrawablePath::~DrawablePath ( void  )

Definition at line 875 of file Drawable.cpp.

876{
877}

Member Function Documentation

◆ copy()

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

Reimplemented from Magick::DrawableBase.

Definition at line 888 of file Drawable.cpp.

889{
890 return new DrawablePath(*this);
891}

◆ operator()()

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

Reimplemented from Magick::DrawableBase.

Definition at line 878 of file Drawable.cpp.

879{
880 DrawPathStart( context_ );
881
882 for( VPathList::const_iterator p = _path.begin();
883 p != _path.end(); p++ )
884 p->operator()( context_ ); // FIXME, how to quit loop on error?
885
886 DrawPathFinish( context_ );
887}

Member Data Documentation

◆ _path

VPathList Magick::DrawablePath::_path
private

Definition at line 1200 of file Drawable.h.


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