MCPcopy Create free account
hub / github.com/MrKepzie/Natron / getPosition

Method getPosition

Engine/Node.cpp:10616–10628  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10614}
10615
10616void
10617Node::getPosition(double *x,
10618 double *y) const
10619{
10620 boost::shared_ptr<NodeGuiI> gui = _imp->guiPointer.lock();
10621
10622 if (gui) {
10623 gui->getPosition(x, y);
10624 } else {
10625 *x = 0.;
10626 *y = 0.;
10627 }
10628}
10629
10630void
10631Node::setSize(double w,

Callers 4

createNodeInternalMethod · 0.45
exportGroupInternalFunction · 0.45

Calls 1

lockMethod · 0.45

Tested by

no test coverage detected