Lines Matching refs:aWinSize
166 Size aWinSize = PixelToLogic(GetOutputSizePixel()); in CalcMinZoom() local
167 sal_uLong nX = (sal_uLong) ((double) aWinSize.Width() in CalcMinZoom()
169 sal_uLong nY = (sal_uLong) ((double) aWinSize.Height() in CalcMinZoom()
522 const Size aWinSize( PixelToLogic(GetOutputSizePixel()) ); in GetZoomForRect() local
525 nX = (sal_uLong) ((double) aWinSize.Height() in GetZoomForRect()
531 nY = (sal_uLong) ((double) aWinSize.Width() in GetZoomForRect()
583 Size aWinSize = PixelToLogic(GetOutputSizePixel()); in SetZoomRect() local
598 nX = (sal_uLong) ((double) aWinSize.Height() in SetZoomRect()
604 nY = (sal_uLong) ((double) aWinSize.Width() in SetZoomRect()
631 …aWinSize.Width() = (long) ((double) aWinSize.Width() * (double) ZOOM_MULTIPLICATOR / (double) nFac… in SetZoomRect()
632 maWinPos.X() += (rZoomRect.GetWidth() - aWinSize.Width()) / 2; in SetZoomRect()
633 …aWinSize.Height() = (long) ((double) aWinSize.Height() * (double) ZOOM_MULTIPLICATOR / (double) nF… in SetZoomRect()
634 maWinPos.Y() += (rZoomRect.GetHeight() - aWinSize.Height()) / 2; in SetZoomRect()
669 Size aWinSize = PixelToLogic(GetOutputSizePixel()); in UpdateMapOrigin() local
673 if ( maWinPos.X() > maViewSize.Width() - aWinSize.Width() ) in UpdateMapOrigin()
675 maWinPos.X() = maViewSize.Width() - aWinSize.Width(); in UpdateMapOrigin()
678 if ( maWinPos.Y() > maViewSize.Height() - aWinSize.Height() ) in UpdateMapOrigin()
680 maWinPos.Y() = maViewSize.Height() - aWinSize.Height(); in UpdateMapOrigin()
683 if ( aWinSize.Width() > maViewSize.Width() || maWinPos.X() < 0 ) in UpdateMapOrigin()
685 maWinPos.X() = maViewSize.Width() / 2 - aWinSize.Width() / 2; in UpdateMapOrigin()
688 if ( aWinSize.Height() > maViewSize.Height() || maWinPos.Y() < 0 ) in UpdateMapOrigin()
690 maWinPos.Y() = maViewSize.Height() / 2 - aWinSize.Height() / 2; in UpdateMapOrigin()
706 Size aWinSize = PixelToLogic(GetOutputSizePixel()); in UpdateMapMode() local
719 Size aWinSizePixel = LogicToPixel(aWinSize); in UpdateMapMode()
809 Size aWinSize = PixelToLogic(GetOutputSizePixel()); in GetVisibleWidth() local
810 if ( aWinSize.Width() > maViewSize.Width() ) in GetVisibleWidth()
811 aWinSize.Width() = maViewSize.Width(); in GetVisibleWidth()
812 return ((double) aWinSize.Width() / maViewSize.Width()); in GetVisibleWidth()
824 Size aWinSize = PixelToLogic(GetOutputSizePixel()); in GetVisibleHeight() local
825 if ( aWinSize.Height() > maViewSize.Height() ) in GetVisibleHeight()
826 aWinSize.Height() = maViewSize.Height(); in GetVisibleHeight()
827 return ((double) aWinSize.Height() / maViewSize.Height()); in GetVisibleHeight()