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

Method getPosition

Engine/Node.cpp:6343–6355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6341}
6342
6343void
6344Node::getPosition(double *x,
6345 double *y) const
6346{
6347 NodeGuiIPtr gui = _imp->guiPointer.lock();
6348
6349 if (gui) {
6350 gui->getPosition(x, y);
6351 } else {
6352 *x = 0.;
6353 *y = 0.;
6354 }
6355}
6356
6357void
6358Node::setSize(double w,

Callers 4

createNodeInternalMethod · 0.45
exportGroupInternalFunction · 0.45

Calls 1

lockMethod · 0.45

Tested by

no test coverage detected