Home
last modified time | relevance | path

Searched refs:fGrfWH (Results 1 – 11 of 11) sorted by relevance

/trunk/main/svx/source/svdraw/
H A Dsvdomedia.cxx164 float fGrfWH = (float)aSize.Width() / in AdjustToMaxRect() local
170 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()
H A Dsvdograf.cxx1453 float fGrfWH = (float)aSize.Width() / in AdjustToMaxRect() local
1459 if ( fGrfWH < fWinWH ) in AdjustToMaxRect()
1461 aSize.Width() = (long)(aMaxSize.Height() * fGrfWH); in AdjustToMaxRect()
1464 else if ( fGrfWH > 0.F ) in AdjustToMaxRect()
1467 aSize.Height()= (long)(aMaxSize.Width() / fGrfWH); in AdjustToMaxRect()
/trunk/main/sd/source/ui/view/
H A Ddrviews8.cxx509 double fGrfWH = (double) aBmpSize.Width() / aBmpSize.Height(); in ScannerEvent() local
512 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()
H A Ddrviews9.cxx131 float fGrfWH = (float)aSize.Width() / in SO2_DECL_REF() local
137 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()
/trunk/main/sd/source/filter/grf/
H A Dsdgrffilter.cxx236 double fGrfWH = (double) aGrfSize.Width() / aGrfSize.Height(); in Import() local
240 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()
/trunk/main/sd/source/ui/dlg/
H A Dvectdlg.cxx112 const double fGrfWH = (double) aBmpSize.Width() / aBmpSize.Height(); in GetRect() local
115 if( fGrfWH < fWinWH ) in GetRect()
117 aBmpSize.Width() = (long) ( rDispSize.Height() * fGrfWH ); in GetRect()
123 aBmpSize.Height()= (long) ( rDispSize.Width() / fGrfWH); in GetRect()
/trunk/main/cui/source/dialogs/
H A Dcuigrfflt.cxx380 const double fGrfWH = (double) aGrfSize.Width() / aGrfSize.Height(); in GraphicFilterDialog() local
383 if( fGrfWH < fPreWH ) in GraphicFilterDialog()
385 aGrfSize.Width() = (long) ( aPreviewSize.Height() * fGrfWH ); in GraphicFilterDialog()
391 aGrfSize.Height()= (long) ( aPreviewSize.Width() / fGrfWH); in GraphicFilterDialog()
/trunk/main/svx/source/dialog/
H A Dgraphctl.cxx286 double fGrfWH = (double) aGraphSize.Width() / aGraphSize.Height(); in Resize() local
290 if ( fGrfWH < fWinWH) in Resize()
292 aNewSize.Width() = (long) ( (double) nHeight * fGrfWH ); in Resize()
298 aNewSize.Height()= (long) ( (double) nWidth / fGrfWH ); in Resize()
/trunk/main/svx/source/gallery2/
H A Dgalctrl.cxx141 const double fGrfWH = (double) aNewSize.Width() / aNewSize.Height(); in ImplGetGraphicCenterRect() local
144 if ( fGrfWH < fWinWH ) in ImplGetGraphicCenterRect()
146 aNewSize.Width() = (long) ( aWinSize.Height() * fGrfWH ); in ImplGetGraphicCenterRect()
152 aNewSize.Height()= (long) ( aWinSize.Width() / fGrfWH); in ImplGetGraphicCenterRect()
/trunk/main/dbaccess/source/ui/app/
H A DAppDetailPageHelper.cxx1444 const double fGrfWH = (double) aNewSize.Width() / aNewSize.Height(); in ImplGetGraphicCenterRect() local
1447 if ( fGrfWH < fWinWH ) in ImplGetGraphicCenterRect()
1449 aNewSize.Width() = (long) ( aWinSize.Height() * fGrfWH ); in ImplGetGraphicCenterRect()
1455 aNewSize.Height()= (long) ( aWinSize.Width() / fGrfWH); in ImplGetGraphicCenterRect()
/trunk/main/svtools/source/graphic/
H A Dgrfmgr2.cxx736 const double fGrfWH = (double) aNewSize.Width() / aNewSize.Height(); in ImplCreateOutput() local
739 const double fScaleX = fOutWH / fGrfWH; in ImplCreateOutput()

Completed in 72 milliseconds