Lines Matching refs:maWinPos

68       maWinPos(0, 0),			// vorsichtshalber; die Werte sollten aber  in Window()
386 return maWinPos; in GetWinViewPos()
417 maWinPos = rPnt; in SetWinViewPos()
497 maWinPos.X() += (aSize.Width() - nW) / 2; in SetZoomIntegral()
498 maWinPos.Y() += (aSize.Height() - nH) / 2; in SetZoomIntegral()
499 if ( maWinPos.X() < 0 ) maWinPos.X() = 0; in SetZoomIntegral()
500 if ( maWinPos.Y() < 0 ) maWinPos.Y() = 0; in SetZoomIntegral()
627 maWinPos = maViewOrigin + aPos; in SetZoomRect()
630 maWinPos.X() += (rZoomRect.GetWidth() - aWinSize.Width()) / 2; in SetZoomRect()
632 maWinPos.Y() += (rZoomRect.GetHeight() - aWinSize.Height()) / 2; in SetZoomRect()
634 if ( maWinPos.X() < 0 ) maWinPos.X() = 0; in SetZoomRect()
635 if ( maWinPos.Y() < 0 ) maWinPos.Y() = 0; in SetZoomRect()
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()
705 maWinPos -= maViewOrigin; in UpdateMapMode()
706 Size aPix(maWinPos.X(), maWinPos.Y()); in UpdateMapMode()
737 maWinPos.X() = aPix.Width(); in UpdateMapMode()
738 maWinPos.Y() = aPix.Height(); in UpdateMapMode()
739 Point aNewOrigin (-maWinPos.X(), -maWinPos.Y()); in UpdateMapMode()
740 maWinPos += maViewOrigin; in UpdateMapMode()
759 return ((double) maWinPos.X() / maViewSize.Width()); in GetVisibleX()
771 return ((double) maWinPos.Y() / maViewSize.Height()); in GetVisibleY()
784 long nOldX = maWinPos.X(); in SetVisibleXY()
785 long nOldY = maWinPos.Y(); in SetVisibleXY()
788 maWinPos.X() = (long) (fX * maViewSize.Width()); in SetVisibleXY()
790 maWinPos.Y() = (long) (fY * maViewSize.Height()); in SetVisibleXY()
794 Scroll(nOldX - maWinPos.X(), nOldY - maWinPos.Y(), SCROLL_CHILDREN); in SetVisibleXY()