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

Method shape

QtNodeEditor/src/ConnectionGraphicsObject.cpp:70–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68
69
70QPainterPath
71ConnectionGraphicsObject::
72shape() const
73{
74#ifdef DEBUG_DRAWING
75
76 //QPainterPath path;
77
78 //path.addRect(boundingRect());
79 //return path;
80
81#else
82 auto const &geom =
83 _connection.connectionGeometry();
84
85 return ConnectionPainter::getPainterStroke(geom);
86
87#endif
88}
89
90
91void

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected