TinkerCell Core 1.0
TinkerCell's Core library providing all basic functionalities
Namespaces | Functions
ConnectionGraphicsItem.cpp File Reference
#include <math.h>
#include <QPainterPathStroker>
#include "GraphicsScene.h"
#include "MainWindow.h"
#include "ConnectionGraphicsItem.h"
#include "ItemHandle.h"
#include "fileIO/NodeGraphicsReader.h"
#include "UndoCommands.h"
#include "TextGraphicsItem.h"
#include "Tool.h"
Include dependency graph for ConnectionGraphicsItem.cpp:

Go to the source code of this file.

Namespaces

namespace  Tinkercell

Functions

QPointF Tinkercell::pointOnEdge (const QRectF &rect0, const QPointF &p1, qreal dist, bool straight)
 gets the point on the edge of the rect such that it is in the same line as the center of the rect and the point (arg)
QPointF Tinkercell::pointOnEdge (const NodeGraphicsItem &node, const QPointF &pt, qreal dist, bool straight)
 gets the point on the edge of the shape such that it is in the same line as the center of the rect and the point (arg)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines