Magick++ 7.1.1
Loading...
Searching...
No Matches
Magick::PathMovetoRel Class Reference
Inheritance diagram for Magick::PathMovetoRel:
Collaboration diagram for Magick::PathMovetoRel:

Public Member Functions

 PathMovetoRel (const Magick::Coordinate &coordinate_)
 
 PathMovetoRel (const CoordinateList &coordinates_)
 
 PathMovetoRel (const PathMovetoRel &original_)
 
void operator() (MagickCore::DrawingWand *context_) const
 
VPathBasecopy () const
 
virtual void operator() (MagickCore::DrawingWand *context_) const =0
 
virtual VPathBasecopy () const =0
 

Private Attributes

CoordinateList _coordinates
 

Detailed Description

Definition at line 3113 of file Drawable.h.

Constructor & Destructor Documentation

◆ PathMovetoRel() [1/3]

Magick::PathMovetoRel::PathMovetoRel ( const Magick::Coordinate coordinate_)

Definition at line 2465 of file Drawable.cpp.

2466 : _coordinates(1,coordinate_)
2467{
2468}

◆ PathMovetoRel() [2/3]

Magick::PathMovetoRel::PathMovetoRel ( const CoordinateList &  coordinates_)

Definition at line 2469 of file Drawable.cpp.

2470 : _coordinates(coordinates_)
2471{
2472}

◆ PathMovetoRel() [3/3]

Magick::PathMovetoRel::PathMovetoRel ( const PathMovetoRel original_)

Definition at line 2473 of file Drawable.cpp.

2474 : VPathBase (original_),
2475 _coordinates(original_._coordinates)
2476{
2477}

◆ ~PathMovetoRel()

Magick::PathMovetoRel::~PathMovetoRel ( void  )

Definition at line 2478 of file Drawable.cpp.

2479{
2480}

Member Function Documentation

◆ copy()

Magick::VPathBase * Magick::PathMovetoRel::copy ( ) const
virtual

Implements Magick::VPathBase.

Definition at line 2489 of file Drawable.cpp.

2490{
2491 return new PathMovetoRel(*this);
2492}

◆ operator()()

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

Implements Magick::VPathBase.

Definition at line 2481 of file Drawable.cpp.

2482{
2483 for( CoordinateList::const_iterator p = _coordinates.begin();
2484 p != _coordinates.end(); p++ )
2485 {
2486 DrawPathMoveToRelative( context_, p->x(), p->y() );
2487 }
2488}

Member Data Documentation

◆ _coordinates

CoordinateList Magick::PathMovetoRel::_coordinates
private

Definition at line 3135 of file Drawable.h.


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