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

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

2438 : _coordinates(1,coordinate_)
2439{
2440}

◆ PathMovetoAbs() [2/3]

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

Definition at line 2441 of file Drawable.cpp.

2442 : _coordinates(coordinates_)
2443{
2444}

◆ PathMovetoAbs() [3/3]

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

Definition at line 2445 of file Drawable.cpp.

2446 : VPathBase (original_),
2447 _coordinates(original_._coordinates)
2448{
2449}

◆ ~PathMovetoAbs()

Magick::PathMovetoAbs::~PathMovetoAbs ( void  )

Definition at line 2450 of file Drawable.cpp.

2451{
2452}

Member Function Documentation

◆ copy()

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

Implements Magick::VPathBase.

Definition at line 2461 of file Drawable.cpp.

2462{
2463 return new PathMovetoAbs(*this);
2464}

◆ operator()()

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

Implements Magick::VPathBase.

Definition at line 2453 of file Drawable.cpp.

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

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: