kivio
KivioPoint Class Reference
List of all members.Detailed Description
Definition at line 24 of file kivio_point.h.
Public Types | |
| enum | KivioPointType { kptNone = 0, kptNormal, kptBezier, kptArc, kptLast } |
Public Member Functions | |
| KivioPoint () | |
| KivioPoint (const KivioPoint &) | |
| KivioPoint (double, double, KivioPointType pt=kptNormal) | |
| virtual | ~KivioPoint () |
| void | copyInto (KivioPoint *) const |
| bool | loadXML (const QDomElement &) |
| QDomElement | saveXML (QDomDocument &) |
| double | x () const |
| double | y () const |
| KivioPointType | pointType () const |
| void | setX (double newX) |
| void | setY (double newY) |
| void | setPointType (KivioPointType pt) |
| void | set (double newX, double newY, KivioPointType pt=kptNormal) |
| void | set (const KivioPoint &p, KivioPointType pt=kptNormal) |
| void | moveBy (double dx, double dy) |
| void | moveBy (const KivioPoint &p) |
Static Public Member Functions | |
| static KivioPoint::KivioPointType | pointTypeFromString (const QString &) |
Protected Attributes | |
| double | m_x |
| double | m_y |
| KivioPointType | m_pointType |
Constructor & Destructor Documentation
|
|
Constructor. Sets this point to (0,0) and of type normal. Definition at line 40 of file kivio_point.cpp. |
|
|
Copy constructor.
Definition at line 55 of file kivio_point.cpp. |
|
||||||||||||||||
|
Alternate constructor.
Definition at line 72 of file kivio_point.cpp. |
|
|
Destructor.
Definition at line 83 of file kivio_point.cpp. |
Member Function Documentation
|
|
Copies this object's data into pTarget.
Definition at line 93 of file kivio_point.cpp. |
|
|
Load this object from an XML element.
Definition at line 138 of file kivio_point.cpp. |
|
|
Figure out the KivioPointType from a string.
Definition at line 112 of file kivio_point.cpp. |
|
|
Save this object to an XML element.
Definition at line 162 of file kivio_point.cpp. |
The documentation for this class was generated from the following files:

