Powered by Pair ImageMagick logo
Image Magick
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

Magick::PathSmoothCurvetoRel Class Reference

#include <Drawable.h>

Inheritance diagram for Magick::PathSmoothCurvetoRel:

Inheritance graph
[legend]
Collaboration diagram for Magick::PathSmoothCurvetoRel:

Collaboration graph
[legend]

Public Member Functions

 PathSmoothCurvetoRel (const Coordinate &coordinates_)
 PathSmoothCurvetoRel (const CoordinateList &coordinates_)
 PathSmoothCurvetoRel (const PathSmoothCurvetoRel &original_)
 ~PathSmoothCurvetoRel (void)
void operator() (MagickLib::DrawContext context_) const
VPathBasecopy () const
 PathSmoothCurvetoRel (const Coordinate &coordinates_)
 PathSmoothCurvetoRel (const CoordinateList &coordinates_)
 PathSmoothCurvetoRel (const PathSmoothCurvetoRel &original_)
 ~PathSmoothCurvetoRel (void)
void operator() (MagickLib::DrawContext context_) const
VPathBasecopy () const

Private Attributes

CoordinateList _coordinates

Constructor & Destructor Documentation

Magick::PathSmoothCurvetoRel::PathSmoothCurvetoRel const Coordinate coordinates_  ) 
 

Definition at line 1721 of file Drawable.cpp.

01722 : _coordinates(1,coordinates_) 01723 { 01724 }

Magick::PathSmoothCurvetoRel::PathSmoothCurvetoRel const CoordinateList coordinates_  ) 
 

Definition at line 1726 of file Drawable.cpp.

References Magick::CoordinateList.

01727 : _coordinates(coordinates_) 01728 { 01729 }

Magick::PathSmoothCurvetoRel::PathSmoothCurvetoRel const PathSmoothCurvetoRel original_  ) 
 

Definition at line 1731 of file Drawable.cpp.

01732 : VPathBase (original_), 01733 _coordinates(original_._coordinates) 01734 { 01735 }

Magick::PathSmoothCurvetoRel::~PathSmoothCurvetoRel void   ) 
 

Definition at line 1736 of file Drawable.cpp.

01737 { 01738 }

Magick::PathSmoothCurvetoRel::PathSmoothCurvetoRel const Coordinate coordinates_  ) 
 

Magick::PathSmoothCurvetoRel::PathSmoothCurvetoRel const CoordinateList coordinates_  ) 
 

Magick::PathSmoothCurvetoRel::PathSmoothCurvetoRel const PathSmoothCurvetoRel original_  ) 
 

Magick::PathSmoothCurvetoRel::~PathSmoothCurvetoRel void   ) 
 


Member Function Documentation

VPathBase* Magick::PathSmoothCurvetoRel::copy  )  const [virtual]
 

Implements Magick::VPathBase.

Magick::VPathBase * Magick::PathSmoothCurvetoRel::copy  )  const [virtual]
 

Implements Magick::VPathBase.

Definition at line 1752 of file Drawable.cpp.

01753 { 01754 return new PathSmoothCurvetoRel(*this); 01755 }

void Magick::PathSmoothCurvetoRel::operator() MagickLib::DrawContext  context_  )  const [virtual]
 

Implements Magick::VPathBase.

void Magick::PathSmoothCurvetoRel::operator() MagickLib::DrawContext  context_  )  const [virtual]
 

Implements Magick::VPathBase.

Definition at line 1740 of file Drawable.cpp.

References DrawPathCurveToSmoothRelative().

01741 { 01742 for( CoordinateList::const_iterator p = _coordinates.begin(); 01743 p != _coordinates.end(); p++ ) 01744 { 01745 double x2 = p->x(); 01746 double y2 = p->y(); 01747 p++; 01748 if(p != _coordinates.end() ) 01749 DrawPathCurveToSmoothRelative( context_, x2, y2, p->x(), p->y() ); 01750 } 01751 }

Here is the call graph for this function:


Field Documentation

CoordinateList Magick::PathSmoothCurvetoRel::_coordinates [private]
 

Definition at line 2495 of file Drawable.h.


The documentation for this class was generated from the following files:
Generated on Mon Oct 25 13:47:51 2004 for ImageMagick by doxygen 1.3.7
ImageMagick Copyright © 2004, ImageMagick Studio LLC