Lines Matching refs:rZoomRect
509 long Window::GetZoomForRect( const Rectangle& rZoomRect ) in GetZoomForRect() argument
513 if( (rZoomRect.GetWidth() != 0) && (rZoomRect.GetHeight() != 0)) in GetZoomForRect()
523 if(rZoomRect.GetHeight()) in GetZoomForRect()
526 * (double) ZOOM_MULTIPLICATOR / (double) rZoomRect.GetHeight()); in GetZoomForRect()
529 if(rZoomRect.GetWidth()) in GetZoomForRect()
532 * (double) ZOOM_MULTIPLICATOR / (double) rZoomRect.GetWidth()); in GetZoomForRect()
568 long Window::SetZoomRect (const Rectangle& rZoomRect) in SetZoomRect() argument
572 if (rZoomRect.GetWidth() == 0 || rZoomRect.GetHeight() == 0) in SetZoomRect()
580 Point aPos = rZoomRect.TopLeft(); in SetZoomRect()
586 DBG_ASSERT(rZoomRect.GetWidth(), "ZoomRect-Breite = 0!"); in SetZoomRect()
587 DBG_ASSERT(rZoomRect.GetHeight(), "ZoomRect-Hoehe = 0!"); in SetZoomRect()
596 if(rZoomRect.GetHeight()) in SetZoomRect()
599 * (double) ZOOM_MULTIPLICATOR / (double) rZoomRect.GetHeight()); in SetZoomRect()
602 if(rZoomRect.GetWidth()) in SetZoomRect()
605 * (double) ZOOM_MULTIPLICATOR / (double) rZoomRect.GetWidth()); in SetZoomRect()
632 maWinPos.X() += (rZoomRect.GetWidth() - aWinSize.Width()) / 2; in SetZoomRect()
634 maWinPos.Y() += (rZoomRect.GetHeight() - aWinSize.Height()) / 2; in SetZoomRect()