Lines Matching refs:fScale
333 double fScale; in ImplGetCropParams() local
365 fScale = (double) aSize100.Width() / nTotalWidth; in ImplGetCropParams()
366 …->GetMirrorFlags() & BMP_MIRROR_HORZ ) ? pAttr->GetRightCrop() : pAttr->GetLeftCrop() ) * fScale ); in ImplGetCropParams()
367 nNewRight = nNewLeft + FRound( aSize100.Width() * fScale ) - 1; in ImplGetCropParams()
369 fScale = (double) rSz.Width() / aSize100.Width(); in ImplGetCropParams()
370 rPt.X() += FRound( nNewLeft * fScale ); in ImplGetCropParams()
371 rSz.Width() = FRound( ( nNewRight - nNewLeft + 1 ) * fScale ); in ImplGetCropParams()
373 fScale = (double) aSize100.Height() / nTotalHeight; in ImplGetCropParams()
374 …->GetMirrorFlags() & BMP_MIRROR_VERT ) ? pAttr->GetBottomCrop() : pAttr->GetTopCrop() ) * fScale ); in ImplGetCropParams()
375 nNewBottom = nNewTop + FRound( aSize100.Height() * fScale ) - 1; in ImplGetCropParams()
377 fScale = (double) rSz.Height() / aSize100.Height(); in ImplGetCropParams()
378 rPt.Y() += FRound( nNewTop * fScale ); in ImplGetCropParams()
379 rSz.Height() = FRound( ( nNewBottom - nNewTop + 1 ) * fScale ); in ImplGetCropParams()