Lines Matching refs:nLines
897 nX = (sal_uInt16) ( aPt.X() * nLines / aRectSize.Width() ); in PointToIndex()
898 nY = (sal_uInt16) ( aPt.Y() * nLines / aRectSize.Height() ); in PointToIndex()
900 return nX + nY * nLines ; in PointToIndex()
906 sal_uInt16 nXIndex = nIndex % nLines ; in IndexToPoint()
907 sal_uInt16 nYIndex = sal_uInt16(nIndex / nLines) ; in IndexToPoint()
910 aPtTl.Y() = aRectSize.Height() * nYIndex / nLines + 1; in IndexToPoint()
911 aPtTl.X() = aRectSize.Width() * nXIndex / nLines + 1; in IndexToPoint()
917 return aFocusPosition.getX() + aFocusPosition.getY() * nLines ; in GetFoucsPosIndex()
924 nX = (sal_uInt16) ( aPt.X() * nLines / aRectSize.Width() ); in ShowPosition()
925 nY = (sal_uInt16) ( aPt.Y() * nLines / aRectSize.Height() ); in ShowPosition()
927 ChangePixel( nX + nY * nLines ); in ShowPosition()
943 nLines ( nNumber ), in SvxPixelCtl()
955 nSquares = nLines * nLines; in SvxPixelCtl()
1040 for( i = 1; i < nLines; i++) in Paint()
1043 nTmp = (sal_uInt16) ( aRectSize.Height() * i / nLines ); in Paint()
1046 nTmp = (sal_uInt16) ( aRectSize.Width() * i / nLines ); in Paint()
1054 for( i = 0; i < nLines; i++) in Paint()
1056 aPtTl.Y() = aRectSize.Height() * i / nLines + 1; in Paint()
1057 aPtBr.Y() = aRectSize.Height() * (i + 1) / nLines - 1; in Paint()
1059 for( j = 0; j < nLines; j++) in Paint()
1061 aPtTl.X() = aRectSize.Width() * j / nLines + 1; in Paint()
1062 aPtBr.X() = aRectSize.Width() * (j + 1) / nLines - 1; in Paint()
1064 if ( *( pPixel + i * nLines + j ) != nLastPixel ) in Paint()
1066 nLastPixel = *( pPixel + i * nLines + j ); in Paint()
1094 nLeft = aRectSize.Width() * j / nLines + 1; in implCalFocusRect()
1095 nRight = aRectSize.Width() * (j + 1) / nLines - 1; in implCalFocusRect()
1096 nTop = aRectSize.Height() * i / nLines + 1; in implCalFocusRect()
1097 nBottom = aRectSize.Height() * (i + 1) / nLines - 1; in implCalFocusRect()
1110 Point pRepaintPoint( aRectSize.Width() *( aFocusPosition.getX() - 1)/ nLines - 1, in KeyInput()
1111 aRectSize.Height() *( aFocusPosition.getY() - 1)/ nLines -1 in KeyInput()
1113 Size mRepaintSize( aRectSize.Width() *3/ nLines + 2,aRectSize.Height() *3/ nLines + 2); in KeyInput()
1127 if( aFocusPosition.getX() < (nLines - 1) ) in KeyInput()
1143 if( aFocusPosition.getY() < ( nLines - 1 ) ) in KeyInput()
1151 ChangePixel( sal_uInt16(aFocusPosition.getX() + aFocusPosition.getY() * nLines) ); in KeyInput()