Magick++ 6.9.13
Loading...
Searching...
No Matches
Magick::PathSmoothCurvetoAbs Class Reference
Inheritance diagram for Magick::PathSmoothCurvetoAbs:
Collaboration diagram for Magick::PathSmoothCurvetoAbs:

Public Member Functions

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

Private Attributes

CoordinateList _coordinates
 

Detailed Description

Definition at line 2590 of file Drawable.h.

Constructor & Destructor Documentation

◆ PathSmoothCurvetoAbs() [1/3]

Magick::PathSmoothCurvetoAbs::PathSmoothCurvetoAbs ( const Magick::Coordinate & coordinates_)

Definition at line 1849 of file Drawable.cpp.

1851 : _coordinates(1,coordinates_)
1852{
1853}

◆ PathSmoothCurvetoAbs() [2/3]

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

Definition at line 1854 of file Drawable.cpp.

1856 : _coordinates(coordinates_)
1857{
1858}

◆ PathSmoothCurvetoAbs() [3/3]

Magick::PathSmoothCurvetoAbs::PathSmoothCurvetoAbs ( const PathSmoothCurvetoAbs & original_)

Definition at line 1859 of file Drawable.cpp.

1861 : VPathBase (original_),
1862 _coordinates(original_._coordinates)
1863{
1864}

◆ ~PathSmoothCurvetoAbs()

Magick::PathSmoothCurvetoAbs::~PathSmoothCurvetoAbs ( void )

Definition at line 1865 of file Drawable.cpp.

1866{
1867}

Member Function Documentation

◆ copy()

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

Implements Magick::VPathBase.

Definition at line 1882 of file Drawable.cpp.

1883{
1884 return new PathSmoothCurvetoAbs(*this);
1885}

◆ operator()()

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

Implements Magick::VPathBase.

Definition at line 1868 of file Drawable.cpp.

1870{
1871 for( CoordinateList::const_iterator p = _coordinates.begin();
1872 p != _coordinates.end(); p++ )
1873 {
1874 double x2 = p->x();
1875 double y2 = p->y();
1876 p++;
1877 if (p == _coordinates.end() )
1878 break;
1879 DrawPathCurveToSmoothAbsolute( context_, x2, y2, p->x(), p->y() );
1880 }
1881}

Member Data Documentation

◆ _coordinates

CoordinateList Magick::PathSmoothCurvetoAbs::_coordinates
private

Definition at line 2612 of file Drawable.h.


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