/aoo41x/main/tools/test/ |
H A D | tests.cxx | 58 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 D | imap.cxx | 45 …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 D | SidebarWin.cxx | 452 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 D | PostItMgr.cxx | 1796 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 D | outmap.cxx | 94 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 D | textlayout.cxx | 299 n /= (double)_zoom.GetDenominator(); in zoomBy() 304 return zoomBy( _value, Fraction( _zoom.GetDenominator(), _zoom.GetNumerator() ) ); in unzoomBy()
|
/aoo41x/main/svx/source/svdraw/ |
H A D | svdtrans.cxx | 57 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 D | svdxcgv.cxx | 494 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 D | svdogrp.cxx | 462 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 D | svdotxdr.cxx | 130 nXDiv=aXFact.GetDenominator(); in ImpDragCalcRect() 131 nYDiv=aYFact.GetDenominator(); in ImpDragCalcRect()
|
H A D | svdmodel.cxx | 977 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 D | svdotxtr.cxx | 157 FASTBOOL bXMirr=(xFact.GetNumerator()<0) != (xFact.GetDenominator()<0); in NbcResize() 158 FASTBOOL bYMirr=(yFact.GetNumerator()<0) != (yFact.GetDenominator()<0); in NbcResize()
|
H A D | svdovirt.cxx | 425 if (xFact.GetNumerator()!=xFact.GetDenominator() || yFact.GetNumerator()!=yFact.GetDenominator()) { in Resize()
|
H A D | svdobj.cxx | 1307 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 D | svdoashp.cxx | 1862 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 D | svdtrans.hxx | 126 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 D | window2.cxx | 926 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 D | drawutil.cxx | 103 ((double)rZoomX.GetDenominator()) ); in CalcScale() 112 ((double)rZoomY.GetDenominator()) ); in CalcScale()
|
H A D | tabvwsha.cxx | 310 / rOldY.GetDenominator()); in GetState() 322 … sal_uInt16 nCurrentZoom = (sal_uInt16)(( rOldY.GetNumerator() * 100 ) / rOldY.GetDenominator()); in GetState()
|
H A D | viewdata.cxx | 151 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 D | frmview.cxx | 586 … 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 D | sdwindow.cxx | 228 if( GetMapMode().GetScaleX().GetDenominator() ) in GetZoom() 231 / GetMapMode().GetScaleX().GetDenominator(); in GetZoom()
|
/aoo41x/main/svtools/source/brwbox/ |
H A D | datwin.cxx | 133 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 D | utility.hxx | 79 return (rFrac.GetNumerator() + rFrac.GetDenominator() / 2) / rFrac.GetDenominator(); in SmRoundFraction()
|
/aoo41x/main/svx/source/sdr/properties/ |
H A D | itemsettools.cxx | 109 sal_Int32 nDiv(rScale.GetDenominator()); in ScaleItemSet()
|