Lines Matching refs:Width

360 		nTotalWidth = aSize100.Width() - pAttr->GetLeftCrop() - pAttr->GetRightCrop();  in ImplGetCropParams()
363 if( aSize100.Width() > 0 && aSize100.Height() > 0 && nTotalWidth > 0 && nTotalHeight > 0 ) in ImplGetCropParams()
365 fScale = (double) aSize100.Width() / nTotalWidth; in ImplGetCropParams()
367 nNewRight = nNewLeft + FRound( aSize100.Width() * fScale ) - 1; in ImplGetCropParams()
369 fScale = (double) rSz.Width() / aSize100.Width(); in ImplGetCropParams()
371 rSz.Width() = FRound( ( nNewRight - nNewLeft + 1 ) * fScale ); in ImplGetCropParams()
694 if( aSz.Width() < 0L ) in Draw()
696 aPt.X() += aSz.Width() + 1; in Draw()
697 aSz.Width() = -aSz.Width(); in Draw()
772 rSz.Width() > 0L && in DrawWithPDFHandling()
820 if( pOut == NULL || rSize.Width() == 0 || rSize.Height() == 0 ) in DrawTiled()
827 const Size aOutTileSize( ::std::max( 1L, pOut->LogicToPixel( rSize, aOutMapMode ).Width() ), in DrawTiled()
831 while (((sal_Int64)rSize.Width() * nTileCacheSize1D) > SAL_MAX_UINT16) in DrawTiled()
1000 Rectangle aClipRect( aMtfMapMode.GetOrigin().X() + aCropLeftTop.Width(), in GetTransformedGraphic()
1002 … aMtfMapMode.GetOrigin().X() + aSrcSize.Width() - aCropRightBottom.Width(), in GetTransformedGraphic()
1009 …aMtf.Scale( (double)rDestSize.Width() / (aSrcSize.Width() - aCropLeftTop.Width() - aCropRightBotto… in GetTransformedGraphic()
1015 …e( Size( (long)((double)rDestSize.Width() * (1.0 + (aCropLeftTop.Width() + aCropRightBottom.Width in GetTransformedGraphic()
1020 …etOrigin().X() + rDestSize.Width() * aCropLeftTop.Width() / (aSrcSize.Width() - aCropLeftTop.Width in GetTransformedGraphic()
1028 …aMtf.Scale( Fraction( rDestSize.Width(), aSrcSize.Width() ), Fraction( rDestSize.Height(), aSrcSiz… in GetTransformedGraphic()
1070 …&& (aSrcSizePixel.Width() != aBitmapEx.GetSizePixel().Width() || aSrcSizePixel.Height() != aBitmap… in GetTransformedGraphic()
1071 && aSrcSizePixel.Width()) in GetTransformedGraphic()
1082 … const double fFactorX((double)aBitmapEx.GetSizePixel().Width() / aSrcSizePixel.Width()); in GetTransformedGraphic()
1085 aCropLeftTop.Width() = basegfx::fround(aCropLeftTop.Width() * fFactorX); in GetTransformedGraphic()
1087 aCropRightBottom.Width() = basegfx::fround(aCropRightBottom.Width() * fFactorX); in GetTransformedGraphic()
1094 aCropRect = Rectangle( aCropLeftTop.Width(), aCropLeftTop.Height(), in GetTransformedGraphic()
1095 aSrcSizePixel.Width() - aCropRightBottom.Width(), in GetTransformedGraphic()
1128 if( aCropLeftTop.Width() < 0 || in GetTransformedGraphic()
1130 aCropRightBottom.Width() < 0 || in GetTransformedGraphic()
1134 aNewSize.Width() += aCropRightBottom.Width() < 0 ? -aCropRightBottom.Width() : 0; in GetTransformedGraphic()
1135 aNewSize.Width() += aCropLeftTop.Width() < 0 ? -aCropLeftTop.Width() : 0; in GetTransformedGraphic()
1143 if( aCropLeftTop.Width() < 0 || in GetTransformedGraphic()
1146 Point aPosOffset( aCropLeftTop.Width() < 0 ? -aCropLeftTop.Width() : 0, in GetTransformedGraphic()
1476 const double fDivX(aBitmapSize.Width() - fLeftCrop - fRightCrop); in calculateCropScaling()