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

Constructor & Destructor Documentation

◆ PathLinetoRel() [1/3]

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

Definition at line 2157 of file Drawable.cpp.

2158 : _coordinates(1,coordinate_)
2159{
2160}

◆ PathLinetoRel() [2/3]

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

Definition at line 2161 of file Drawable.cpp.

2162 : _coordinates(coordinates_)
2163{
2164}

◆ PathLinetoRel() [3/3]

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

Definition at line 2165 of file Drawable.cpp.

2166 : VPathBase (original_),
2167 _coordinates(original_._coordinates)
2168{
2169}

◆ ~PathLinetoRel()

Magick::PathLinetoRel::~PathLinetoRel ( void )

Definition at line 2170 of file Drawable.cpp.

2171{
2172}

Member Function Documentation

◆ copy()

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

Implements Magick::VPathBase.

Definition at line 2181 of file Drawable.cpp.

2182{
2183 return new PathLinetoRel(*this);
2184}

◆ operator()()

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

Implements Magick::VPathBase.

Definition at line 2173 of file Drawable.cpp.

2174{
2175 for( CoordinateList::const_iterator p = _coordinates.begin();
2176 p != _coordinates.end(); p++ )
2177 {
2178 DrawPathLineToRelative( context_, p->x(), p->y() );
2179 }
2180}

Member Data Documentation

◆ _coordinates

CoordinateList Magick::PathLinetoRel::_coordinates
private

Definition at line 2870 of file Drawable.h.


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