Searched refs:aLogoSize (Results 1 – 1 of 1) sorted by relevance
420 Size aLogoSize( pLogo->GetSizePixel() ); in Paint() local427 …if( ( aLogoSize.Width() > aVideoRect.GetWidth() || aLogoSize.Height() > aVideoRect.GetHeight() ) && in Paint()428 ( aLogoSize.Height() > 0 ) ) in Paint()430 const double fLogoWH = (double) aLogoSize.Width() / aLogoSize.Height(); in Paint()434 aLogoSize.Width() = (long) ( aVideoRect.GetHeight() * fLogoWH ); in Paint()435 aLogoSize.Height()= aVideoRect.GetHeight(); in Paint()439 aLogoSize.Width() = aVideoRect.GetWidth(); in Paint()440 aLogoSize.Height()= (long) ( aVideoRect.GetWidth() / fLogoWH ); in Paint()444 DrawBitmapEx( Point( aBasePos.X() + ( ( aVideoRect.GetWidth() - aLogoSize.Width() ) >> 1 ), in Paint()445 aBasePos.Y() + ( ( aVideoRect.GetHeight() - aLogoSize.Height() ) >> 1 ) ), in Paint()[all …]
Completed in 13 milliseconds