Searched refs:posterWidth (Results 1 – 1 of 1) sorted by relevance
250 int posterWidth = r.width() > m_poster->width() ? m_poster->width() : r.width(); in paint() local251 int posterHeight = posterWidth / originalRatio; in paint()252 int posterX = ((r.width() - posterWidth) / 2) + r.x(); in paint()254 IntRect targetRect(posterX, posterY, posterWidth, posterHeight); in paint()