Searched refs:aCropSize (Results 1 – 3 of 3) sorted by relevance
121 awt::Size aCropSize( aSize100thMM.Width - ( aGraphicCropLogic.Left + aGraphicCropLogic.Right ), in ImpAddGraphicEntity() local123 if ( aCropSize.Width && aCropSize.Height ) in ImpAddGraphicEntity()125 … sal_Int32 >( static_cast< double >( aSize100thMM.Width * aLogicalSize.Width ) / aCropSize.Width ), in ImpAddGraphicEntity()126 …Int32 >( static_cast< double >( aSize100thMM.Height * aLogicalSize.Height ) / aCropSize.Height ) ); in ImpAddGraphicEntity()
3880 Size aCropSize; in lcl_ApplyCropping() local3885 aCropSize = lcl_GetPrefSize( rGraf, MAP_100TH_MM ); in lcl_ApplyCropping()3889 aCropSize = aCropBitmap.GetSizePixel(); in lcl_ApplyCropping()3894 nTop = (sal_uInt32)( ( (double)( aCropSize.Height() + 1 ) * fFactor ) + 0.5 ); in lcl_ApplyCropping()3899 nBottom = (sal_uInt32)( ( (double)( aCropSize.Height() + 1 ) * fFactor ) + 0.5 ); in lcl_ApplyCropping()3904 nLeft = (sal_uInt32)( ( (double)( aCropSize.Width() + 1 ) * fFactor ) + 0.5 ); in lcl_ApplyCropping()3909 nRight = (sal_uInt32)( ( (double)( aCropSize.Width() + 1 ) * fFactor ) + 0.5 ); in lcl_ApplyCropping()3915 Rectangle aCropRect( nLeft, nTop, aCropSize.Width() - nRight, aCropSize.Height() - nBottom ); in lcl_ApplyCropping()
1234 Size aCropSize(lcl_SizeToEmu(aPrefSize, aPrefMapMode)); in ImplCreateGraphicAttributes() local1235 if ( aCropSize.Width() && aCropSize.Height() ) in ImplCreateGraphicAttributes()1244 sal_uInt32 nLeft = ( aGraphCrop.Left * 65536 ) / aCropSize.Width(); in ImplCreateGraphicAttributes()1249 sal_uInt32 nTop = ( aGraphCrop.Top * 65536 ) / aCropSize.Height(); in ImplCreateGraphicAttributes()1254 sal_uInt32 nRight = ( aGraphCrop.Right * 65536 ) / aCropSize.Width(); in ImplCreateGraphicAttributes()1259 sal_uInt32 nBottom = ( aGraphCrop.Bottom * 65536 ) / aCropSize.Height(); in ImplCreateGraphicAttributes()
Completed in 221 milliseconds