| 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()*/, |
| 1016 | 0); |
| 1017 | auto ptWorld = pNode->getParent()->convertToWorldSpace(ptLocal); |
| 1018 | |
| 1019 | auto visibleRect = LayoutHelper::VisibleRect::getScreenVisibleRect(); |
| 1020 | return visibleRect.size.width - ptWorld.x; |
| 1021 | } |
| 1022 | float LayoutHelper::VisibleRect::getNodeTop(Node* pNode) |
| 1023 | { |
| 1024 | ax::Point ptLocal( |
nothing calls this directly
no test coverage detected