Logo Search packages:      
Sourcecode: ktechlab version File versions

QPointList Connector::connectorPoints ( bool  reverse = false  )  const [inherited]

Returns the points, given in canvas-reference, in order of start node to end node if reverse is false

Parameters:
reverse whether or not to reverse the points from start node to end node

Definition at line 512 of file connector.cpp.

References ConRouter::pointList(), and Connector::pointsAreReverse().

Referenced by JunctionFlowNode::drawShape(), FlowICNDocument::joinConnectors(), CircuitICNDocument::joinConnectors(), ICNDocument::rerouteInvalidatedConnectors(), and ConnectorDraw::toValidPos().

                                                        {
      bool doReverse = (reverse != pointsAreReverse(m_conRouter->pointList(false)));
      return m_conRouter->pointList(doReverse);
}


Generated by  Doxygen 1.6.0   Back to index