Searched refs:aThumbSize (Results 1 – 2 of 2) sorted by relevance
143 Size aThumbSize(maCtlFavorites.GetOutputSizePixel()); in fillFavorites() local144 aThumbSize.setWidth( aThumbSize.Width() / nColCount ); in fillFavorites()145 aThumbSize.setHeight( aThumbSize.Height() / nLineCount ); in fillFavorites()146 aThumbSize.AdjustWidth( -12 ); in fillFavorites()147 aThumbSize.AdjustHeight( -12 ); in fillFavorites()
274 Size aThumbSize(pCurrentItem->m_xImageScreenshot->get_size_request()); in LoadImage() local278 if (aBmpSize.Width() > aThumbSize.Width() - 2 * Margin) in LoadImage()280 aScale = static_cast<double>(aBmpSize.Width()) / (aThumbSize.Width() - 2 * Margin); in LoadImage()283 else if (aBmpSize.Height() > aThumbSize.Height() - 2 * Margin) in LoadImage()285 aScale = static_cast<double>(aBmpSize.Height()) / (aThumbSize.Height() - 2 * Margin); in LoadImage()292 xVirDev->SetOutputSizePixel(aThumbSize); in LoadImage()296 xVirDev->DrawBitmapEx(Point(aThumbSize.Width() / 2 - aBmpSize.Width() / 2, Margin), aBmp); in LoadImage()