Lines Matching refs:aSize
1433 Size aSize; in AdjustToMaxRect() local
1436 aSize = Application::GetDefaultDevice()->PixelToLogic( pGraphic->GetPrefSize(), MAP_100TH_MM ); in AdjustToMaxRect()
1438 aSize = OutputDevice::LogicToLogic( pGraphic->GetPrefSize(), in AdjustToMaxRect()
1442 if( aSize.Height() != 0 && aSize.Width() != 0 ) in AdjustToMaxRect()
1449 ( aSize.Height() > aMaxSize.Height() ) || in AdjustToMaxRect()
1450 ( aSize.Width() > aMaxSize.Width() ) )&& in AdjustToMaxRect()
1451 aSize.Height() && aMaxSize.Height() ) in AdjustToMaxRect()
1453 float fGrfWH = (float)aSize.Width() / in AdjustToMaxRect()
1454 (float)aSize.Height(); in AdjustToMaxRect()
1461 aSize.Width() = (long)(aMaxSize.Height() * fGrfWH); in AdjustToMaxRect()
1462 aSize.Height()= aMaxSize.Height(); in AdjustToMaxRect()
1466 aSize.Width() = aMaxSize.Width(); in AdjustToMaxRect()
1467 aSize.Height()= (long)(aMaxSize.Width() / fGrfWH); in AdjustToMaxRect()
1476 aPos.X() -= aSize.Width() / 2; in AdjustToMaxRect()
1477 aPos.Y() -= aSize.Height() / 2; in AdjustToMaxRect()
1478 SetLogicRect( Rectangle( aPos, aSize ) ); in AdjustToMaxRect()