Home
last modified time | relevance | path

Searched refs:GetNumerator (Results 1 – 25 of 61) sorted by relevance

123

/aoo41x/main/tools/test/
H A Dtests.cxx57 aFract2.GetNumerator() == 1 && in testFraction()
62 aFract3.GetNumerator() == 0x7AAAAAAA && in testFraction()
66 aFract3.GetNumerator() == 0x7AAAAAAA && in testFraction()
71 aFract3.GetNumerator() == 0x3D555555 && in testFraction()
76 aFract3.GetNumerator() == 0x0147 && in testFraction()
81 aFract3.GetNumerator() == 2 && in testFraction()
86 aFract3.GetNumerator() == 2 && in testFraction()
92 aFract4.GetNumerator() == 0x7AAAAAAAAAAAAAAA && in testFraction()
96 aFract4.GetNumerator() == 0x7AAAAAAAAAAAAAAA && in testFraction()
101 aFract4.GetNumerator() == 0x3D55555555555555 && in testFraction()
/aoo41x/main/vcl/source/gdi/
H A Doutmap.cxx303 if ( aScaleX.GetNumerator() >= 0 ) in ImplCalcMapResolution()
304 aX += BigInt( aScaleX.GetNumerator()/2 ); in ImplCalcMapResolution()
310 if ( aScaleX.GetNumerator() >= 0 ) in ImplCalcMapResolution()
315 aX /= BigInt( aScaleX.GetNumerator() ); in ImplCalcMapResolution()
321 if ( aScaleY.GetNumerator() >= 0 ) in ImplCalcMapResolution()
328 if ( aScaleY.GetNumerator() >= 0 ) in ImplCalcMapResolution()
333 aY /= BigInt( aScaleY.GetNumerator() ); in ImplCalcMapResolution()
340 aScaleX.GetNumerator(), in ImplCalcMapResolution()
344 aScaleY.GetNumerator(), in ImplCalcMapResolution()
994 aXF = ImplMakeFraction( aXF.GetNumerator(), aF.GetNumerator(), in SetRelativeMapMode()
[all …]
H A Dtextlayout.cxx298 n *= (double)_zoom.GetNumerator(); in zoomBy()
304 return zoomBy( _value, Fraction( _zoom.GetDenominator(), _zoom.GetNumerator() ) ); in unzoomBy()
/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 …return ( POSTIT_SPACE_BETWEEN + POSTIT_MINIMUMSIZE_WITH_META ) * f.GetNumerator() / f.GetDenominat… 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/svx/source/svdraw/
H A Dsvdtrans.cxx59 if (xFact.GetNumerator()>=0) { // DivZero abfangen in ResizeRect()
60 xFact=Fraction(xFact.GetNumerator(),1); in ResizeRect()
63 xFact=Fraction(xFact.GetNumerator(),-1); in ResizeRect()
67 …rRect.Left() =rRef.X()+Round(((double)(rRect.Left() -rRef.X())*xFact.GetNumerator())/xFact.GetDe… in ResizeRect()
73 if (yFact.GetNumerator()>=0) { // DivZero abfangen in ResizeRect()
74 yFact=Fraction(yFact.GetNumerator(),1); in ResizeRect()
77 yFact=Fraction(yFact.GetNumerator(),-1); in ResizeRect()
81 yFact=Fraction(yFact.GetNumerator(),1); // DivZero abfangen in ResizeRect()
715 sal_Int32 nMul=rF.GetNumerator(); in Kuerzen()
923 if (aScale.GetNumerator()==0 || aScale.GetDenominator()==0) aScale=Fraction(1,1); in Undirty()
[all …]
H A Dsvdxcgv.cxx492 nSizX*=aMapFact.X().GetNumerator(); in ImpPasteObject()
493 nSizX*=rMap.GetScaleX().GetNumerator(); in ImpPasteObject()
497 nSizX/=aDstFr.GetNumerator(); in ImpPasteObject()
498 nSizY*=aMapFact.Y().GetNumerator(); in ImpPasteObject()
499 nSizY*=rMap.GetScaleY().GetNumerator(); in ImpPasteObject()
503 nSizY/=aDstFr.GetNumerator(); 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.cxx128 nXMul=aXFact.GetNumerator(); in ImpDragCalcRect()
129 nYMul=aYFact.GetNumerator(); in ImpDragCalcRect()
H A Dsvdmodel.cxx977 if(0 == aUIScale.GetNumerator() || 0 == aUIScale.GetDenominator()) in ImpSetUIUnit()
1059 nMul = aTemp.GetNumerator(); in ImpSetUIUnit()
1064 if(1 != aUIScale.GetDenominator() || 1 != aUIScale.GetNumerator()) in ImpSetUIUnit()
1068 nDiv *= aUIScale.GetNumerator(); in ImpSetUIUnit()
1385 sal_Int32 nMul(rVal.GetNumerator()); 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.cxx1305 nXMul=aXFact.GetNumerator(); in ImpDragCalcRect()
1306 nYMul=aYFact.GetNumerator(); 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/svtools/source/filter/wmf/
H A Dwmfwr.cxx1574 if( aScaleX.GetNumerator() >= 0 ) in WriteRecords()
1575 aX += BigInt( aScaleX.GetNumerator()/2 ); in WriteRecords()
1577 aX -= BigInt( (aScaleX.GetNumerator()+1)/2 ); in WriteRecords()
1579 if( aScaleX.GetNumerator() >= 0 ) in WriteRecords()
1582 aX += BigInt( aScaleX.GetNumerator()/2 ); in WriteRecords()
1583 aX /= BigInt( aScaleX.GetNumerator() ); in WriteRecords()
1588 if( aScaleY.GetNumerator() >= 0 ) in WriteRecords()
1589 aY += BigInt( aScaleY.GetNumerator()/2 ); in WriteRecords()
1593 if( aScaleY.GetNumerator() >= 0 ) in WriteRecords()
1596 aY += BigInt( aScaleY.GetNumerator()/2 ); in WriteRecords()
[all …]
/aoo41x/main/filter/source/graphicfilter/eos2met/
H A Deos2met.cxx2197 if( aScaleX.GetNumerator() >= 0 ) in WriteOrders()
2198 aX += BigInt( aScaleX.GetNumerator()/2 ); in WriteOrders()
2200 aX -= BigInt( (aScaleX.GetNumerator()+1)/2 ); in WriteOrders()
2204 if( aScaleX.GetNumerator() >= 0 ) in WriteOrders()
2207 aX += BigInt( aScaleX.GetNumerator()/2 ); in WriteOrders()
2210 aX /= BigInt( aScaleX.GetNumerator() ); in WriteOrders()
2218 if( aScaleY.GetNumerator() >= 0 ) in WriteOrders()
2219 aY += BigInt( aScaleY.GetNumerator()/2 ); in WriteOrders()
2225 if( aScaleY.GetNumerator() >= 0 ) in WriteOrders()
2228 aY += BigInt( aScaleY.GetNumerator()/2 ); in WriteOrders()
[all …]
/aoo41x/main/filter/source/graphicfilter/epict/
H A Depict.cxx2005 if( aScaleX.GetNumerator() >= 0 ) in WriteOpcodes()
2006 aX += BigInt( aScaleX.GetNumerator()/2 ); in WriteOpcodes()
2008 aX -= BigInt( (aScaleX.GetNumerator()+1)/2 ); in WriteOpcodes()
2012 if( aScaleX.GetNumerator() >= 0 ) in WriteOpcodes()
2015 aX += BigInt( aScaleX.GetNumerator()/2 ); in WriteOpcodes()
2018 aX /= BigInt( aScaleX.GetNumerator() ); in WriteOpcodes()
2025 if( aScaleY.GetNumerator() >= 0 ) in WriteOpcodes()
2026 aY += BigInt( aScaleY.GetNumerator()/2 ); in WriteOpcodes()
2032 if( aScaleY.GetNumerator() >= 0 ) in WriteOpcodes()
2035 aY += BigInt( aScaleY.GetNumerator()/2 ); in WriteOpcodes()
[all …]
/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()
931 n *= (double)rZoom.GetNumerator(); in SetZoomedPointFont()
935 n *= (double)rZoom.GetNumerator(); in SetZoomedPointFont()
968 if ( rZoom.GetNumerator() != rZoom.GetDenominator() ) in CalcZoom()
971 n *= (double)rZoom.GetNumerator(); in CalcZoom()
1902 return mpWindowImpl->maZoom.GetNumerator() != mpWindowImpl->maZoom.GetDenominator(); in IsZoom()
/aoo41x/main/sc/source/ui/view/
H A Ddrawutil.cxx100 ((double)rZoomX.GetNumerator()) / in CalcScale()
109 ((double)rZoomY.GetNumerator()) / in CalcScale()
H A Dtabvwsha.cxx309 sal_uInt16 nZoom = (sal_uInt16)(( rOldY.GetNumerator() * 100 ) in GetState()
322 … sal_uInt16 nCurrentZoom = (sal_uInt16)(( rOldY.GetNumerator() * 100 ) / rOldY.GetDenominator()); in GetState()
/aoo41x/main/sd/source/ui/view/
H A Dfrmview.cxx585 …lue( sUNO_View_GridSnapWidthXNumerator, makeAny( (sal_Int32)GetSnapGridWidthX().GetNumerator() ) ); in WriteUserDataSequence()
587 …lue( sUNO_View_GridSnapWidthYNumerator, makeAny( (sal_Int32)GetSnapGridWidthY().GetNumerator() ) ); in WriteUserDataSequence()
681 sal_Int32 aSnapGridWidthXNum = GetSnapGridWidthX().GetNumerator(); in ReadUserDataSequence()
684 sal_Int32 aSnapGridWidthYNum = GetSnapGridWidthY().GetNumerator(); in ReadUserDataSequence()
/aoo41x/main/svtools/source/brwbox/
H A Ddatwin.cxx134 n /= (double)rCurrentZoom.GetNumerator(); in BrowserColumn()
149 n /= (double)rCurrentZoom.GetNumerator(); in SetWidth()
199 n *= (double)rNewZoom.GetNumerator(); in ZoomChanged()
/aoo41x/main/svtools/source/misc/
H A Dimap.cxx45 #define SCALEPOINT(aPT,aFracX,aFracY) (aPT).X()=((aPT).X()*(aFracX).GetNumerator())/(aFracX).GetDen…
46 (aPT).Y()=((aPT).Y()*(aFracY).GetNumerator())/(aFracY).GetDenominator();
512 nRadius = ( nRadius * aAverage.GetNumerator() ) / aAverage.GetDenominator(); in Scale()
/aoo41x/main/svx/source/sdr/properties/
H A Ditemsettools.cxx108 sal_Int32 nMul(rScale.GetNumerator()); in ScaleItemSet()

Completed in 188 milliseconds

123