Lines Matching refs:maTopLeft

285 					case 0: maTopLeft.X() = (int)fValue;break;  in InitFields()
286 case 1: maTopLeft.Y() = (int)fValue;break; in InitFields()
329 maTopLeft.X() = 0; in InitFields()
335 maTopLeft.Y() = 0; in InitFields()
355 maTopLeft = GetPixelPos( maTopLeft ); in InitFields()
357 maPreviewRect = Rectangle( maTopLeft, in InitFields()
358 Size( maBottomRight.X() - maTopLeft.X(), in InitFields()
359 maBottomRight.Y() - maTopLeft.Y() ) in InitFields()
655 maTopLeft.Y() = aPoint.Y(); in IMPL_LINK()
662 maTopLeft.X() = aPoint.X(); in IMPL_LINK()
740 maPreviewRect = Rectangle( maTopLeft, in AcquirePreview()
741 Size( maBottomRight.X() - maTopLeft.X(), in AcquirePreview()
742 maBottomRight.Y() - maTopLeft.Y() ) in AcquirePreview()
749 int nVHeight = (maBottomRight.X() - maTopLeft.X()) * aBMSize.Height() / aBMSize.Width(); in AcquirePreview()
750 …maPreviewRect = Rectangle( Point( maTopLeft.X(), ( maTopLeft.Y() + maBottomRight.Y() )/2 - nVHeigh… in AcquirePreview()
751 Size( maBottomRight.X() - maTopLeft.X(), in AcquirePreview()
756 int nVWidth = (maBottomRight.Y() - maTopLeft.Y()) * aBMSize.Width() / aBMSize.Height(); in AcquirePreview()
757 …maPreviewRect = Rectangle( Point( ( maTopLeft.X() + maBottomRight.X() )/2 - nVWidth/2, maTopLeft.Y… in AcquirePreview()
759 maBottomRight.Y() - maTopLeft.Y() ) ); in AcquirePreview()
926 case TopLeft: maTopLeft = aMousePos; break; in MouseMove()
927 case Top: maTopLeft.Y() = aMousePos.Y(); break; in MouseMove()
929 maTopLeft.Y() = aMousePos.Y(); in MouseMove()
936 maTopLeft.X() = aMousePos.X(); in MouseMove()
939 case Left: maTopLeft.X() = aMousePos.X(); break; in MouseMove()
943 if( maTopLeft.X() > maBottomRight.X() ) in MouseMove()
945 nSwap = maTopLeft.X(); in MouseMove()
946 maTopLeft.X() = maBottomRight.X(); in MouseMove()
949 if( maTopLeft.Y() > maBottomRight.Y() ) in MouseMove()
951 nSwap = maTopLeft.Y(); in MouseMove()
952 maTopLeft.Y() = maBottomRight.Y(); in MouseMove()
967 int nMiddleX = ( maBottomRight.X() - maTopLeft.X() ) / 2 - RECT_SIZE_PIX/2 + maTopLeft.X(); in MouseButtonDown()
968 int nMiddleY = ( maBottomRight.Y() - maTopLeft.Y() ) / 2 - RECT_SIZE_PIX/2 + maTopLeft.Y(); in MouseButtonDown()
969 if( aMousePixel.Y() >= maTopLeft.Y() && in MouseButtonDown()
970 aMousePixel.Y() < maTopLeft.Y() + RECT_SIZE_PIX ) in MouseButtonDown()
972 if( aMousePixel.X() >= maTopLeft.X() && in MouseButtonDown()
973 aMousePixel.X() < maTopLeft.X() + RECT_SIZE_PIX ) in MouseButtonDown()
976 aMousePixel = maTopLeft; in MouseButtonDown()
983 aMousePixel.Y() = maTopLeft.Y(); in MouseButtonDown()
990 aMousePixel = Point( maBottomRight.X(), maTopLeft.Y() ); in MouseButtonDown()
997 if( aMousePixel.X() >= maTopLeft.X() && in MouseButtonDown()
998 aMousePixel.X() < maTopLeft.X() + RECT_SIZE_PIX ) in MouseButtonDown()
1001 aMousePixel.X() = maTopLeft.X(); in MouseButtonDown()
1015 if( aMousePixel.X() >= maTopLeft.X() && in MouseButtonDown()
1016 aMousePixel.X() < maTopLeft.X() + RECT_SIZE_PIX ) in MouseButtonDown()
1019 aMousePixel = Point( maTopLeft.X(), maBottomRight.Y() ); in MouseButtonDown()
1095 aLastUL = maTopLeft; in DrawDrag()
1097 DrawRectangles( maTopLeft, maBottomRight ); in DrawDrag()
1143 Point aUL = GetLogicPos( maTopLeft ); in UpdateScanArea()