Home
last modified time | relevance | path

Searched refs:GetDenominator (Results 1 – 25 of 59) sorted by relevance

123

/aoo41x/main/tools/test/
H A Dtests.cxx58 aFract2.GetDenominator() == 1 ); in testFraction()
63 aFract3.GetDenominator() == 0x35555555 ); in testFraction()
67 aFract3.GetDenominator() == 0x35555555 ); in testFraction()
72 aFract3.GetDenominator() == 0x1AAAAAAA ); in testFraction()
77 aFract3.GetDenominator() == 0x008E ); in testFraction()
82 aFract3.GetDenominator() == 1 ); in testFraction()
87 aFract3.GetDenominator() == 1 ); in testFraction()
93 aFract4.GetDenominator() == 0x3555555555555555 ); in testFraction()
97 aFract4.GetDenominator() == 0x3555555555555555 ); in testFraction()
102 aFract4.GetDenominator() == 0x1AAAAAAAAAAAAAAA ); in testFraction()
/aoo41x/main/svtools/source/misc/
H A Dimap.cxx45 …POINT(aPT,aFracX,aFracY) (aPT).X()=((aPT).X()*(aFracX).GetNumerator())/(aFracX).GetDenominator(); \
46 (aPT).Y()=((aPT).Y()*(aFracY).GetNumerator())/(aFracY).GetDenominator();
313 if ( rFracX.GetDenominator() && rFracY.GetDenominator() ) in Scale()
507 if ( rFracX.GetDenominator() && rFracY.GetDenominator() ) in Scale()
512 nRadius = ( nRadius * aAverage.GetNumerator() ) / aAverage.GetDenominator(); in Scale()
669 if ( rFracX.GetDenominator() && rFracY.GetDenominator() ) in Scale()
682 if ( rFracX.GetDenominator() && rFracY.GetDenominator() ) in Scale()
/aoo41x/main/sw/source/ui/docvw/
H A DSidebarWin.cxx452 nHeight = nHeight * aMode.GetScaleY().GetNumerator() / aMode.GetScaleY().GetDenominator(); in Rescale()
731 aPos.Y()+5*fy.GetNumerator()/fy.GetDenominator() ), in DoResize()
732 Size( METABUTTON_WIDTH*4*fx.GetNumerator()/fx.GetDenominator(), in DoResize()
733 METABUTTON_HEIGHT*fy.GetNumerator()/fy.GetDenominator() ) ) ); in DoResize()
739 aPos.Y()+5*fy.GetNumerator()/fy.GetDenominator() ), in DoResize()
740 Size( METABUTTON_WIDTH*fx.GetNumerator()/fx.GetDenominator(), in DoResize()
741 METABUTTON_HEIGHT*fy.GetNumerator()/fy.GetDenominator() ) ) ); in DoResize()
1169 return 3 * METABUTTON_AREA_WIDTH * f.GetNumerator() / f.GetDenominator(); in GetMetaButtonAreaWidth()
1171 return METABUTTON_AREA_WIDTH * f.GetNumerator() / f.GetDenominator(); in GetMetaButtonAreaWidth()
1177 return POSTIT_META_HEIGHT * f.GetNumerator() / f.GetDenominator(); in GetMetaHeight()
[all …]
H A DPostItMgr.cxx1796 return POSTIT_INITIAL_ANCHOR_DISTANCE * f.GetNumerator() / f.GetDenominator(); in GetInitialAnchorDistance()
1802 return ( POSTIT_SPACE_BETWEEN ) * f.GetNumerator() / f.GetDenominator(); in GetSpaceBetween()
1808 …rn ( POSTIT_SPACE_BETWEEN + POSTIT_MINIMUMSIZE_WITH_META ) * f.GetNumerator() / f.GetDenominator(); in GetScrollSize()
1814 return POSTIT_MINIMUMSIZE_WITH_META * f.GetNumerator() / f.GetDenominator(); in GetMinimumSizeWithMeta()
1820 return POSTIT_SCROLL_SIDEBAR_HEIGHT * f.GetNumerator() / f.GetDenominator(); in GetSidebarScrollerHeight()
/aoo41x/main/vcl/source/gdi/
H A Doutmap.cxx94 while ( aF.GetDenominator() == -1 ) in ImplMakeFraction()
300 aX *= BigInt( aScaleX.GetDenominator() ); in ImplCalcMapResolution()
318 aY *= BigInt( aScaleY.GetDenominator() ); in ImplCalcMapResolution()
342 aScaleX.GetDenominator() ); in ImplCalcMapResolution()
346 aScaleY.GetDenominator() ); in ImplCalcMapResolution()
348 rMapRes.mnMapScDenomX = aTempX.GetDenominator(); in ImplCalcMapResolution()
350 rMapRes.mnMapScDenomY = aTempY.GetDenominator(); in ImplCalcMapResolution()
969 maMapMode.GetScaleX().GetDenominator(), in SetRelativeMapMode()
973 maMapMode.GetScaleY().GetDenominator(), in SetRelativeMapMode()
995 aXF.GetDenominator(), aF.GetDenominator() ); in SetRelativeMapMode()
[all …]
H A Dtextlayout.cxx299 n /= (double)_zoom.GetDenominator(); in zoomBy()
304 return zoomBy( _value, Fraction( _zoom.GetDenominator(), _zoom.GetNumerator() ) ); in unzoomBy()
/aoo41x/main/svx/source/svdraw/
H A Dsvdtrans.cxx57 if (xFact.GetDenominator()==0) { in ResizeRect()
67 … =rRef.X()+Round(((double)(rRect.Left() -rRef.X())*xFact.GetNumerator())/xFact.GetDenominator()); in ResizeRect()
68 …) =rRef.X()+Round(((double)(rRect.Right() -rRef.X())*xFact.GetNumerator())/xFact.GetDenominator()); in ResizeRect()
71 if (yFact.GetDenominator()==0) { in ResizeRect()
83 … =rRef.Y()+Round(((double)(rRect.Top() -rRef.Y())*yFact.GetNumerator())/yFact.GetDenominator()); in ResizeRect()
84 …()=rRef.Y()+Round(((double)(rRect.Bottom()-rRef.Y())*yFact.GetNumerator())/yFact.GetDenominator()); in ResizeRect()
716 sal_Int32 nDiv=rF.GetDenominator(); in Kuerzen()
923 if (aScale.GetNumerator()==0 || aScale.GetDenominator()==0) aScale=Fraction(1,1); in Undirty()
954 nDiv1=aTempFract.GetDenominator(); in Undirty()
H A Dsvdxcgv.cxx494 nSizX*=aDstFr.GetDenominator(); in ImpPasteObject()
495 nSizX/=aMapFact.X().GetDenominator(); in ImpPasteObject()
496 nSizX/=rMap.GetScaleX().GetDenominator(); in ImpPasteObject()
500 nSizX*=aDstFr.GetDenominator(); in ImpPasteObject()
501 nSizY/=aMapFact.Y().GetDenominator(); in ImpPasteObject()
502 nSizY/=rMap.GetScaleY().GetDenominator(); in ImpPasteObject()
H A Dsvdogrp.cxx462 FASTBOOL bXMirr=(xFact.GetNumerator()<0) != (xFact.GetDenominator()<0); in NbcResize()
463 FASTBOOL bYMirr=(yFact.GetNumerator()<0) != (yFact.GetDenominator()<0); in NbcResize()
615 if (xFact.GetNumerator()!=xFact.GetDenominator() || yFact.GetNumerator()!=yFact.GetDenominator()) { in Resize()
616 FASTBOOL bXMirr=(xFact.GetNumerator()<0) != (xFact.GetDenominator()<0); in Resize()
617 FASTBOOL bYMirr=(yFact.GetNumerator()<0) != (yFact.GetDenominator()<0); in Resize()
H A Dsvdotxdr.cxx130 nXDiv=aXFact.GetDenominator(); in ImpDragCalcRect()
131 nYDiv=aYFact.GetDenominator(); in ImpDragCalcRect()
H A Dsvdmodel.cxx977 if(0 == aUIScale.GetNumerator() || 0 == aUIScale.GetDenominator()) in ImpSetUIUnit()
1060 nDiv = aTemp.GetDenominator(); in ImpSetUIUnit()
1064 if(1 != aUIScale.GetDenominator() || 1 != aUIScale.GetNumerator()) in ImpSetUIUnit()
1067 nMul *= aUIScale.GetDenominator(); in ImpSetUIUnit()
1386 sal_Int32 nDiv(rVal.GetDenominator()); in TakePercentStr()
H A Dsvdotxtr.cxx157 FASTBOOL bXMirr=(xFact.GetNumerator()<0) != (xFact.GetDenominator()<0); in NbcResize()
158 FASTBOOL bYMirr=(yFact.GetNumerator()<0) != (yFact.GetDenominator()<0); in NbcResize()
H A Dsvdovirt.cxx425 if (xFact.GetNumerator()!=xFact.GetDenominator() || yFact.GetNumerator()!=yFact.GetDenominator()) { in Resize()
H A Dsvdobj.cxx1307 nXDiv=aXFact.GetDenominator(); in ImpDragCalcRect()
1308 nYDiv=aYFact.GetDenominator(); in ImpDragCalcRect()
1474 FASTBOOL bXMirr=(xFact.GetNumerator()<0) != (xFact.GetDenominator()<0); in NbcResize()
1475 FASTBOOL bYMirr=(yFact.GetNumerator()<0) != (yFact.GetDenominator()<0); in NbcResize()
1573 if (xFact.GetNumerator()!=xFact.GetDenominator() || yFact.GetNumerator()!=yFact.GetDenominator()) { in Resize()
H A Dsvdoashp.cxx1862 if ( ( xFact.GetNumerator() != xFact.GetDenominator() ) in NbcResize()
1863 || ( yFact.GetNumerator()!= yFact.GetDenominator() ) ) in NbcResize()
1865 if ( ( ( xFact.GetNumerator() < 0 ) && ( xFact.GetDenominator() > 0 ) ) || in NbcResize()
1866 ( ( xFact.GetNumerator() > 0 ) && ( xFact.GetDenominator() < 0 ) ) ) in NbcResize()
1870 if ( ( ( yFact.GetNumerator() < 0 ) && ( yFact.GetDenominator() > 0 ) ) || in NbcResize()
1871 ( ( yFact.GetNumerator() > 0 ) && ( yFact.GetDenominator() < 0 ) ) ) in NbcResize()
/aoo41x/main/svx/inc/svx/
H A Dsvdtrans.hxx126 if (xFact.GetDenominator()==0) xFact=Fraction(xFact.GetNumerator(),1); // DivZero abfangen in ResizePoint()
127 if (yFact.GetDenominator()==0) yFact=Fraction(yFact.GetNumerator(),1); // DivZero abfangen in ResizePoint()
128 …rPnt.X()=rRef.X()+ Round(((double)(rPnt.X()-rRef.X())*xFact.GetNumerator())/xFact.GetDenominator()… in ResizePoint()
129 …rPnt.Y()=rRef.Y()+ Round(((double)(rPnt.Y()-rRef.Y())*yFact.GetNumerator())/yFact.GetDenominator()… in ResizePoint()
/aoo41x/main/vcl/source/window/
H A Dwindow2.cxx926 if ( rZoom.GetNumerator() != rZoom.GetDenominator() ) in SetZoomedPointFont()
932 n /= (double)rZoom.GetDenominator(); in SetZoomedPointFont()
936 n /= (double)rZoom.GetDenominator(); in SetZoomedPointFont()
968 if ( rZoom.GetNumerator() != rZoom.GetDenominator() ) in CalcZoom()
972 n /= (double)rZoom.GetDenominator(); in CalcZoom()
1902 return mpWindowImpl->maZoom.GetNumerator() != mpWindowImpl->maZoom.GetDenominator(); in IsZoom()
/aoo41x/main/sc/source/ui/view/
H A Ddrawutil.cxx103 ((double)rZoomX.GetDenominator()) ); in CalcScale()
112 ((double)rZoomY.GetDenominator()) ); in CalcScale()
H A Dtabvwsha.cxx310 / rOldY.GetDenominator()); in GetState()
322 … sal_uInt16 nCurrentZoom = (sal_uInt16)(( rOldY.GetNumerator() * 100 ) / rOldY.GetDenominator()); in GetState()
H A Dviewdata.cxx151 sal_Int32 nZoomValue ((aZoomY.GetNumerator() * 100) / aZoomY.GetDenominator()); in WriteUserDataSequence()
152 sal_Int32 nPageZoomValue ((aPageZoomY.GetNumerator() * 100) / aPageZoomY.GetDenominator()); in WriteUserDataSequence()
2235 … nZoom = (sal_uInt16)((pThisTab->aZoomY.GetNumerator() * 100) / pThisTab->aZoomY.GetDenominator()); in WriteUserData()
2238 … (sal_uInt16)((pThisTab->aPageZoomY.GetNumerator() * 100) / pThisTab->aPageZoomY.GetDenominator()); in WriteUserData()
2738 …sal_Int32 nZoomValue ((pThisTab->aZoomY.GetNumerator() * 100) / pThisTab->aZoomY.GetDenominator()); in WriteUserDataSequence()
2739 …ageZoomValue ((pThisTab->aPageZoomY.GetNumerator() * 100) / pThisTab->aPageZoomY.GetDenominator()); in WriteUserDataSequence()
/aoo41x/main/sd/source/ui/view/
H A Dfrmview.cxx586 … sUNO_View_GridSnapWidthXDenominator, makeAny( (sal_Int32)GetSnapGridWidthX().GetDenominator() ) ); in WriteUserDataSequence()
588 … sUNO_View_GridSnapWidthYDenominator, makeAny( (sal_Int32)GetSnapGridWidthY().GetDenominator() ) ); in WriteUserDataSequence()
682 sal_Int32 aSnapGridWidthXDom = GetSnapGridWidthX().GetDenominator(); in ReadUserDataSequence()
685 sal_Int32 aSnapGridWidthYDom = GetSnapGridWidthY().GetDenominator(); in ReadUserDataSequence()
H A Dsdwindow.cxx228 if( GetMapMode().GetScaleX().GetDenominator() ) in GetZoom()
231 / GetMapMode().GetScaleX().GetDenominator(); in GetZoom()
/aoo41x/main/svtools/source/brwbox/
H A Ddatwin.cxx133 n *= (double)rCurrentZoom.GetDenominator(); in BrowserColumn()
148 n *= (double)rCurrentZoom.GetDenominator(); in SetWidth()
200 n /= (double)rNewZoom.GetDenominator(); in ZoomChanged()
/aoo41x/main/starmath/inc/
H A Dutility.hxx79 return (rFrac.GetNumerator() + rFrac.GetDenominator() / 2) / rFrac.GetDenominator(); in SmRoundFraction()
/aoo41x/main/svx/source/sdr/properties/
H A Ditemsettools.cxx109 sal_Int32 nDiv(rScale.GetDenominator()); in ScaleItemSet()

Completed in 220 milliseconds

123