Searched refs:fGrfWH (Results 1 – 11 of 11) sorted by relevance
164 float fGrfWH = (float)aSize.Width() / in AdjustToMaxRect() local170 if ( fGrfWH < fWinWH ) in AdjustToMaxRect()172 aSize.Width() = (long)(aMaxSize.Height() * fGrfWH); in AdjustToMaxRect()175 else if ( fGrfWH > 0.F ) in AdjustToMaxRect()178 aSize.Height()= (long)(aMaxSize.Width() / fGrfWH); in AdjustToMaxRect()
1450 float fGrfWH = (float)aSize.Width() / in AdjustToMaxRect() local1456 if ( fGrfWH < fWinWH ) in AdjustToMaxRect()1458 aSize.Width() = (long)(aMaxSize.Height() * fGrfWH); in AdjustToMaxRect()1461 else if ( fGrfWH > 0.F ) in AdjustToMaxRect()1464 aSize.Height()= (long)(aMaxSize.Width() / fGrfWH); in AdjustToMaxRect()
509 double fGrfWH = (double) aBmpSize.Width() / aBmpSize.Height(); in ScannerEvent() local512 if( fGrfWH < fWinWH ) in ScannerEvent()514 aBmpSize.Width() = FRound( aPageSize.Height() * fGrfWH ); in ScannerEvent()517 else if( fGrfWH > 0.F ) in ScannerEvent()520 aBmpSize.Height()= FRound( aPageSize.Width() / fGrfWH ); in ScannerEvent()
131 float fGrfWH = (float)aSize.Width() / in SO2_DECL_REF() local137 if ((fGrfWH != 0.F) && (fGrfWH < fWinWH)) in SO2_DECL_REF()139 aSize.Width() = (long)(aPageSize.Height() * fGrfWH); in SO2_DECL_REF()145 aSize.Height()= (long)(aPageSize.Width() / fGrfWH); in SO2_DECL_REF()
236 double fGrfWH = (double) aGrfSize.Width() / aGrfSize.Height(); in Import() local240 if( fGrfWH < fWinWH ) in Import()242 aGrfSize.Width() = (long) ( aPagSize.Height() * fGrfWH ); in Import()245 else if( fGrfWH > 0.F ) in Import()248 aGrfSize.Height()= (long) ( aPagSize.Width() / fGrfWH ); in Import()
112 const double fGrfWH = (double) aBmpSize.Width() / aBmpSize.Height(); in GetRect() local115 if( fGrfWH < fWinWH ) in GetRect()117 aBmpSize.Width() = (long) ( rDispSize.Height() * fGrfWH ); in GetRect()123 aBmpSize.Height()= (long) ( rDispSize.Width() / fGrfWH); in GetRect()
380 const double fGrfWH = (double) aGrfSize.Width() / aGrfSize.Height(); in GraphicFilterDialog() local383 if( fGrfWH < fPreWH ) in GraphicFilterDialog()385 aGrfSize.Width() = (long) ( aPreviewSize.Height() * fGrfWH ); in GraphicFilterDialog()391 aGrfSize.Height()= (long) ( aPreviewSize.Width() / fGrfWH); in GraphicFilterDialog()
286 double fGrfWH = (double) aGraphSize.Width() / aGraphSize.Height(); in Resize() local290 if ( fGrfWH < fWinWH) in Resize()292 aNewSize.Width() = (long) ( (double) nHeight * fGrfWH ); in Resize()298 aNewSize.Height()= (long) ( (double) nWidth / fGrfWH ); in Resize()
141 const double fGrfWH = (double) aNewSize.Width() / aNewSize.Height(); in ImplGetGraphicCenterRect() local144 if ( fGrfWH < fWinWH ) in ImplGetGraphicCenterRect()146 aNewSize.Width() = (long) ( aWinSize.Height() * fGrfWH ); in ImplGetGraphicCenterRect()152 aNewSize.Height()= (long) ( aWinSize.Width() / fGrfWH); in ImplGetGraphicCenterRect()
1444 const double fGrfWH = (double) aNewSize.Width() / aNewSize.Height(); in ImplGetGraphicCenterRect() local1447 if ( fGrfWH < fWinWH ) in ImplGetGraphicCenterRect()1449 aNewSize.Width() = (long) ( aWinSize.Height() * fGrfWH ); in ImplGetGraphicCenterRect()1455 aNewSize.Height()= (long) ( aWinSize.Width() / fGrfWH); in ImplGetGraphicCenterRect()
736 const double fGrfWH = (double) aNewSize.Width() / aNewSize.Height(); in ImplCreateOutput() local739 const double fScaleX = fOutWH / fGrfWH; in ImplCreateOutput()
Completed in 135 milliseconds