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

Method boundingRect

QtNodeEditor/src/NodeGeometry.cpp:67–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65
66
67QRectF
68NodeGeometry::
69boundingRect() const
70{
71 auto const &nodeStyle = StyleCollection::nodeStyle();
72
73 double addon = 2 * nodeStyle.ConnectionPointDiameter;
74
75 return QRectF(0 - addon,
76 0 - addon,
77 _width + 2 * addon,
78 _height + 2 * addon);
79}
80
81
82void

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected