karbon
VSubpath Class Reference
#include <vpath.h>
Inheritance diagram for VSubpath:

Detailed Description
VSubpath provides a sophisticated list of VSegment.Noted: it also may contain segments which are marked "deleted". If you are not interested in those undo/redo housholding data, please always use a VSubpathIterator to access segments.
Definition at line 42 of file vpath.h.
Public Member Functions | |
VSubpath (VObject *parent) | |
VSubpath (const VSubpath &list) | |
VSubpath (const VSegment &segment) | |
virtual | ~VSubpath () |
const KoPoint & | currentPoint () const |
bool | moveTo (const KoPoint &p) |
bool | lineTo (const KoPoint &p) |
bool | curveTo (const KoPoint &p1, const KoPoint &p2, const KoPoint &p3) |
bool | curve1To (const KoPoint &p2, const KoPoint &p3) |
bool | curve2To (const KoPoint &p1, const KoPoint &p3) |
bool | arcTo (const KoPoint &p1, const KoPoint &p2, const double r) |
bool | isClosed () const |
void | close () |
bool | pointIsInside (const KoPoint &p) const |
bool | intersects (const VSegment &segment) const |
bool | counterClockwise () const |
void | revert () |
bool | isEmpty () const |
virtual const KoRect & | boundingBox () const |
virtual void | save (QDomElement &) const |
virtual void | load (const QDomElement &element) |
void | saveSvgPath (QString &) const |
virtual VSubpath * | clone () const |
virtual void | accept (VVisitor &visitor) |
VSubpath & | operator= (const VSubpath &list) |
bool | insert (const VSegment *segment) |
bool | insert (uint i, const VSegment *segment) |
void | prepend (const VSegment *segment) |
void | append (const VSegment *segment) |
void | clear () |
uint | count () const |
VSegment * | current () const |
VSegment * | getFirst () const |
VSegment * | getLast () const |
VSegment * | first () |
VSegment * | last () |
VSegment * | prev () |
VSegment * | next () |
Friends | |
class | VSubpathIterator |
Member Function Documentation
|
Accept a VVisitor.
Reimplemented from VObject. |
|
Calculates the tightest bounding box around the object.
Reimplemented from VObject. |
|
Create an exact copy of this object.
Implements VObject. |
|
Returns false if segmentlist is oriented clockwise.
|
|
Returns true if the segment intersects this path.
|
|
Returns true if the current path is "emtpy". That means that it has zero or just one ( == "begin") segment. |
|
Load this object's state from xml and initialize this object accordingly.
Reimplemented from VObject. |
|
Returns true if point p is located inside the path. The winding number test is used. |
|
Reverts the winding orientation.
|
|
Save this object's state to xml.
Reimplemented from VObject. |
The documentation for this class was generated from the following files: