Home
last modified time | relevance | path

Searched refs:aSize100thMM (Results 1 – 3 of 3) sorted by relevance

/aoo42x/main/sdext/source/minimizer/
H A Dgraphiccollector.cxx118 awt::Size aSize100thMM( GraphicCollector::GetOriginalSize( rxContext, xGraphic ) ); in ImpAddGraphicEntity() local
119 if ( aSize100thMM.Width && aSize100thMM.Height ) in ImpAddGraphicEntity()
121 awt::Size aCropSize( aSize100thMM.Width - ( aGraphicCropLogic.Left + aGraphicCropLogic.Right ), in ImpAddGraphicEntity()
122 aSize100thMM.Height - ( aGraphicCropLogic.Top + aGraphicCropLogic.Bottom )); in ImpAddGraphicEntity()
175 awt::Size aSize100thMM( GraphicCollector::GetOriginalSize( rxContext, xGraphic ) ); in ImpAddFillBitmapEntity() local
176 if ( aSize100thMM.Width && aSize100thMM.Height ) in ImpAddFillBitmapEntity()
177 aLogicalSize = aSize100thMM; in ImpAddFillBitmapEntity()
261 awt::Size aSize100thMM( 0, 0 ); in GetOriginalSize() local
263 if ( xGraphicPropertySet->getPropertyValue( TKGet( TK_Size100thMM ) ) >>= aSize100thMM ) in GetOriginalSize()
265 if ( !aSize100thMM.Width && !aSize100thMM.Height ) in GetOriginalSize()
[all …]
H A Dimpoptimizer.cxx300 const awt::Size aSize100thMM( GraphicCollector::GetOriginalSize( rxContext, xGraphic ) ); in ImpCompressGraphic() local
305 if ( aSize100thMM.Width && aSize100thMM.Height ) in ImpCompressGraphic()
307 …t< sal_Int32 >( ( (double)aSourceSizePixel.Width * aGraphicCropLogic.Left ) / aSize100thMM.Width ); in ImpCompressGraphic()
308 …t< sal_Int32 >( ( (double)aSourceSizePixel.Height* aGraphicCropLogic.Top ) / aSize100thMM.Height ); in ImpCompressGraphic()
309 …nt32 >( ( (double)aSourceSizePixel.Width * ( aSize100thMM.Width - aGraphicCropLogic.Right ) ) / aS… in ImpCompressGraphic()
310 …t32 >( ( (double)aSourceSizePixel.Height* ( aSize100thMM.Height - aGraphicCropLogic.Bottom ) ) / a… in ImpCompressGraphic()
424 awt::Size aSize100thMM( GraphicCollector::GetOriginalSize( rxContext, xGraphic ) ); in CompressGraphics() local
446 …aGraphicUserIter->maGraphicCropLogic.Left * ((double)aNewSize.Width / (double)aSize100thMM.Width)); in CompressGraphics()
447 …GraphicUserIter->maGraphicCropLogic.Top * ((double)aNewSize.Height / (double)aSize100thMM.Height)); in CompressGraphics()
448 …GraphicUserIter->maGraphicCropLogic.Right * ((double)aNewSize.Width / (double)aSize100thMM.Width)); in CompressGraphics()
[all …]
/aoo42x/main/svtools/source/graphic/
H A Dprovider.cxx526 Size aSize100thMM( 0, 0 ); in ImplCalculateCropRect() local
529aSize100thMM = OutputDevice::LogicToLogic( rGraphic.GetPrefSize(), rGraphic.GetPrefMapMode(), MAP_… in ImplCalculateCropRect()
533aSize100thMM = Application::GetDefaultDevice()->PixelToLogic( rGraphic.GetPrefSize(), MAP_100TH_MM… in ImplCalculateCropRect()
535 if ( aSize100thMM.Width() && aSize100thMM.Height() ) in ImplCalculateCropRect()
539 …static_cast< sal_Int32 >((fSourceSizePixelWidth * rGraphicCropLogic.Left ) / aSize100thMM.Width()); in ImplCalculateCropRect()
540 …tatic_cast< sal_Int32 >((fSourceSizePixelHeight * rGraphicCropLogic.Top ) / aSize100thMM.Height()); in ImplCalculateCropRect()
541 …st< sal_Int32 >(( fSourceSizePixelWidth * ( aSize100thMM.Width() - rGraphicCropLogic.Right ) ) / a… in ImplCalculateCropRect()
542 …< sal_Int32 >(( fSourceSizePixelHeight * ( aSize100thMM.Height() - rGraphicCropLogic.Bottom ) ) / in ImplCalculateCropRect()

Completed in 19 milliseconds