Home
last modified time | relevance | path

Searched refs:aLogoSize (Results 1 – 1 of 1) sorted by relevance

/trunk/main/avmedia/source/viewer/
H A Dmediawindow_impl.cxx420 Size aLogoSize( pLogo->GetSizePixel() ); in Paint() local
427 …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 16 milliseconds