Lines Matching refs:fScale
340 double fScale; in ImplGetCropParams() local
372 fScale = (double) aSize100.Width() / nTotalWidth; in ImplGetCropParams()
373 …->GetMirrorFlags() & BMP_MIRROR_HORZ ) ? pAttr->GetRightCrop() : pAttr->GetLeftCrop() ) * fScale ); in ImplGetCropParams()
374 nNewRight = nNewLeft + FRound( aSize100.Width() * fScale ) - 1; in ImplGetCropParams()
376 fScale = (double) rSz.Width() / aSize100.Width(); in ImplGetCropParams()
377 rPt.X() += FRound( nNewLeft * fScale ); in ImplGetCropParams()
378 rSz.Width() = FRound( ( nNewRight - nNewLeft + 1 ) * fScale ); in ImplGetCropParams()
380 fScale = (double) aSize100.Height() / nTotalHeight; in ImplGetCropParams()
381 …->GetMirrorFlags() & BMP_MIRROR_VERT ) ? pAttr->GetBottomCrop() : pAttr->GetTopCrop() ) * fScale ); in ImplGetCropParams()
382 nNewBottom = nNewTop + FRound( aSize100.Height() * fScale ) - 1; in ImplGetCropParams()
384 fScale = (double) rSz.Height() / aSize100.Height(); in ImplGetCropParams()
385 rPt.Y() += FRound( nNewTop * fScale ); in ImplGetCropParams()
386 rSz.Height() = FRound( ( nNewBottom - nNewTop + 1 ) * fScale ); in ImplGetCropParams()