Magick++ 6.9.13
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 3014 of file Drawable.h.

Constructor & Destructor Documentation

◆ PathMovetoRel() [1/3]

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

Definition at line 2275 of file Drawable.cpp.

2276 : _coordinates(1,coordinate_)
2277{
2278}

◆ PathMovetoRel() [2/3]

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

Definition at line 2279 of file Drawable.cpp.

2280 : _coordinates(coordinates_)
2281{
2282}

◆ PathMovetoRel() [3/3]

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

Definition at line 2283 of file Drawable.cpp.

2284 : VPathBase (original_),
2285 _coordinates(original_._coordinates)
2286{
2287}

◆ ~PathMovetoRel()

Magick::PathMovetoRel::~PathMovetoRel ( void )

Definition at line 2288 of file Drawable.cpp.

2289{
2290}

Member Function Documentation

◆ copy()

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

Implements Magick::VPathBase.

Definition at line 2299 of file Drawable.cpp.

2300{
2301 return new PathMovetoRel(*this);
2302}

◆ operator()()

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

Implements Magick::VPathBase.

Definition at line 2291 of file Drawable.cpp.

2292{
2293 for( CoordinateList::const_iterator p = _coordinates.begin();
2294 p != _coordinates.end(); p++ )
2295 {
2296 DrawPathMoveToRelative( context_, p->x(), p->y() );
2297 }
2298}

Member Data Documentation

◆ _coordinates

CoordinateList Magick::PathMovetoRel::_coordinates
private

Definition at line 3036 of file Drawable.h.


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