Magick++ 7.1.2
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
 

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 1863 of file Drawable.cpp.

1864 : _coordinates(1,coordinates_)
1865{
1866}

◆ PathArcRel() [2/3]

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

Definition at line 1867 of file Drawable.cpp.

1868 : _coordinates(coordinates_)
1869{
1870}

◆ PathArcRel() [3/3]

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

Definition at line 1871 of file Drawable.cpp.

1872 : VPathBase (original_),
1873 _coordinates(original_._coordinates)
1874{
1875}

◆ ~PathArcRel()

Magick::PathArcRel::~PathArcRel ( void )

Definition at line 1876 of file Drawable.cpp.

1877{
1878}

Member Function Documentation

◆ copy()

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

Implements Magick::VPathBase.

Definition at line 1889 of file Drawable.cpp.

1890{
1891 return new PathArcRel(*this);
1892}

◆ operator()()

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

Implements Magick::VPathBase.

Definition at line 1879 of file Drawable.cpp.

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

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: