Magick++ 7.1.2-32
Convert, Edit, Or Compose Bitmap Images
Loading...
Searching...
No Matches
Magick::PathSmoothCurvetoAbs Class Reference
Inheritance diagram for Magick::PathSmoothCurvetoAbs:
Magick::VPathBase

Public Member Functions

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

Private Attributes

CoordinateList _coordinates

Detailed Description

Definition at line 2689 of file Drawable.h.

Constructor & Destructor Documentation

◆ PathSmoothCurvetoAbs() [1/3]

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

Definition at line 2038 of file Drawable.cpp.

2040 : _coordinates(1,coordinates_)
2041{
2042}

◆ PathSmoothCurvetoAbs() [2/3]

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

Definition at line 2043 of file Drawable.cpp.

2045 : _coordinates(coordinates_)
2046{
2047}

◆ PathSmoothCurvetoAbs() [3/3]

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

Definition at line 2048 of file Drawable.cpp.

2050 : VPathBase (original_),
2051 _coordinates(original_._coordinates)
2052{
2053}

◆ ~PathSmoothCurvetoAbs()

Magick::PathSmoothCurvetoAbs::~PathSmoothCurvetoAbs ( void )

Definition at line 2054 of file Drawable.cpp.

2055{
2056}

Member Function Documentation

◆ copy()

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

Implements Magick::VPathBase.

Definition at line 2071 of file Drawable.cpp.

2072{
2073 return new PathSmoothCurvetoAbs(*this);
2074}

◆ operator()()

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

Implements Magick::VPathBase.

Definition at line 2057 of file Drawable.cpp.

2059{
2060 for( CoordinateList::const_iterator p = _coordinates.begin();
2061 p != _coordinates.end(); p++ )
2062 {
2063 double x2 = p->x();
2064 double y2 = p->y();
2065 p++;
2066 if (p == _coordinates.end() )
2067 break;
2068 DrawPathCurveToSmoothAbsolute( context_, x2, y2, p->x(), p->y() );
2069 }
2070}

Field Documentation

◆ _coordinates

CoordinateList Magick::PathSmoothCurvetoAbs::_coordinates
private

Definition at line 2711 of file Drawable.h.


The documentation for this class was generated from the following files:
  • /home/cristy/Attic/Build/ImageMagick-7.1.2/rpmbuild/BUILD/ImageMagick-7.1.2-build/ImageMagick-7.1.2-32/Magick++/lib/Magick++/Drawable.h
  • /home/cristy/Attic/Build/ImageMagick-7.1.2/rpmbuild/BUILD/ImageMagick-7.1.2-build/ImageMagick-7.1.2-32/Magick++/lib/Drawable.cpp