Home | History | Annotate | Download | only in rendering

Lines Matching refs:visibleRect

1545 IntRect RenderLayer::getRectToExpose(const IntRect &visibleRect, const IntRect &exposeRect, const ScrollAlignment& alignX, const ScrollAlignment& alignY)
1549 IntRect exposeRectX(exposeRect.x(), visibleRect.y(), exposeRect.width(), visibleRect.height());
1550 int intersectWidth = intersection(visibleRect, exposeRectX).width();
1556 else if (intersectWidth == visibleRect.width()) {
1567 // than the visibleRect, and not bigger than the visible area, then align with the right.
1568 if (scrollX == alignToClosestEdge && exposeRect.maxX() > visibleRect.maxX() && exposeRect.width() < visibleRect.width())
1574 x = visibleRect.x();
1576 x = exposeRect.maxX() - visibleRect.width();
1578 x = exposeRect.x() + (exposeRect.width() - visibleRect.width()) / 2;
1584 IntRect exposeRectY(visibleRect.x(), exposeRect.y(), visibleRect.width(), exposeRect.height());
1585 int intersectHeight = intersection(visibleRect, exposeRectY).height();
1589 else if (intersectHeight == visibleRect.height()) {
1600 // than the visibleRect, and not bigger than the visible area, then align with the bottom.
1601 if (scrollY == alignToClosestEdge && exposeRect.maxY() > visibleRect.maxY() && exposeRect.height() < visibleRect.height())
1607 y = visibleRect.y();
1609 y = exposeRect.maxY() - visibleRect.height();
1611 y = exposeRect.y() + (exposeRect.height() - visibleRect.height()) / 2;
1615 return IntRect(IntPoint(x, y), visibleRect.size());