libetonyek::KEYPath Class Reference

#include <KEYPath.h>

List of all members.

Classes

class  Element
 An element of path. More...

Public Member Functions

 KEYPath ()
 KEYPath (const std::string &path)
 KEYPath (const KEYPath &other)
 ~KEYPath ()
KEYPathoperator= (const KEYPath &other)
void swap (KEYPath &other)
void clear ()
void appendMoveTo (double x, double y)
void appendLineTo (double x, double y)
void appendCurveTo (double x1, double y1, double x2, double y2, double x, double y)
void appendClose ()
void operator*= (const KEYTransformation &tr)
 Transform all elements of the path.
WPXPropertyListVector toWPG () const
 Create WPG representation of this path.

Private Attributes

std::deque< Element * > m_elements
bool m_closed

Friends

bool approxEqual (const KEYPath &left, const KEYPath &right, const double eps)

Constructor & Destructor Documentation

libetonyek::KEYPath::KEYPath ( const std::string &  path) [explicit]

Member Function Documentation

void libetonyek::KEYPath::appendCurveTo ( double  x1,
double  y1,
double  x2,
double  y2,
double  x,
double  y 
)

Referenced by KEYPath().

void libetonyek::KEYPath::appendLineTo ( double  x,
double  y 
)

Referenced by KEYPath().

void libetonyek::KEYPath::appendMoveTo ( double  x,
double  y 
)

Referenced by KEYPath().

Referenced by KEYPath(), and ~KEYPath().

void libetonyek::KEYPath::operator*= ( const KEYTransformation tr)

Transform all elements of the path.

  • [in] tr the transformation
KEYPath & libetonyek::KEYPath::operator= ( const KEYPath other)

Referenced by operator=().

WPXPropertyListVector libetonyek::KEYPath::toWPG ( ) const

Create WPG representation of this path.


Friends And Related Function Documentation

bool approxEqual ( const KEYPath left,
const KEYPath right,
const double  eps 
) [friend]

Member Data Documentation


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