Lines Matching refs:aSizePix
299 Size aSizePix( labs( aBRPix.X() - aTLPix.X() ) + 1, labs( aBRPix.Y() - aTLPix.Y() ) + 1 ); in createThumb_Impl() local
307 if ( aSizePix.Width() && aSizePix.Height() && in createThumb_Impl()
308 ( sal::static_int_cast<sal_uInt32>(aSizePix.Width()) > nMaximumExtent || in createThumb_Impl()
309 sal::static_int_cast<sal_uInt32>(aSizePix.Height()) > nMaximumExtent ) ) in createThumb_Impl()
311 const Size aOldSizePix( aSizePix ); in createThumb_Impl()
312 double fWH = static_cast< double >( aSizePix.Width() ) / aSizePix.Height(); in createThumb_Impl()
316 aSizePix.Width() = FRound( nMaximumExtent * fWH ); in createThumb_Impl()
317 aSizePix.Height() = nMaximumExtent; in createThumb_Impl()
321 aSizePix.Width() = nMaximumExtent; in createThumb_Impl()
322 aSizePix.Height() = FRound( nMaximumExtent / fWH ); in createThumb_Impl()
325 …aDrawSize.Width() = FRound( ( static_cast< double >( aDrawSize.Width() ) * aSizePix.Width() ) / aO… in createThumb_Impl()
326 …aDrawSize.Height() = FRound( ( static_cast< double >( aDrawSize.Height() ) * aSizePix.Height() ) /… in createThumb_Impl()
342 …aBackPosPix = Point( ( nMaximumExtent - aSizePix.Width() ) >> 1, ( nMaximumExtent - aSizePix.Heigh… in createThumb_Impl()
348 aFullSize = aSizePix; in createThumb_Impl()