Magick++ 7.1.2
Loading...
Searching...
No Matches
Magick::PathLinetoRel Class Reference
Inheritance diagram for Magick::PathLinetoRel:
Collaboration diagram for Magick::PathLinetoRel:

Public Member Functions

 PathLinetoRel (const Magick::Coordinate &coordinate_)
 
 PathLinetoRel (const CoordinateList &coordinates_)
 
 PathLinetoRel (const PathLinetoRel &original_)
 
void operator() (MagickCore::DrawingWand *context_) const
 
VPathBasecopy () const
 

Private Attributes

CoordinateList _coordinates
 

Detailed Description

Definition at line 2947 of file Drawable.h.

Constructor & Destructor Documentation

◆ PathLinetoRel() [1/3]

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

Definition at line 2349 of file Drawable.cpp.

2350 : _coordinates(1,coordinate_)
2351{
2352}

◆ PathLinetoRel() [2/3]

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

Definition at line 2353 of file Drawable.cpp.

2354 : _coordinates(coordinates_)
2355{
2356}

◆ PathLinetoRel() [3/3]

Magick::PathLinetoRel::PathLinetoRel ( const PathLinetoRel & original_)

Definition at line 2357 of file Drawable.cpp.

2358 : VPathBase (original_),
2359 _coordinates(original_._coordinates)
2360{
2361}

◆ ~PathLinetoRel()

Magick::PathLinetoRel::~PathLinetoRel ( void )

Definition at line 2362 of file Drawable.cpp.

2363{
2364}

Member Function Documentation

◆ copy()

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

Implements Magick::VPathBase.

Definition at line 2373 of file Drawable.cpp.

2374{
2375 return new PathLinetoRel(*this);
2376}

◆ operator()()

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

Implements Magick::VPathBase.

Definition at line 2365 of file Drawable.cpp.

2366{
2367 for( CoordinateList::const_iterator p = _coordinates.begin();
2368 p != _coordinates.end(); p++ )
2369 {
2370 DrawPathLineToRelative( context_, p->x(), p->y() );
2371 }
2372}

Member Data Documentation

◆ _coordinates

CoordinateList Magick::PathLinetoRel::_coordinates
private

Definition at line 2969 of file Drawable.h.


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