Lines Matching refs:aVideoRect
416 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()
445 aBasePos.Y() + ( ( aVideoRect.GetHeight() - aLogoSize.Height() ) >> 1 ) ), in Paint()