Lines Matching refs:nX1
339 void Ruler::ImplVDrawLine( long nX1, long nY1, long nX2, long nY2 ) in ImplVDrawLine() argument
341 if ( nX1 < -RULER_CLIP ) in ImplVDrawLine()
343 nX1 = -RULER_CLIP; in ImplVDrawLine()
351 if ( nX1 > nClip ) in ImplVDrawLine()
356 maVirDev.DrawLine( Point( nX1, nY1 ), Point( nX2, nY2 ) ); in ImplVDrawLine()
358 maVirDev.DrawLine( Point( nY1, nX1 ), Point( nY2, nX2 ) ); in ImplVDrawLine()
363 void Ruler::ImplVDrawRect( long nX1, long nY1, long nX2, long nY2 ) in ImplVDrawRect() argument
365 if ( nX1 < -RULER_CLIP ) in ImplVDrawRect()
367 nX1 = -RULER_CLIP; in ImplVDrawRect()
375 if ( nX1 > nClip ) in ImplVDrawRect()
380 maVirDev.DrawRect( Rectangle( nX1, nY1, nX2, nY2 ) ); in ImplVDrawRect()
382 maVirDev.DrawRect( Rectangle( nY1, nX1, nY2, nX2 ) ); in ImplVDrawRect()