| 1353 | } |
| 1354 | return absolutePoint; |
| 1355 | } |
| 1356 | |
| 1357 | Point ViewNode::convertSelfVisualToParentVisual(const Point& selfDirectionDependentVisual) const { |
| 1358 | auto parentDirectionDependentVisual = selfDirectionDependentVisual; |
| 1359 | parentDirectionDependentVisual += getDirectionDependentTransform(); |
| 1360 | if (isInScrollMode()) { |
| 1361 | parentDirectionDependentVisual -= _scrollState->getDirectionDependentContentOffset(); |
| 1362 | } |
| 1363 | return parentDirectionDependentVisual; |