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

Public Member Functions

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

Private Attributes

CoordinateList _coordinates
 

Detailed Description

Definition at line 3089 of file Drawable.h.

Constructor & Destructor Documentation

◆ PathMovetoAbs() [1/3]

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

Definition at line 2439 of file Drawable.cpp.

2440 : _coordinates(1,coordinate_)
2441{
2442}

◆ PathMovetoAbs() [2/3]

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

Definition at line 2443 of file Drawable.cpp.

2444 : _coordinates(coordinates_)
2445{
2446}

◆ PathMovetoAbs() [3/3]

Magick::PathMovetoAbs::PathMovetoAbs ( const PathMovetoAbs & original_)

Definition at line 2447 of file Drawable.cpp.

2448 : VPathBase (original_),
2449 _coordinates(original_._coordinates)
2450{
2451}

◆ ~PathMovetoAbs()

Magick::PathMovetoAbs::~PathMovetoAbs ( void )

Definition at line 2452 of file Drawable.cpp.

2453{
2454}

Member Function Documentation

◆ copy()

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

Implements Magick::VPathBase.

Definition at line 2463 of file Drawable.cpp.

2464{
2465 return new PathMovetoAbs(*this);
2466}

◆ operator()()

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

Implements Magick::VPathBase.

Definition at line 2455 of file Drawable.cpp.

2456{
2457 for( CoordinateList::const_iterator p = _coordinates.begin();
2458 p != _coordinates.end(); p++ )
2459 {
2460 DrawPathMoveToAbsolute( context_, p->x(), p->y() );
2461 }
2462}

Member Data Documentation

◆ _coordinates

CoordinateList Magick::PathMovetoAbs::_coordinates
private

Definition at line 3111 of file Drawable.h.


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