Lines Matching refs:nX
260 int &nX, in Clip() argument
270 if( int(nX + nDX) <= int(aRect.x) || nX >= int(aRect.x + aRect.width) ) in Clip()
275 if( nX < aRect.x ) in Clip()
277 nSrcX += aRect.x - nX; in Clip()
278 nDX -= aRect.x - nX; in Clip()
279 nX = aRect.x; in Clip()
281 else if( int(nX + nDX) > int(aRect.x + aRect.width) ) in Clip()
282 nDX = aRect.x + aRect.width - nX; in Clip()
297 int X11SalGraphics::Clip( int &nX, in Clip() argument
306 && RectangleOut == Clip( pPaintRegion_, nX, nY, nDX, nDY, nSrcX, nSrcY ) ) in Clip()
310 && RectangleOut == Clip( mpClipRegion, nX, nY, nDX, nDY, nSrcX, nSrcY ) ) in Clip()
316 nPaint = XRectInRegion( pPaintRegion_, nX, nY, nDX, nDY ); in Clip()
326 nClip = XRectInRegion( mpClipRegion, nX, nY, nDX, nDY ); in Clip()
339 GC X11SalGraphics::SetMask( int &nX, in SetMask() argument
347 int n = Clip( nX, nY, nDX, nDY, nSrcX, nSrcY ); in SetMask()
359 XSetClipOrigin( pDisplay, pMaskGC_, nX - nSrcX, nY - nSrcY ); in SetMask()
383 XSetClipOrigin( pDisplay, pMonoGC, -nX, -nY ); in SetMask()
393 XSetClipOrigin( pDisplay, pMaskGC_, nX, nY ); in SetMask()
918 bool X11SalGraphics::drawAlphaRect( long nX, long nY, long nWidth, in drawAlphaRect() argument
944 nX, nY, in drawAlphaRect()
986 int nX = rPosAry.mnDestX, nY = rPosAry.mnDestY; in drawMask() local
989 XSetTSOrigin( pXDisp, aStippleGC, nX, nY ); in drawMask()
992 nX, nY, in drawMask()
1002 SalBitmap *X11SalGraphics::getBitmap( long nX, long nY, long nDX, long nDY ) in getBitmap() argument
1012 nX += nDX; in getBitmap()
1033 if ( nX < 0 ) in getBitmap()
1035 nDX += nX; in getBitmap()
1036 nX = 0; in getBitmap()
1043 if( nX + nDX > aAttrib.width ) in getBitmap()
1044 nDX = aAttrib.width - nX; in getBitmap()
1065 pSalBitmap->ImplCreateFromDrawable( GetDrawable(), m_nScreen, nBitCount, nX, nY, nDX, nDY ); in getBitmap()
1073 SalColor X11SalGraphics::getPixel( long nX, long nY ) in getPixel() argument
1089 nX, nY, in getPixel()
1108 void X11SalGraphics::invert( long nX, in invert() argument
1118 XFillRectangle( GetXDisplay(), GetDrawable(), pGC, nX, nY, nDX, nDY ); in invert()
1125 XDrawRectangle( GetXDisplay(), GetDrawable(), pGC, nX, nY, nDX, nDY ); in invert()
1130 XFillRectangle( GetXDisplay(), GetDrawable(), pGC, nX, nY, nDX, nDY ); in invert()