Lines Matching refs:aRect
724 Rectangle aRect(rZoomRect); in SetZoomRect() local
726 if (aRect.GetWidth() < aPageSize.Width()) in SetZoomRect()
728 long nWidthDiff = (aPageSize.Width() - aRect.GetWidth()) / 2; in SetZoomRect()
730 aRect.Left() -= nWidthDiff; in SetZoomRect()
731 aRect.Right() += nWidthDiff; in SetZoomRect()
733 if (aRect.Left() < 0) in SetZoomRect()
735 aRect.SetPos(Point(0, aRect.Top())); in SetZoomRect()
739 if (aRect.GetHeight() < aPageSize.Height()) in SetZoomRect()
741 long nHeightDiff = (aPageSize.Height() - aRect.GetHeight()) / 2; in SetZoomRect()
743 aRect.Top() -= nHeightDiff; in SetZoomRect()
744 aRect.Bottom() += nHeightDiff; in SetZoomRect()
746 if (aRect.Top() < 0) in SetZoomRect()
748 aRect.SetPos(Point(aRect.Left(), 0)); in SetZoomRect()
752 ViewShell::SetZoomRect(aRect); in SetZoomRect()