Lines Matching refs:Width

367         nTotalWidth = aSize100.Width() - pAttr->GetLeftCrop() - pAttr->GetRightCrop();  in ImplGetCropParams()
370 if( aSize100.Width() > 0 && aSize100.Height() > 0 && nTotalWidth > 0 && nTotalHeight > 0 ) in ImplGetCropParams()
372 fScale = (double) aSize100.Width() / nTotalWidth; in ImplGetCropParams()
374 nNewRight = nNewLeft + FRound( aSize100.Width() * fScale ) - 1; in ImplGetCropParams()
376 fScale = (double) rSz.Width() / aSize100.Width(); in ImplGetCropParams()
378 rSz.Width() = FRound( ( nNewRight - nNewLeft + 1 ) * fScale ); in ImplGetCropParams()
701 if( aSz.Width() < 0L ) in Draw()
703 aPt.X() += aSz.Width() + 1; in Draw()
704 aSz.Width() = -aSz.Width(); in Draw()
779 rSz.Width() > 0L && in DrawWithPDFHandling()
827 if( pOut == NULL || rSize.Width() == 0 || rSize.Height() == 0 ) in DrawTiled()
834 … const Size aOutTileSize( ::std::max( 1L, pOut->LogicToPixel( rSize, aOutMapMode ).Width() ), in DrawTiled()
838 while (((sal_Int64)rSize.Width() * nTileCacheSize1D) > SAL_MAX_UINT16) in DrawTiled()
1007 Rectangle aClipRect( aMtfMapMode.GetOrigin().X() + aCropLeftTop.Width(), in GetTransformedGraphic()
1009 … aMtfMapMode.GetOrigin().X() + aSrcSize.Width() - aCropRightBottom.Width(), in GetTransformedGraphic()
1016 …aMtf.Scale( (double)rDestSize.Width() / (aSrcSize.Width() - aCropLeftTop.Width() - aCropRightBotto… in GetTransformedGraphic()
1022 …e( Size( (long)((double)rDestSize.Width() * (1.0 + (aCropLeftTop.Width() + aCropRightBottom.Width in GetTransformedGraphic()
1027 …etOrigin().X() + rDestSize.Width() * aCropLeftTop.Width() / (aSrcSize.Width() - aCropLeftTop.Width in GetTransformedGraphic()
1035 …aMtf.Scale( Fraction( rDestSize.Width(), aSrcSize.Width() ), Fraction( rDestSize.Height(), aSrcSiz… in GetTransformedGraphic()
1077 …&& (aSrcSizePixel.Width() != aBitmapEx.GetSizePixel().Width() || aSrcSizePixel.Height() != aBitmap… in GetTransformedGraphic()
1078 && aSrcSizePixel.Width()) in GetTransformedGraphic()
1089 … const double fFactorX((double)aBitmapEx.GetSizePixel().Width() / aSrcSizePixel.Width()); in GetTransformedGraphic()
1092 aCropLeftTop.Width() = basegfx::fround(aCropLeftTop.Width() * fFactorX); in GetTransformedGraphic()
1094 aCropRightBottom.Width() = basegfx::fround(aCropRightBottom.Width() * fFactorX); in GetTransformedGraphic()
1101 aCropRect = Rectangle( aCropLeftTop.Width(), aCropLeftTop.Height(), in GetTransformedGraphic()
1102 aSrcSizePixel.Width() - aCropRightBottom.Width(), in GetTransformedGraphic()
1135 if( aCropLeftTop.Width() < 0 || in GetTransformedGraphic()
1137 aCropRightBottom.Width() < 0 || in GetTransformedGraphic()
1141 aNewSize.Width() += aCropRightBottom.Width() < 0 ? -aCropRightBottom.Width() : 0; in GetTransformedGraphic()
1142 aNewSize.Width() += aCropLeftTop.Width() < 0 ? -aCropLeftTop.Width() : 0; in GetTransformedGraphic()
1150 if( aCropLeftTop.Width() < 0 || in GetTransformedGraphic()
1153 Point aPosOffset( aCropLeftTop.Width() < 0 ? -aCropLeftTop.Width() : 0, in GetTransformedGraphic()
1510 const double fDivX(aBitmapSize.Width() - fLeftCrop - fRightCrop); in calculateCropScaling()