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

Public Member Functions

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

Private Attributes

CoordinateList _coordinates

Detailed Description

Definition at line 2713 of file Drawable.h.

Constructor & Destructor Documentation

◆ PathSmoothCurvetoRel() [1/3]

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

Definition at line 2075 of file Drawable.cpp.

2077 : _coordinates(1,coordinates_)
2078{
2079}

◆ PathSmoothCurvetoRel() [2/3]

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

Definition at line 2080 of file Drawable.cpp.

2082 : _coordinates(coordinates_)
2083{
2084}

◆ PathSmoothCurvetoRel() [3/3]

Magick::PathSmoothCurvetoRel::PathSmoothCurvetoRel ( const PathSmoothCurvetoRel & original_)

Definition at line 2085 of file Drawable.cpp.

2087 : VPathBase (original_),
2088 _coordinates(original_._coordinates)
2089{
2090}

◆ ~PathSmoothCurvetoRel()

Magick::PathSmoothCurvetoRel::~PathSmoothCurvetoRel ( void )

Definition at line 2091 of file Drawable.cpp.

2092{
2093}

Member Function Documentation

◆ copy()

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

Implements Magick::VPathBase.

Definition at line 2108 of file Drawable.cpp.

2109{
2110 return new PathSmoothCurvetoRel(*this);
2111}

◆ operator()()

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

Implements Magick::VPathBase.

Definition at line 2094 of file Drawable.cpp.

2096{
2097 for( CoordinateList::const_iterator p = _coordinates.begin();
2098 p != _coordinates.end(); p++ )
2099 {
2100 double x2 = p->x();
2101 double y2 = p->y();
2102 p++;
2103 if (p == _coordinates.end() )
2104 break;
2105 DrawPathCurveToSmoothRelative( context_, x2, y2, p->x(), p->y() );
2106 }
2107}

Field Documentation

◆ _coordinates

CoordinateList Magick::PathSmoothCurvetoRel::_coordinates
private

Definition at line 2736 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