27#include <koffice_export.h>
31class VSubpathIteratorList;
52 const KoPoint& currentPoint() const;
54 bool moveTo( const KoPoint& p );
55 bool lineTo( const KoPoint& p );
57 const KoPoint& p1, const KoPoint& p2, const KoPoint& p3 );
59 const KoPoint& p2, const KoPoint& p3 );
61 const KoPoint& p1, const KoPoint& p3 );
63 const KoPoint& p1, const KoPoint& p2, const double r );
77 bool pointIsInside( const KoPoint& p ) const;
82 bool intersects( const VSegment& segment ) const;
88 bool counterClockwise() const;
109 virtual void save( TQDomElement& ) const
113 virtual void load( const TQDomElement& element );
115 void saveSvgPath( TQString & ) const;
126 bool insert( const VSegment* segment );
127 bool insert( uint i, const VSegment* segment );
128 void prepend( const VSegment* segment );
129 void append( const VSegment* segment );
169 VSubpathIteratorList* m_iteratorList;
181 friend class VSubpathIteratorList;
The base class for all karbon objects.
virtual VObject * clone() const =0 Create an exact copy of this object.
virtual void accept(VVisitor &) Accept a VVisitor.
virtual const KoRect & boundingBox() const Calculates the tightest bounding box around the object.
virtual void load(const TQDomElement &element) Load this object's state from xml and initialize this object accordingly.
A class representing lines and beziers.
VSubpathIterator provides an iterator class for highlevel path access.
VSubpath provides a sophisticated list of VSegment.
virtual void save(TQDomElement &) const Save this object's state to xml.
bool isEmpty() const Returns true if the current path is "emtpy".
The abstract visitor class.
|