Lines Matching refs:n2

636     long            n2;  in ImplDrawArrows()  local
652 n2 = n1+mpData->pArrows[i].nWidth-2; in ImplDrawArrows()
688 n3 = n1 + ((n2-n1)/2) - 1; in ImplDrawArrows()
697 ImplVDrawLine( n4, nCenter, n2, nCenter ); in ImplDrawArrows()
703 ImplVDrawLine( n3, nCenter, n2, nCenter ); in ImplDrawArrows()
708 ImplVDrawLine( n1, nCenter, n2, nCenter ); in ImplDrawArrows()
711 ImplVDrawLine( n2-1, nCenter-1, n2-1, nCenter+1 ); in ImplDrawArrows()
712 ImplVDrawLine( n2-2, nCenter-2, n2-2, nCenter+2 ); in ImplDrawArrows()
723 long n2; in ImplDrawBorders() local
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()
750 ImplVDrawLine( n1, nVirTop, n2, nVirTop ); in ImplDrawBorders()
753 ImplVDrawLine( n1, nVirBottom, n2, nVirBottom ); in ImplDrawBorders()
754 ImplVDrawLine( n2-1, nVirTop, n2-1, nVirBottom ); in ImplDrawBorders()
756 ImplVDrawLine( n2, nVirTop, n2, nVirBottom ); in ImplDrawBorders()
762 ImplVDrawLine( n2, nVirTop, n2, 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()
804 ImplVDrawLine( n2-5, nVirTop+3, n2-5, nVirBottom-3 ); in ImplDrawBorders()
807 ImplVDrawLine( n2-4, nVirTop+3, n2-4, nVirBottom-3 ); in ImplDrawBorders()
813 ImplVDrawLine( n2-4, nVirTop+3, n2-4, nVirBottom-3 ); in ImplDrawBorders()
820 n = n1+((n2-n1)/2); in ImplDrawBorders()
1625 long n2; in ImplHitTest() local
1777 n2 = n1 + mpData->pBorders[i-1].nWidth; in ImplHitTest()
1783 n2 += nBorderTolerance; in ImplHitTest()
1787 if ( (nX >= n1) && (nX <= n2) ) in ImplHitTest()
1806 while ( nMOff*2 >= (n2-n1-RULER_MOUSE_BORDERMOVE) ) in ImplHitTest()
1822 else if ( nX >= n2-nMOff ) in ImplHitTest()