libcdr::CDRPath Class Reference

#include <CDRPath.h>

Inheritance diagram for libcdr::CDRPath:
libcdr::CDRPathElement

List of all members.

Public Member Functions

 CDRPath ()
 CDRPath (const CDRPath &path)
 ~CDRPath ()
CDRPathoperator= (const CDRPath &path)
void appendMoveTo (double x, double y)
void appendLineTo (double x, double y)
void appendCubicBezierTo (double x1, double y1, double x2, double y2, double x, double y)
void appendQuadraticBezierTo (double x1, double y1, double x, double y)
void appendSplineTo (std::vector< std::pair< double, double > > &points)
void appendArcTo (double rx, double ry, double rotation, bool longAngle, bool sweep, double x, double y)
void appendClosePath ()
void appendPath (const CDRPath &path)
void writeOut (librevenge::RVNGPropertyListVector &vec) const
void writeOut (librevenge::RVNGString &path, librevenge::RVNGString &viewBox, double &width) const
void transform (const CDRTransforms &trafos)
void transform (const CDRTransform &trafo)
CDRPathElementclone ()
void clear ()
bool empty () const
bool isClosed () const

Private Attributes

std::vector< CDRPathElement * > m_elements
bool m_isClosed

Constructor & Destructor Documentation

libcdr::CDRPath::CDRPath ( const CDRPath path)

Member Function Documentation

void libcdr::CDRPath::appendArcTo ( double  rx,
double  ry,
double  rotation,
bool  longAngle,
bool  sweep,
double  x,
double  y 
)
void libcdr::CDRPath::appendCubicBezierTo ( double  x1,
double  y1,
double  x2,
double  y2,
double  x,
double  y 
)
void libcdr::CDRPath::appendPath ( const CDRPath path)
void libcdr::CDRPath::appendSplineTo ( std::vector< std::pair< double, double > > &  points)
bool libcdr::CDRPath::empty ( ) const
bool libcdr::CDRPath::isClosed ( ) const

Referenced by CDRPath(), and operator=().

libcdr::CDRPath & libcdr::CDRPath::operator= ( const CDRPath path)
void libcdr::CDRPath::transform ( const CDRTransform trafo) [virtual]
void libcdr::CDRPath::writeOut ( librevenge::RVNGPropertyListVector &  vec) const [virtual]
void libcdr::CDRPath::writeOut ( librevenge::RVNGString &  path,
librevenge::RVNGString &  viewBox,
double &  width 
) const

Member Data Documentation

std::vector<CDRPathElement *> libcdr::CDRPath::m_elements [private]

Referenced by appendPath(), CDRPath(), and operator=().

Referenced by CDRPath().


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