Lines Matching refs:maWinPos
70 maWinPos(0, 0), // vorsichtshalber; die Werte sollten aber in Window()
388 return maWinPos; in GetWinViewPos()
419 maWinPos = rPnt; in SetWinViewPos()
499 maWinPos.X() += (aSize.Width() - nW) / 2; in SetZoomIntegral()
500 maWinPos.Y() += (aSize.Height() - nH) / 2; in SetZoomIntegral()
501 if ( maWinPos.X() < 0 ) maWinPos.X() = 0; in SetZoomIntegral()
502 if ( maWinPos.Y() < 0 ) maWinPos.Y() = 0; in SetZoomIntegral()
629 maWinPos = maViewOrigin + aPos; in SetZoomRect()
632 maWinPos.X() += (rZoomRect.GetWidth() - aWinSize.Width()) / 2; in SetZoomRect()
634 maWinPos.Y() += (rZoomRect.GetHeight() - aWinSize.Height()) / 2; in SetZoomRect()
636 if ( maWinPos.X() < 0 ) maWinPos.X() = 0; in SetZoomRect()
637 if ( maWinPos.Y() < 0 ) maWinPos.Y() = 0; in SetZoomRect()
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()
707 maWinPos -= maViewOrigin; in UpdateMapMode()
708 Size aPix(maWinPos.X(), maWinPos.Y()); in UpdateMapMode()
739 maWinPos.X() = aPix.Width(); in UpdateMapMode()
740 maWinPos.Y() = aPix.Height(); in UpdateMapMode()
741 Point aNewOrigin (-maWinPos.X(), -maWinPos.Y()); in UpdateMapMode()
742 maWinPos += maViewOrigin; in UpdateMapMode()
761 return ((double) maWinPos.X() / maViewSize.Width()); in GetVisibleX()
773 return ((double) maWinPos.Y() / maViewSize.Height()); in GetVisibleY()
786 long nOldX = maWinPos.X(); in SetVisibleXY()
787 long nOldY = maWinPos.Y(); in SetVisibleXY()
790 maWinPos.X() = (long) (fX * maViewSize.Width()); in SetVisibleXY()
792 maWinPos.Y() = (long) (fY * maViewSize.Height()); in SetVisibleXY()
796 Scroll(nOldX - maWinPos.X(), nOldY - maWinPos.Y(), SCROLL_CHILDREN); in SetVisibleXY()