Searched refs:nDenom (Results 1 – 6 of 6) sorted by relevance
/aoo4110/main/basegfx/source/tools/ |
H A D | liangbarsky.cxx | 40 inline bool liangBarskyClipT( double nDenom, in liangBarskyClipT() argument 46 if( nDenom > 0 ) in liangBarskyClipT() 48 t = nNumerator / nDenom; in liangBarskyClipT() 54 else if( nDenom < 0 ) in liangBarskyClipT() 56 t = nNumerator / nDenom; in liangBarskyClipT()
|
/aoo4110/main/sc/source/filter/excel/ |
H A D | xiview.cxx | 187 sal_uInt16 nNum, nDenom; in ReadScl() local 188 rStrm >> nNum >> nDenom; in ReadScl() 189 DBG_ASSERT( nDenom > 0, "XclImpPageSettings::ReadScl - invalid denominator" ); in ReadScl() 190 if( nDenom > 0 ) in ReadScl() 191 maData.mnCurrentZoom = limit_cast< sal_uInt16 >( (nNum * 100) / nDenom ); in ReadScl()
|
/aoo4110/main/oox/source/xls/ |
H A D | viewsettings.cxx | 441 sal_uInt16 nNum, nDenom; in importScl() local 442 rStrm >> nNum >> nDenom; in importScl() 443 OSL_ENSURE( nDenom > 0, "SheetViewSettings::importScl - invalid denominator" ); in importScl() 444 if( nDenom > 0 ) in importScl() 445 …back()->mnCurrentZoom = getLimitedValue< sal_Int32, sal_uInt16 >( (nNum * 100) / nDenom, 10, 400 ); in importScl()
|
/aoo4110/main/vcl/source/gdi/ |
H A D | outmap.cxx | 457 long nDenom = nDPI * nMapNum; in ImplPixelToLogic() local 458 n = (long)(2 * n64 / nDenom); in ImplPixelToLogic() 465 long nDenom = nDPI * nMapNum; in ImplPixelToLogic() local 467 if( (nNum ^ nDenom) >= 0 ) in ImplPixelToLogic() 468 nNum += nDenom/2; in ImplPixelToLogic() 470 nNum -= nDenom/2; in ImplPixelToLogic() 471 return (nNum / nDenom); in ImplPixelToLogic()
|
/aoo4110/main/starmath/source/ |
H A D | node.cxx | 2691 long nDenom = SmRect(aTmpDev, NULL, GetText(), nTmpBorderWidth).GetItalicWidth(); in AdaptToX() local 2695 aFntSize.Width() /= nDenom ? nDenom : 1; in AdaptToX() 2727 long nDenom = SmRect(aTmpDev, NULL, GetText(), nTmpBorderWidth).GetHeight(); in AdaptToY() local 2731 aFntSize.Height() /= nDenom ? nDenom : 1; in AdaptToY()
|
H A D | parse.cxx | 1980 long nDenom = aValue.GetDenominator(); in FontSize() local 1981 while (nDenom > 1000) in FontSize() 1984 nDenom /= 10; in FontSize() 1986 aValue = Fraction( nNum, nDenom ); in FontSize()
|
Completed in 91 milliseconds