Lines Matching refs:X

285 					case 0: maTopLeft.X() = (int)fValue;break;  in InitFields()
287 case 2: maBottomRight.X() = (int)fValue;break; in InitFields()
305 case 0: maMinTopLeft.X() = pField->GetMin();break; in InitFields()
307 case 2: maMaxBottomRight.X() = pField->GetMax();break; in InitFields()
314 case 0: maMinTopLeft.X() = (int)fValue;break; in InitFields()
316 case 2: maMaxBottomRight.X() = (int)fValue;break; in InitFields()
328 maMinTopLeft.X() = 0; in InitFields()
329 maTopLeft.X() = 0; in InitFields()
340 maMaxBottomRight.X() = PREVIEW_WIDTH; in InitFields()
341 maBottomRight.X() = PREVIEW_WIDTH; in InitFields()
358 Size( maBottomRight.X() - maTopLeft.X(), in InitFields()
662 maTopLeft.X() = aPoint.X(); in IMPL_LINK()
676 maBottomRight.X() = aPoint.X(); in IMPL_LINK()
741 Size( maBottomRight.X() - maTopLeft.X(), 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()
757 …maPreviewRect = Rectangle( Point( ( maTopLeft.X() + maBottomRight.X() )/2 - nVWidth/2, maTopLeft.Y… in AcquirePreview()
930 maBottomRight.X() = aMousePos.X(); in MouseMove()
932 case Right: maBottomRight.X() = aMousePos.X(); break; 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()
947 maBottomRight.X() = nSwap; in MouseMove()
967 int nMiddleX = ( maBottomRight.X() - maTopLeft.X() ) / 2 - RECT_SIZE_PIX/2 + maTopLeft.X(); in MouseButtonDown()
972 if( aMousePixel.X() >= maTopLeft.X() && in MouseButtonDown()
973 aMousePixel.X() < maTopLeft.X() + RECT_SIZE_PIX ) in MouseButtonDown()
979 else if( aMousePixel.X() >= nMiddleX && in MouseButtonDown()
980 aMousePixel.X() < nMiddleX + RECT_SIZE_PIX ) in MouseButtonDown()
986 else if( aMousePixel.X() > maBottomRight.X() - RECT_SIZE_PIX && in MouseButtonDown()
987 aMousePixel.X() <= maBottomRight.X() ) 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()
1004 else if( aMousePixel.X() > maBottomRight.X() - RECT_SIZE_PIX && in MouseButtonDown()
1005 aMousePixel.X() <= maBottomRight.X() ) in MouseButtonDown()
1008 aMousePixel.X() = maBottomRight.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()
1022 else if( aMousePixel.X() >= nMiddleX && in MouseButtonDown()
1023 aMousePixel.X() < nMiddleX + RECT_SIZE_PIX ) in MouseButtonDown()
1029 else if( aMousePixel.X() > maBottomRight.X() - RECT_SIZE_PIX && in MouseButtonDown()
1030 aMousePixel.X() <= maBottomRight.X() ) in MouseButtonDown()
1062 aUR = Point( rBR.X(), rUL.Y() ); in DrawRectangles()
1063 aBL = Point( rUL.X(), rBR.Y() ); in DrawRectangles()
1064 nMiddleX = ( rBR.X() - rUL.X() ) / 2 + rUL.X(); in DrawRectangles()
1077 …DrawRect( Rectangle( Point( rUL.X(), nMiddleY - RECT_SIZE_PIX/2 ), Size( RECT_SIZE_PIX, RECT_SIZE_… in DrawRectangles()
1078 …DrawRect( Rectangle( Point( rBR.X(), nMiddleY - RECT_SIZE_PIX/2 ), Size( -RECT_SIZE_PIX, RECT_SIZE… in DrawRectangles()
1107 ( ( rIn.X() * PREVIEW_WIDTH ) / in GetPixelPos()
1108 ( maMaxBottomRight.X() - maMinTopLeft.X() ) ) in GetPixelPos()
1120 aConvert.X() -= PREVIEW_UPPER_LEFT; in GetLogicPos()
1122 if( aConvert.X() < 0 ) in GetLogicPos()
1123 aConvert.X() = 0; in GetLogicPos()
1124 if( aConvert.X() >= PREVIEW_WIDTH ) in GetLogicPos()
1125 aConvert.X() = PREVIEW_WIDTH-1; in GetLogicPos()
1131 aConvert.X() *= ( maMaxBottomRight.X() - maMinTopLeft.X() ); in GetLogicPos()
1132 aConvert.X() /= PREVIEW_WIDTH; in GetLogicPos()
1146 maLeftField.SetValue( aUL.X() ); in UpdateScanArea()
1148 maRightField.SetValue( aBR.X() ); in UpdateScanArea()
1156 SetAdjustedNumericalValue( "tl-x", (double)aUL.X() ); in UpdateScanArea()
1158 SetAdjustedNumericalValue( "br-x", (double)aBR.X() ); in UpdateScanArea()