Lines Matching refs:nX
387 void Ruler::ImplVDrawText( long nX, long nY, const String& rText ) in ImplVDrawText() argument
389 if ( (nX > -RULER_CLIP) && (nX < mnVirWidth+RULER_CLIP) ) in ImplVDrawText()
392 maVirDev.DrawText( Point( nX, nY ), rText ); in ImplVDrawText()
394 maVirDev.DrawText( Point( nY, nX ), rText ); in ImplVDrawText()
471 long nX; in ImplDrawTicks() local
557 nX = nStart-nTxtWidth2; in ImplDrawTicks()
559 nX = nStart+nTxtWidth2; in ImplDrawTicks()
561 ImplVDrawText( nX, n_Y, aNumStr ); in ImplDrawTicks()
580 nX = nStart+n; in ImplDrawTicks()
585 if ( nX < (nMax-nTxtWidth2) ) in ImplDrawTicks()
588 nX -= nTxtWidth2; in ImplDrawTicks()
590 nX += nTxtWidth2; in ImplDrawTicks()
591 ImplVDrawText( nX, nY, aNumStr ); in ImplDrawTicks()
593 nX = nStart-n; in ImplDrawTicks()
594 if ( nX > (nMin+nTxtWidth2) ) in ImplDrawTicks()
597 nX -= nTxtWidth2; in ImplDrawTicks()
599 nX += nTxtWidth2; in ImplDrawTicks()
600 ImplVDrawText( nX, nY, aNumStr ); in ImplDrawTicks()
1622 long nX; in ImplHitTest() local
1634 nX = rPos.X(); in ImplHitTest()
1639 nX = rPos.Y(); in ImplHitTest()
1659 nX -= mnVirOff; in ImplHitTest()
1660 long nXTemp = nX; in ImplHitTest()
1661 …if ( (nX < mpData->nRulVirOff-nXExtraOff) || (nX > mpData->nRulVirOff+mpData->nRulWidth+nXExtraOff… in ImplHitTest()
1669 nX -= mpData->nNullVirOff; in ImplHitTest()
1670 pHitTest->nPos = nX; in ImplHitTest()
1708 if ( aRect.IsInside( Point( nX, nY ) ) ) in ImplHitTest()
1749 if ( aRect.IsInside( Point( nX, nY ) ) ) in ImplHitTest()
1787 if ( (nX >= n1) && (nX <= n2) ) in ImplHitTest()
1817 if ( nX <= n1+nMOff ) in ImplHitTest()
1822 else if ( nX >= n2-nMOff ) in ImplHitTest()
1848 if ( (nX >= n1 - nMarginTolerance) && (nX <= n1 + nMarginTolerance) ) in ImplHitTest()
1858 if ( (nX >= n1 - nMarginTolerance) && (nX <= n1 + nMarginTolerance) ) in ImplHitTest()
1903 if ( aRect.IsInside( Point( nX, nY ) ) ) in ImplHitTest()
2038 long nX; in ImplDrag() local
2044 nX = rPos.X(); in ImplDrag()
2050 nX = rPos.Y(); in ImplDrag()
2056 nX -= mnVirOff; in ImplDrag()
2057 if ( nX < mpData->nRulVirOff ) in ImplDrag()
2059 nX = mpData->nRulVirOff; in ImplDrag()
2062 else if ( nX > mpData->nRulVirOff+mpData->nRulWidth ) in ImplDrag()
2064 nX = mpData->nRulVirOff+mpData->nRulWidth; in ImplDrag()
2067 nX -= mpData->nNullVirOff; in ImplDrag()
2108 mnDragPos = nX; in ImplDrag()