Lines Matching refs:aWinSize

164 			Size aWinSize = PixelToLogic(GetOutputSizePixel());  in CalcMinZoom()  local
165 sal_uLong nX = (sal_uLong) ((double) aWinSize.Width() in CalcMinZoom()
167 sal_uLong nY = (sal_uLong) ((double) aWinSize.Height() in CalcMinZoom()
520 const Size aWinSize( PixelToLogic(GetOutputSizePixel()) ); in GetZoomForRect() local
523 nX = (sal_uLong) ((double) aWinSize.Height() in GetZoomForRect()
529 nY = (sal_uLong) ((double) aWinSize.Width() in GetZoomForRect()
581 Size aWinSize = PixelToLogic(GetOutputSizePixel()); in SetZoomRect() local
596 nX = (sal_uLong) ((double) aWinSize.Height() in SetZoomRect()
602 nY = (sal_uLong) ((double) aWinSize.Width() in SetZoomRect()
629aWinSize.Width() = (long) ((double) aWinSize.Width() * (double) ZOOM_MULTIPLICATOR / (double) nFac… in SetZoomRect()
630 maWinPos.X() += (rZoomRect.GetWidth() - aWinSize.Width()) / 2; in SetZoomRect()
631aWinSize.Height() = (long) ((double) aWinSize.Height() * (double) ZOOM_MULTIPLICATOR / (double) nF… in SetZoomRect()
632 maWinPos.Y() += (rZoomRect.GetHeight() - aWinSize.Height()) / 2; in SetZoomRect()
667 Size aWinSize = PixelToLogic(GetOutputSizePixel()); in UpdateMapOrigin() local
671 if ( maWinPos.X() > maViewSize.Width() - aWinSize.Width() ) in UpdateMapOrigin()
673 maWinPos.X() = maViewSize.Width() - aWinSize.Width(); in UpdateMapOrigin()
676 if ( maWinPos.Y() > maViewSize.Height() - aWinSize.Height() ) in UpdateMapOrigin()
678 maWinPos.Y() = maViewSize.Height() - aWinSize.Height(); in UpdateMapOrigin()
681 if ( aWinSize.Width() > maViewSize.Width() || maWinPos.X() < 0 ) in UpdateMapOrigin()
683 maWinPos.X() = maViewSize.Width() / 2 - aWinSize.Width() / 2; in UpdateMapOrigin()
686 if ( aWinSize.Height() > maViewSize.Height() || maWinPos.Y() < 0 ) in UpdateMapOrigin()
688 maWinPos.Y() = maViewSize.Height() / 2 - aWinSize.Height() / 2; in UpdateMapOrigin()
704 Size aWinSize = PixelToLogic(GetOutputSizePixel()); in UpdateMapMode() local
717 Size aWinSizePixel = LogicToPixel(aWinSize); in UpdateMapMode()
807 Size aWinSize = PixelToLogic(GetOutputSizePixel()); in GetVisibleWidth() local
808 if ( aWinSize.Width() > maViewSize.Width() ) in GetVisibleWidth()
809 aWinSize.Width() = maViewSize.Width(); in GetVisibleWidth()
810 return ((double) aWinSize.Width() / maViewSize.Width()); in GetVisibleWidth()
822 Size aWinSize = PixelToLogic(GetOutputSizePixel()); in GetVisibleHeight() local
823 if ( aWinSize.Height() > maViewSize.Height() ) in GetVisibleHeight()
824 aWinSize.Height() = maViewSize.Height(); in GetVisibleHeight()
825 return ((double) aWinSize.Height() / maViewSize.Height()); in GetVisibleHeight()