rocs/RocsCore
EdgeItem.cpp
Go to the documentation of this file.
52 connect(edge.get(), SIGNAL(directionChanged(PointerType::Direction)), this, SLOT(updatePathLayout()));
74 QPointF destArrowP1 = pos2 + QPointF(qSin(angle - pi/3.0) * arrowSize, qCos(angle - pi/3.0) * arrowSize);
75 QPointF destArrowP2 = pos2 + QPointF(qSin(angle - pi + pi/3.0) * arrowSize, qCos(angle - pi + pi/3.0) * arrowSize);
96 QPointF documentCenter = g->document()->sceneRect().center(); // TODO this computation is really strange
void addEllipse(const QRectF &boundingRectangle)
Definition: PointerType.h:48
void moveTo(const QPointF &point)
qreal x() const
qreal y() const
void addPolygon(const QPolygonF &polygon)
void lineTo(const QPointF &endPoint)
void translate(qreal dx, qreal dy)
QPointF pointAtPercent(qreal t) const
void quadTo(const QPointF &c, const QPointF &endPoint)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.