| 1004 | return ptWorld.x; |
| 1005 | } |
| 1006 | float LayoutHelper::VisibleRect::getNodeBottom(Node* pNode) |
| 1007 | { |
| 1008 | ax::Point ptLocal(0, LayoutHelper::getNodeBottom(pNode)); |
| 1009 | auto ptWorld = pNode->getParent()->convertToWorldSpace(ptLocal); |
| 1010 | |
| 1011 | return ptWorld.y; |
| 1012 | } |
| 1013 | float LayoutHelper::VisibleRect::getNodeRight(Node* pNode) |
| 1014 | { |
| 1015 | ax::Point ptLocal(LayoutHelper::getNodeLeft(pNode) + pNode->getContentSize().width /* * pNode->getScaleX()*/, |
nothing calls this directly
no test coverage detected