Lines Matching refs:aBmpSize
493 Size aBmpSize( aScanBmp.GetPrefSize() ), aPageSize( pPage->GetSize() ); in ScannerEvent() local
496 if( !aBmpSize.Width() || !aBmpSize.Height() ) in ScannerEvent()
497 aBmpSize = aScanBmp.GetSizePixel(); in ScannerEvent()
500 aBmpSize = GetActiveWindow()->PixelToLogic( aBmpSize, aMap100 ); in ScannerEvent()
502 … aBmpSize = OutputDevice::LogicToLogic( aBmpSize, aScanBmp.GetPrefMapMode(), aMap100 ); in ScannerEvent()
507 …if( ( ( aBmpSize.Height() > aPageSize.Height() ) || ( aBmpSize.Width() > aPageSize.Width() ) ) && … in ScannerEvent()
509 double fGrfWH = (double) aBmpSize.Width() / aBmpSize.Height(); in ScannerEvent()
514 aBmpSize.Width() = FRound( aPageSize.Height() * fGrfWH ); in ScannerEvent()
515 aBmpSize.Height()= aPageSize.Height(); in ScannerEvent()
519 aBmpSize.Width() = aPageSize.Width(); in ScannerEvent()
520 aBmpSize.Height()= FRound( aPageSize.Width() / fGrfWH ); in ScannerEvent()
524 …Point aPnt ( ( aPageSize.Width() - aBmpSize.Width() ) >> 1, ( aPageSize.Height() - aBmpSize.Height… in ScannerEvent()
526 Rectangle aRect( aPnt, aBmpSize ); in ScannerEvent()