Lines Matching refs:aSize100
330 Size aSize100; in ImplGetCropParams() local
352 … aSize100 = Application::GetDefaultDevice()->PixelToLogic( maGraphic.GetPrefSize(), aMap100 ); in ImplGetCropParams()
356 aSize100 = pOut->LogicToLogic( maGraphic.GetPrefSize(), &m, &aMap100 ); in ImplGetCropParams()
360 nTotalWidth = aSize100.Width() - pAttr->GetLeftCrop() - pAttr->GetRightCrop(); in ImplGetCropParams()
361 nTotalHeight = aSize100.Height() - pAttr->GetTopCrop() - pAttr->GetBottomCrop(); in ImplGetCropParams()
363 if( aSize100.Width() > 0 && aSize100.Height() > 0 && nTotalWidth > 0 && nTotalHeight > 0 ) in ImplGetCropParams()
365 fScale = (double) aSize100.Width() / nTotalWidth; in ImplGetCropParams()
367 nNewRight = nNewLeft + FRound( aSize100.Width() * fScale ) - 1; in ImplGetCropParams()
369 fScale = (double) rSz.Width() / aSize100.Width(); in ImplGetCropParams()
373 fScale = (double) aSize100.Height() / nTotalHeight; in ImplGetCropParams()
375 nNewBottom = nNewTop + FRound( aSize100.Height() * fScale ) - 1; in ImplGetCropParams()
377 fScale = (double) rSz.Height() / aSize100.Height(); in ImplGetCropParams()