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

Public Member Functions

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

Private Attributes

CoordinateList _coordinates
 

Detailed Description

Definition at line 2923 of file Drawable.h.

Constructor & Destructor Documentation

◆ PathLinetoAbs() [1/3]

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

Definition at line 2321 of file Drawable.cpp.

2322 : _coordinates(1,coordinate_)
2323{
2324}

◆ PathLinetoAbs() [2/3]

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

Definition at line 2325 of file Drawable.cpp.

2326 : _coordinates(coordinates_)
2327{
2328}

◆ PathLinetoAbs() [3/3]

Magick::PathLinetoAbs::PathLinetoAbs ( const PathLinetoAbs & original_)

Definition at line 2329 of file Drawable.cpp.

2330 : VPathBase (original_),
2331 _coordinates(original_._coordinates)
2332{
2333}

◆ ~PathLinetoAbs()

Magick::PathLinetoAbs::~PathLinetoAbs ( void )

Definition at line 2334 of file Drawable.cpp.

2335{
2336}

Member Function Documentation

◆ copy()

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

Implements Magick::VPathBase.

Definition at line 2345 of file Drawable.cpp.

2346{
2347 return new PathLinetoAbs(*this);
2348}

◆ operator()()

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

Implements Magick::VPathBase.

Definition at line 2337 of file Drawable.cpp.

2338{
2339 for( CoordinateList::const_iterator p = _coordinates.begin();
2340 p != _coordinates.end(); p++ )
2341 {
2342 DrawPathLineToAbsolute( context_, p->x(), p->y() );
2343 }
2344}

Member Data Documentation

◆ _coordinates

CoordinateList Magick::PathLinetoAbs::_coordinates
private

Definition at line 2945 of file Drawable.h.


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