Magick++ 7.1.2
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
 

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 2467 of file Drawable.cpp.

2468 : _coordinates(1,coordinate_)
2469{
2470}

◆ PathMovetoRel() [2/3]

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

Definition at line 2471 of file Drawable.cpp.

2472 : _coordinates(coordinates_)
2473{
2474}

◆ PathMovetoRel() [3/3]

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

Definition at line 2475 of file Drawable.cpp.

2476 : VPathBase (original_),
2477 _coordinates(original_._coordinates)
2478{
2479}

◆ ~PathMovetoRel()

Magick::PathMovetoRel::~PathMovetoRel ( void )

Definition at line 2480 of file Drawable.cpp.

2481{
2482}

Member Function Documentation

◆ copy()

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

Implements Magick::VPathBase.

Definition at line 2491 of file Drawable.cpp.

2492{
2493 return new PathMovetoRel(*this);
2494}

◆ operator()()

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

Implements Magick::VPathBase.

Definition at line 2483 of file Drawable.cpp.

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

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: