Home | History | Annotate | Download | only in rendering

Lines Matching refs:yPos

758 bool RenderBox::nodeAtPoint(const HitTestRequest& request, HitTestResult& result, int xPos, int yPos, int tx, int ty, HitTestAction action)
765 if (!child->hasLayer() && child->nodeAtPoint(request, result, xPos, yPos, tx, ty, action)) {
766 updateHitTestResult(result, IntPoint(xPos - tx, yPos - ty));
774 if (visibleToHitTesting() && action == HitTestForeground && boundsRect.intersects(result.rectForPoint(xPos, yPos))) {
775 updateHitTestResult(result, IntPoint(xPos - tx, yPos - ty));
776 if (!result.addNodeToRectBasedTestResult(node(), xPos, yPos, boundsRect))
3173 int yPos = point.y();
3179 if (xPos < 0 || xPos > right || yPos < 0 || yPos > bottom) {
3190 int newY = yPos;
3210 if (xPos <= right && xPos >= left && yPos <= top && yPos >= bottom) {
3212 return renderer->positionForCoordinates(xPos + newX - renderer->x(), yPos + newY - renderer->y());
3213 return renderer->positionForCoordinates(xPos - renderer->x(), yPos - renderer->y());
3220 if (yPos < top)
3222 else if (yPos > bottom)
3225 cmp = IntPoint(right, yPos);
3227 if (yPos < top)
3229 else if (yPos > bottom)
3232 cmp = IntPoint(left, yPos);
3234 if (yPos < top)
3241 int y1minusy2 = cmp.y() - yPos;