Lines Matching refs:rZoomRect
507 long Window::GetZoomForRect( const Rectangle& rZoomRect ) in GetZoomForRect() argument
511 if( (rZoomRect.GetWidth() != 0) && (rZoomRect.GetHeight() != 0)) in GetZoomForRect()
521 if(rZoomRect.GetHeight()) in GetZoomForRect()
524 * (double) ZOOM_MULTIPLICATOR / (double) rZoomRect.GetHeight()); in GetZoomForRect()
527 if(rZoomRect.GetWidth()) in GetZoomForRect()
530 * (double) ZOOM_MULTIPLICATOR / (double) rZoomRect.GetWidth()); in GetZoomForRect()
566 long Window::SetZoomRect (const Rectangle& rZoomRect) in SetZoomRect() argument
570 if (rZoomRect.GetWidth() == 0 || rZoomRect.GetHeight() == 0) in SetZoomRect()
578 Point aPos = rZoomRect.TopLeft(); in SetZoomRect()
584 DBG_ASSERT(rZoomRect.GetWidth(), "ZoomRect-Breite = 0!"); in SetZoomRect()
585 DBG_ASSERT(rZoomRect.GetHeight(), "ZoomRect-Hoehe = 0!"); in SetZoomRect()
594 if(rZoomRect.GetHeight()) in SetZoomRect()
597 * (double) ZOOM_MULTIPLICATOR / (double) rZoomRect.GetHeight()); in SetZoomRect()
600 if(rZoomRect.GetWidth()) in SetZoomRect()
603 * (double) ZOOM_MULTIPLICATOR / (double) rZoomRect.GetWidth()); in SetZoomRect()
630 maWinPos.X() += (rZoomRect.GetWidth() - aWinSize.Width()) / 2; in SetZoomRect()
632 maWinPos.Y() += (rZoomRect.GetHeight() - aWinSize.Height()) / 2; in SetZoomRect()