Lines Matching refs:aRect
267 XRectangle aRect; in Clip() local
268 XClipBox( pRegion, &aRect ); in Clip()
270 if( int(nX + nDX) <= int(aRect.x) || nX >= int(aRect.x + aRect.width) ) in Clip()
272 if( int(nY + nDY) <= int(aRect.y) || nY >= int(aRect.y + aRect.height) ) 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()
284 if( nY < aRect.y ) in Clip()
286 nSrcY += aRect.y - nY; in Clip()
287 nDY -= aRect.y - nY; in Clip()
288 nY = aRect.y; in Clip()
290 else if( int(nY + nDY) > int(aRect.y + aRect.height) ) in Clip()
291 nDY = aRect.y + aRect.height - nY; in Clip()