Magick++ 7.1.1
Loading...
Searching...
No Matches
Magick::PathArcRel Class Reference
Inheritance diagram for Magick::PathArcRel:
Collaboration diagram for Magick::PathArcRel:

Public Member Functions

 PathArcRel (const PathArcArgs &coordinates_)
 
 PathArcRel (const PathArcArgsList &coordinates_)
 
 PathArcRel (const PathArcRel &original_)
 
void operator() (MagickCore::DrawingWand *context_) const
 
VPathBasecopy () const
 
virtual void operator() (MagickCore::DrawingWand *context_) const =0
 
virtual VPathBasecopy () const =0
 

Private Attributes

PathArcArgsList _coordinates
 

Detailed Description

Definition at line 2493 of file Drawable.h.

Constructor & Destructor Documentation

◆ PathArcRel() [1/3]

Magick::PathArcRel::PathArcRel ( const PathArcArgs coordinates_)

Definition at line 1861 of file Drawable.cpp.

1862 : _coordinates(1,coordinates_)
1863{
1864}

◆ PathArcRel() [2/3]

Magick::PathArcRel::PathArcRel ( const PathArcArgsList &  coordinates_)

Definition at line 1865 of file Drawable.cpp.

1866 : _coordinates(coordinates_)
1867{
1868}

◆ PathArcRel() [3/3]

Magick::PathArcRel::PathArcRel ( const PathArcRel original_)

Definition at line 1869 of file Drawable.cpp.

1870 : VPathBase (original_),
1871 _coordinates(original_._coordinates)
1872{
1873}

◆ ~PathArcRel()

Magick::PathArcRel::~PathArcRel ( void  )

Definition at line 1874 of file Drawable.cpp.

1875{
1876}

Member Function Documentation

◆ copy()

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

Implements Magick::VPathBase.

Definition at line 1887 of file Drawable.cpp.

1888{
1889 return new PathArcRel(*this);
1890}

◆ operator()()

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

Implements Magick::VPathBase.

Definition at line 1877 of file Drawable.cpp.

1878{
1879 for( PathArcArgsList::const_iterator p = _coordinates.begin();
1880 p != _coordinates.end(); p++ )
1881 {
1882 DrawPathEllipticArcRelative( context_, p->radiusX(), p->radiusY(),
1883 p->xAxisRotation(), (MagickBooleanType) p->largeArcFlag(),
1884 (MagickBooleanType) p->sweepFlag(), p->x(), p->y() );
1885 }
1886}

Member Data Documentation

◆ _coordinates

PathArcArgsList Magick::PathArcRel::_coordinates
private

Definition at line 2513 of file Drawable.h.


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