Magick++ 7.1.1
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
 
virtual void operator() (MagickCore::DrawingWand *context_) const =0
 
virtual VPathBasecopy () const =0
 

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

2348 : _coordinates(1,coordinate_)
2349{
2350}

◆ PathLinetoRel() [2/3]

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

Definition at line 2351 of file Drawable.cpp.

2352 : _coordinates(coordinates_)
2353{
2354}

◆ PathLinetoRel() [3/3]

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

Definition at line 2355 of file Drawable.cpp.

2356 : VPathBase (original_),
2357 _coordinates(original_._coordinates)
2358{
2359}

◆ ~PathLinetoRel()

Magick::PathLinetoRel::~PathLinetoRel ( void  )

Definition at line 2360 of file Drawable.cpp.

2361{
2362}

Member Function Documentation

◆ copy()

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

Implements Magick::VPathBase.

Definition at line 2371 of file Drawable.cpp.

2372{
2373 return new PathLinetoRel(*this);
2374}

◆ operator()()

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

Implements Magick::VPathBase.

Definition at line 2363 of file Drawable.cpp.

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

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: