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

Method nodePortScenePosition

QtNodeEditor/src/NodeConnectionInteraction.cpp:195–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193
194
195QPointF
196NodeConnectionInteraction::
197nodePortScenePosition(PortType portType, PortIndex portIndex) const
198{
199 NodeGeometry const &geom = _node->nodeGeometry();
200
201 QPointF p = geom.portScenePosition(portIndex, portType);
202
203 NodeGraphicsObject& ngo = _node->nodeGraphicsObject();
204
205 return ngo.sceneTransform().map(p);
206}
207
208
209PortIndex

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected