Lines Matching refs:n1

635     long            n1;  in ImplDrawArrows()  local
651 n1 = mpData->pArrows[i].nPos+mpData->nNullVirOff+1; in ImplDrawArrows()
652 n2 = n1+mpData->pArrows[i].nWidth-2; in ImplDrawArrows()
688 n3 = n1 + ((n2-n1)/2) - 1; in ImplDrawArrows()
696 ImplVDrawLine( n1, nCenter, n3, nCenter ); in ImplDrawArrows()
702 ImplVDrawLine( n1, nCenter, n4, nCenter ); in ImplDrawArrows()
708 ImplVDrawLine( n1, nCenter, n2, nCenter ); in ImplDrawArrows()
709 ImplVDrawLine( n1+1, nCenter-1, n1+1, nCenter+1 ); in ImplDrawArrows()
710 ImplVDrawLine( n1+2, nCenter-2, n1+2, nCenter+2 ); in ImplDrawArrows()
722 long n1; in ImplDrawBorders() local
733 n1 = mpData->pBorders[i].nPos+mpData->nNullVirOff; in ImplDrawBorders()
734 n2 = n1+mpData->pBorders[i].nWidth; in ImplDrawBorders()
736 if ( ((n1 >= nMin) && (n1 <= nMax)) || ((n2 >= nMin) && (n2 <= nMax)) ) in ImplDrawBorders()
738 if ( (n2-n1) > 3 ) in ImplDrawBorders()
745 ImplVDrawRect( n1, nVirTop, n2, nVirBottom ); in ImplDrawBorders()
749 ImplVDrawLine( n1+1, nVirTop, n1+1, nVirBottom ); in ImplDrawBorders()
750 ImplVDrawLine( n1, nVirTop, n2, nVirTop ); in ImplDrawBorders()
752 ImplVDrawLine( n1, nVirTop, n1, nVirBottom ); in ImplDrawBorders()
753 ImplVDrawLine( n1, nVirBottom, n2, nVirBottom ); in ImplDrawBorders()
761 ImplVDrawLine( n1, nVirTop, n1, nVirBottom ); in ImplDrawBorders()
767 if ( n2-n1 > RULER_VAR_SIZE+4 ) in ImplDrawBorders()
769 nTemp1 = n1 + (((n2-n1+1)-RULER_VAR_SIZE) / 2); in ImplDrawBorders()
798 if ( n2-n1 > RULER_VAR_SIZE+10 ) in ImplDrawBorders()
803 ImplVDrawLine( n1+4, nVirTop+3, n1+4, nVirBottom-3 ); in ImplDrawBorders()
806 ImplVDrawLine( n1+5, nVirTop+3, n1+5, nVirBottom-3 ); in ImplDrawBorders()
812 ImplVDrawLine( n1+4, nVirTop+3, n1+4, nVirBottom-3 ); in ImplDrawBorders()
820 n = n1+((n2-n1)/2); in ImplDrawBorders()
1624 long n1; in ImplHitTest() local
1690 n1 = mpData->pTabs[i-1].nPos; in ImplHitTest()
1694 aRect.Left() = n1; in ImplHitTest()
1695 aRect.Right() = n1+RULER_TAB_WIDTH-1; in ImplHitTest()
1699 aRect.Right() = n1; in ImplHitTest()
1700 aRect.Left() = n1-RULER_TAB_WIDTH-1; in ImplHitTest()
1704 aRect.Left() = n1-RULER_TAB_CWIDTH2+1; in ImplHitTest()
1705 aRect.Right() = n1-RULER_TAB_CWIDTH2+RULER_TAB_CWIDTH; in ImplHitTest()
1732 n1 = mpData->pIndents[i-1].nPos; in ImplHitTest()
1736 aRect.Left() = n1-nIndentWidth2; in ImplHitTest()
1737 aRect.Right() = n1+nIndentWidth2; in ImplHitTest()
1743 aRect.Left() = n1-nIndentWidth2; in ImplHitTest()
1744 aRect.Right() = n1+nIndentWidth2; in ImplHitTest()
1776 n1 = mpData->pBorders[i-1].nPos; in ImplHitTest()
1777 n2 = n1 + mpData->pBorders[i-1].nWidth; in ImplHitTest()
1782 n1 -= nBorderTolerance; in ImplHitTest()
1787 if ( (nX >= n1) && (nX <= n2) ) in ImplHitTest()
1806 while ( nMOff*2 >= (n2-n1-RULER_MOUSE_BORDERMOVE) ) in ImplHitTest()
1817 if ( nX <= n1+nMOff ) in ImplHitTest()
1847 n1 = mpData->nMargin1; in ImplHitTest()
1848 if ( (nX >= n1 - nMarginTolerance) && (nX <= n1 + nMarginTolerance) ) in ImplHitTest()
1857 n1 = mpData->nMargin2; in ImplHitTest()
1858 if ( (nX >= n1 - nMarginTolerance) && (nX <= n1 + nMarginTolerance) ) in ImplHitTest()
1882 n1 = mpData->pTabs[i-1].nPos; in ImplHitTest()
1886 aRect.Left() = n1; in ImplHitTest()
1887 aRect.Right() = n1+RULER_TAB_WIDTH-1; in ImplHitTest()
1891 aRect.Right() = n1; in ImplHitTest()
1892 aRect.Left() = n1-RULER_TAB_WIDTH-1; in ImplHitTest()
1896 aRect.Left() = n1-RULER_TAB_CWIDTH2+1; in ImplHitTest()
1897 aRect.Right() = n1-RULER_TAB_CWIDTH2+RULER_TAB_CWIDTH; in ImplHitTest()