Home
last modified time | relevance | path

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

/aoo42x/main/avmedia/source/viewer/
H A Dmediawindow_impl.cxx416 const Rectangle aVideoRect( aBasePos, maChildWindow.GetSizePixel() ); in Paint() local
418 if( pLogo && !pLogo->IsEmpty() && ( aVideoRect.GetWidth() > 0 ) && ( aVideoRect.GetHeight() > 0 ) ) in Paint()
425 DrawRect( aVideoRect ); in Paint()
427 …if( ( aLogoSize.Width() > aVideoRect.GetWidth() || aLogoSize.Height() > aVideoRect.GetHeight() ) && in Paint()
432 if( fLogoWH < ( (double) aVideoRect.GetWidth() / aVideoRect.GetHeight() ) ) 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()
[all …]

Completed in 7 milliseconds