Lines Matching refs:Width
157 sal_uLong nX = (sal_uLong) ((double) aWinSize.Width() in CalcMinZoom()
158 * (double) ZOOM_MULTIPLICATOR / (double) maViewSize.Width()); in CalcMinZoom()
426 long nW = aSize.Width() * GetZoom() / nZoom; in SetZoomIntegral()
428 maWinPos.X() += (aSize.Width() - nW) / 2; in SetZoomIntegral()
460 nY = (sal_uLong) ((double) aWinSize.Width() in GetZoomForRect()
533 nY = (sal_uLong) ((double) aWinSize.Width() in SetZoomRect()
560 …aWinSize.Width() = (long) ((double) aWinSize.Width() * (double) ZOOM_MULTIPLICATOR / (double) nFac… in SetZoomRect()
561 maWinPos.X() += (rZoomRect.GetWidth() - aWinSize.Width()) / 2; in SetZoomRect()
594 if ( maWinPos.X() > maViewSize.Width() - aWinSize.Width() ) in UpdateMapOrigin()
596 maWinPos.X() = maViewSize.Width() - aWinSize.Width(); in UpdateMapOrigin()
604 if ( aWinSize.Width() > maViewSize.Width() || maWinPos.X() < 0 ) in UpdateMapOrigin()
606 maWinPos.X() = maViewSize.Width() / 2 - aWinSize.Width() / 2; in UpdateMapOrigin()
640 if (aPix.Width() == 0) in UpdateMapMode()
645 aPix.Width() -= 8; in UpdateMapMode()
657 maWinPos.X() = aPix.Width(); in UpdateMapMode()
674 return ((double) maWinPos.X() / maViewSize.Width()); in GetVisibleX()
699 maWinPos.X() = (long) (fX * maViewSize.Width()); in SetVisibleXY()
717 if ( aWinSize.Width() > maViewSize.Width() ) in GetVisibleWidth()
718 aWinSize.Width() = maViewSize.Width(); in GetVisibleWidth()
719 return ((double) aWinSize.Width() / maViewSize.Width()); in GetVisibleWidth()
998 if (aSize.Width() > SCROLL_SENSITIVE * 3) in DropScroll()
1005 if ( rMousePos.X() >= aSize.Width() - SCROLL_SENSITIVE ) in DropScroll()