Lines Matching refs:aTwoRect
214 const SalTwoRect aTwoRect = { 0, 0, nWidth, nHeight, 0, 0, nWidth, nHeight }; in ImplCreateDIB() local
323 pDIB = StretchAndConvert( aSrcBuf, aTwoRect, nDstFormat, in ImplCreateDIB()
602 SalTwoRect aTwoRect( rTwoRect ); in ImplGetDDB() local
603 if( aTwoRect.mnSrcX < 0 ) in ImplGetDDB()
605 aTwoRect.mnSrcWidth += aTwoRect.mnSrcX; in ImplGetDDB()
606 aTwoRect.mnSrcX = 0; in ImplGetDDB()
608 if( aTwoRect.mnSrcY < 0 ) in ImplGetDDB()
610 aTwoRect.mnSrcHeight += aTwoRect.mnSrcY; in ImplGetDDB()
611 aTwoRect.mnSrcY = 0; in ImplGetDDB()
616 if( aTwoRect.mnSrcWidth == aTwoRect.mnDestWidth && in ImplGetDDB()
617 aTwoRect.mnSrcHeight == aTwoRect.mnDestHeight ) in ImplGetDDB()
619 aTwoRect.mnSrcX = aTwoRect.mnSrcY = aTwoRect.mnDestX = aTwoRect.mnDestY = 0; in ImplGetDDB()
620 aTwoRect.mnSrcWidth = aTwoRect.mnDestWidth = aSize.Width(); in ImplGetDDB()
621 aTwoRect.mnSrcHeight = aTwoRect.mnDestHeight = aSize.Height(); in ImplGetDDB()
623 else if( aTwoRect.mnSrcWidth+aTwoRect.mnSrcX > aSize.Width() || in ImplGetDDB()
624 aTwoRect.mnSrcHeight+aTwoRect.mnSrcY > aSize.Height() ) in ImplGetDDB()
629 if( aTwoRect.mnSrcX >= aSize.Width() || in ImplGetDDB()
630 aTwoRect.mnSrcY >= aSize.Height() ) in ImplGetDDB()
633 if( aTwoRect.mnSrcWidth+aTwoRect.mnSrcX > aSize.Width() ) in ImplGetDDB()
635 aTwoRect.mnSrcWidth = aSize.Width()-aTwoRect.mnSrcX; in ImplGetDDB()
636 if( aTwoRect.mnSrcWidth < 1 ) in ImplGetDDB()
638 aTwoRect.mnSrcX = 0; in ImplGetDDB()
639 aTwoRect.mnSrcWidth = aSize.Width(); in ImplGetDDB()
642 if( aTwoRect.mnSrcHeight+aTwoRect.mnSrcY > aSize.Height() ) in ImplGetDDB()
644 aTwoRect.mnSrcHeight = aSize.Height() - aTwoRect.mnSrcY; in ImplGetDDB()
645 if( aTwoRect.mnSrcHeight < 1 ) in ImplGetDDB()
647 aTwoRect.mnSrcY = 0; in ImplGetDDB()
648 aTwoRect.mnSrcHeight = aSize.Height(); in ImplGetDDB()
654 nDrawableDepth, aTwoRect ); in ImplGetDDB()
658 const_cast<X11SalBitmap*>(this)->mpDDB = new ImplSalDDB( pImage, aDrawable, nScreen, aTwoRect ); in ImplGetDDB()