| 1345 | return Point(directionDependentFrame.x + getDirectionDependentTranslationX(), |
| 1346 | directionDependentFrame.y + _translationY); |
| 1347 | } |
| 1348 | |
| 1349 | Point ViewNode::getDirectionAgnosticTransform() const { |
| 1350 | auto directionAgnosticFrame = getDirectionAgnosticFrame(); |
| 1351 | return Point(directionAgnosticFrame.x + _translationX, directionAgnosticFrame.y + _translationY); |
| 1352 | } |
| 1353 | |
| 1354 | Point ViewNode::getBoundsOriginPoint() const { |
| 1355 | if (isInScrollMode()) { |
| 1356 | return _scrollState->getDirectionDependentContentOffset(); |