diff options
author | Aleks Kissinger <aleks0@gmail.com> | 2020-04-12 16:43:44 +0100 |
---|---|---|
committer | Aleks Kissinger <aleks0@gmail.com> | 2020-04-12 16:43:44 +0100 |
commit | d9ec25d1bcea4e45d1965e95bb3099c3864e04a0 (patch) | |
tree | 181ddebe4d8c47d751d7cdbb0e27da8326d93d35 /src/data/edge.h | |
parent | c56b682750e9f2a911a841e89e4e51b7d0608ab5 (diff) |
parsing and outputting complex paths
Diffstat (limited to 'src/data/edge.h')
-rw-r--r-- | src/data/edge.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/data/edge.h b/src/data/edge.h index 954145f..ad21f36 100644 --- a/src/data/edge.h +++ b/src/data/edge.h @@ -27,6 +27,8 @@ #include "node.h"
#include "style.h"
+class Path;
+
#include <QObject>
#include <QPointF>
@@ -92,12 +94,15 @@ public: void setStyleName(const QString & styleName);
Style *style() const;
+ Path *path() const;
+ void setPath(Path *path);
+
signals:
public slots:
private:
- QPointF bezierTangent(qreal start, qreal end) const;
+ QPointF bezierTangent(qreal start, qreal end) const;
QString _sourceAnchor;
QString _targetAnchor;
@@ -108,6 +113,7 @@ private: // referenced
Node *_source;
Node *_target;
+ Path *_path;
Style *_style;
|