MCPcopy Create free account
hub / github.com/BehaviorTree/Groot / moveEndPoint

Method moveEndPoint

QtNodeEditor/src/ConnectionGeometry.cpp:53–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51
52
53void
54ConnectionGeometry::
55moveEndPoint(PortType portType, QPointF const &offset)
56{
57 switch (portType)
58 {
59 case PortType::Out:
60 _out += offset;
61 break;
62
63 case PortType::In:
64 _in += offset;
65 break;
66
67 default:
68 break;
69 }
70}
71
72
73QRectF

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected