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

Constructor & Destructor Documentation

◆ PathLinetoAbs() [1/3]

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

Definition at line 2129 of file Drawable.cpp.

2130 : _coordinates(1,coordinate_)
2131{
2132}

◆ PathLinetoAbs() [2/3]

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

Definition at line 2133 of file Drawable.cpp.

2134 : _coordinates(coordinates_)
2135{
2136}

◆ PathLinetoAbs() [3/3]

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

Definition at line 2137 of file Drawable.cpp.

2138 : VPathBase (original_),
2139 _coordinates(original_._coordinates)
2140{
2141}

◆ ~PathLinetoAbs()

Magick::PathLinetoAbs::~PathLinetoAbs ( void )

Definition at line 2142 of file Drawable.cpp.

2143{
2144}

Member Function Documentation

◆ copy()

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

Implements Magick::VPathBase.

Definition at line 2153 of file Drawable.cpp.

2154{
2155 return new PathLinetoAbs(*this);
2156}

◆ operator()()

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

Implements Magick::VPathBase.

Definition at line 2145 of file Drawable.cpp.

2146{
2147 for( CoordinateList::const_iterator p = _coordinates.begin();
2148 p != _coordinates.end(); p++ )
2149 {
2150 DrawPathLineToAbsolute( context_, p->x(), p->y() );
2151 }
2152}

Member Data Documentation

◆ _coordinates

CoordinateList Magick::PathLinetoAbs::_coordinates
private

Definition at line 2846 of file Drawable.h.


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