Home
last modified time | relevance | path

Searched refs:Abs (Results 1 – 25 of 180) sorted by relevance

12345678

/trunk/main/svx/source/svdraw/
H A Dsvdsnpv.cxx344 if (Abs(a)<=mx) { dx1=-a; if (Abs(dx1)<Abs(dx)) dx=dx1; } in SnapPos()
348 if (Abs(b)<=my) { dy1=-b; if (Abs(dy1)<Abs(dy)) dy=dy1; } in SnapPos()
353 if (Abs(a)<=mx && Abs(b)<=my) { in SnapPos()
355 if (Abs(dx1)<Abs(dx) && Abs(dy1)<Abs(dy)) { dx=dx1; dy=dy1; } in SnapPos()
370 a=x- lft ; if (Abs(a)<=mx) { dx1=-a; if (Abs(dx1)<Abs(dx)) dx=dx1; } // linker Rand in SnapPos()
371 a=x-(xs-rgt); if (Abs(a)<=mx) { dx1=-a; if (Abs(dx1)<Abs(dx)) dx=dx1; } // rechter Rand in SnapPos()
372 a=x ; if (Abs(a)<=mx) { dx1=-a; if (Abs(dx1)<Abs(dx)) dx=dx1; } // linke Papierkante in SnapPos()
373 … a=x- xs ; if (Abs(a)<=mx) { dx1=-a; if (Abs(dx1)<Abs(dx)) dx=dx1; } // rechte Papierkante in SnapPos()
374 a=y- upp ; if (Abs(a)<=my) { dy1=-a; if (Abs(dy1)<Abs(dy)) dy=dy1; } // linker Rand in SnapPos()
375 a=y-(ys-lwr); if (Abs(a)<=my) { dy1=-a; if (Abs(dy1)<Abs(dy)) dy=dy1; } // rechter Rand in SnapPos()
[all …]
H A Dsvdoedge.cxx620 FASTBOOL bxMitt=Abs(dxl-dxr)<2; in ImpCalcEscAngle()
621 FASTBOOL byMitt=Abs(dyo-dyu)<2; in ImpCalcEscAngle()
624 FASTBOOL bDiag=Abs(dx-dy)<2; in ImpCalcEscAngle()
885 *pnQuality=Abs(rPt1.X()-rPt2.X())+Abs(rPt1.Y()-rPt2.Y()); in ImpCalcEdgeTrack()
903 long nQ=Abs(aXP[1].X()-aXP[0].X())+Abs(aXP[1].Y()-aXP[0].Y()); in ImpCalcEdgeTrack()
904 nQ+=Abs(aXP[2].X()-aXP[1].X())+Abs(aXP[2].Y()-aXP[1].Y()); in ImpCalcEdgeTrack()
905 nQ+=Abs(aXP[3].X()-aXP[2].X())+Abs(aXP[3].Y()-aXP[2].Y()); in ImpCalcEdgeTrack()
1043 FASTBOOL bObenLang=Abs(nYMin-aMeeting.Y())<=Abs(nYMax-aMeeting.Y()); in ImpCalcEdgeTrack()
1103 FASTBOOL bLinksLang=Abs(nXMin-aMeeting.X())<=Abs(nXMax-aMeeting.X()); in ImpCalcEdgeTrack()
1322 nQual+=Abs(aPt1b.X()-aPt0.X())+Abs(aPt1b.Y()-aPt0.Y()); in ImpCalcEdgeTrack()
[all …]
H A Dsvddrgmt.cxx1587 if (Abs(aPt.X())<Abs(nBestXSnap)) in ImpCheckSnap()
1603 if (Abs(aPt.Y())<Abs(nBestYSnap)) in ImpCheckSnap()
1817 bool bX(aXFact != aFact1 && Abs(nXDiv) > 1); in TakeSdrDragComment()
1818 bool bY(aYFact != aFact1 && Abs(nYDiv) > 1); in TakeSdrDragComment()
1997 if (Abs(nXDiv)<=1 || Abs(nYDiv)<=1) in MoveSdrDrag()
2583 else if (Abs(aDif.X())==Abs(aDif.Y())) in TakeSdrDragComment()
2605 bool b45=b90 || (Abs(aDif.X())==Abs(aDif.Y())); in BeginSdrDrag()
2882 nVal = Abs(nVal); in TakeSdrDragComment()
3224 bValid=Abs(dx1)*100>Abs(dy1); in MoveSdrDrag()
3226 bValid=Abs(dy1)*100>Abs(dx1); in MoveSdrDrag()
[all …]
H A Dsvdotxdr.cxx122 nXMul=Abs(nXMul); in ImpDragCalcRect()
123 nYMul=Abs(nYMul); in ImpDragCalcRect()
124 nXDiv=Abs(nXDiv); in ImpDragCalcRect()
125 nYDiv=Abs(nYDiv); in ImpDragCalcRect()
H A Dsvdopath.cxx331 nRad=Abs(Round(nR)); in CalcCircle()
358 if (nRad==0 || Abs(nCircRelWink)<5) bRet=sal_False; in CalcCircle()
399 long l1=Abs(x1)+Abs(y1); in CalcLine()
400 long l2=Abs(x2)+Abs(y2); in CalcLine()
419 … Point aP1(CalcLine(aTmpPt, nDirX, nDirY,pView)); aP1-=aTmpPt; long nQ1=Abs(aP1.X())+Abs(aP1.Y()); in CalcLine()
420 … Point aP2(CalcLine(aTmpPt, nDirY,-nDirX,pView)); aP2-=aTmpPt; long nQ2=Abs(aP2.X())+Abs(aP2.Y()); in CalcLine()
470 long dx1=aRectP2.X()-aRectP1.X(); long dx1a=Abs(dx1); in CalcRect()
471 long dy1=aRectP2.Y()-aRectP1.Y(); long dy1a=Abs(dy1); in CalcRect()
472 long dx2=aRectP3.X()-aRectP2.X(); long dx2a=Abs(dx2); in CalcRect()
473 long dy2=aRectP3.Y()-aRectP2.Y(); long dy2a=Abs(dy2); in CalcRect()
[all …]
H A Dsvdtrans.cxx536 long x=Abs(rPnt.X()); in GetLen()
537 long y=Abs(rPnt.Y()); in GetLen()
657 long dxa=Abs(dx); in OrthoDistance8()
658 long dya=Abs(dy); in OrthoDistance8()
673 long dxa=Abs(dx); in OrthoDistance4()
674 long dya=Abs(dy); in OrthoDistance4()
H A Dsvdocirc.cxx76 if (Abs(nHgt)>32767 || Abs(aRetval.Y())>32767) { in GetWinkPnt()
85 if (Abs(nWdt)>32767 || Abs(aRetval.X())>32767) { in GetWinkPnt()
/trunk/main/sd/source/filter/ppt/
H A Dpptin.cxx2532 … if (Abs(aLogicRect.Left() - aOutlineRect.Left()) > MAX_USER_MOVE || in ApplyTextObj()
2533Abs(aLogicRect.Top() - aOutlineRect.Top()) > MAX_USER_MOVE || in ApplyTextObj()
2534Abs(aLogicRect.Bottom() - aOutlineRect.Bottom()) > MAX_USER_MOVE || in ApplyTextObj()
2543 … if (Abs(aLogicRect.Left() - aOutlineRect.Left()) > MAX_USER_MOVE || in ApplyTextObj()
2544Abs(aLogicRect.Top() - aOutlineRect.Top()) > MAX_USER_MOVE || in ApplyTextObj()
2545Abs(aLogicRect.Right() - aOutlineRect.Right()) > MAX_USER_MOVE) in ApplyTextObj()
2550 … else if (Abs(aLogicRect.Left() - aOutlineRect.Left()) > MAX_USER_MOVE || in ApplyTextObj()
2551Abs(aLogicRect.Top() - aOutlineRect.Top()) > MAX_USER_MOVE) in ApplyTextObj()
2562 … if (Abs(aLogicRect.Right() - aOutlineRect.Right()) > MAX_USER_MOVE || in ApplyTextObj()
2563Abs(aLogicRect.Top() - aOutlineRect.Top()) > MAX_USER_MOVE || in ApplyTextObj()
[all …]
/trunk/main/vcl/source/gdi/
H A Doutmap.cxx124 if ( nDPIX && (LONG_MAX / nDPIX < Abs( rMapRes.mnMapScNumX ) ) ) // #111139# avoid div by zero in ImplCalcBigIntThreshold()
139 rThresRes.mnThresLogToPixX = Abs( (LONG_MAX - nDenomHalfX) / nProductX ); in ImplCalcBigIntThreshold()
149 if ( nDPIY && (LONG_MAX / nDPIY < Abs( rMapRes.mnMapScNumY ) ) ) // #111139# avoid div by zero in ImplCalcBigIntThreshold()
164 rThresRes.mnThresLogToPixY = Abs( (LONG_MAX - nDenomHalfY) / nProductY ); in ImplCalcBigIntThreshold()
412 if ( Abs( n ) < nThres ) in ImplLogicToPixel()
463 if ( Abs( n ) < nThres ) in ImplPixelToLogic()
2025 if ( LONG_MAX / Abs(n2) < Abs(n3) ) in fn5()
2032 if ( LONG_MAX / Abs(n4) < Abs(n5) ) in fn5()
2063 if ( LONG_MAX / Abs(n1) < Abs(n6) ) in fn5()
2068 if ( LONG_MAX / Abs(n4) < Abs(n5) ) in fn5()
[all …]
H A Doutdev4.cxx302 long nAbsRedSteps = Abs( nEndRed - nStartRed ); in ImplDrawLinearGradient()
303 long nAbsGreenSteps = Abs( nEndGreen - nStartGreen ); in ImplDrawLinearGradient()
304 long nAbsBlueSteps = Abs( nEndBlue - nStartBlue ); in ImplDrawLinearGradient()
506 long nCalcSteps = Abs( nRedSteps ); in ImplDrawComplexGradient()
507 long nTempSteps = Abs( nGreenSteps ); in ImplDrawComplexGradient()
510 nTempSteps = Abs( nBlueSteps ); in ImplDrawComplexGradient()
/trunk/main/tools/source/generic/
H A Dfract.cxx59 nVal1 = Abs( nVal1 ); in GetGGT()
60 nVal2 = Abs( nVal2 ); in GetGGT()
88 nA.Abs(); in Reduce()
89 nB.Abs(); in Reduce()
231 while ( Abs( (long)dVal ) < nMAX && nDen < nMAX ) in Fraction()
/trunk/main/sd/source/ui/func/
H A Dfusel.cxx705 Abs(aPnt.X() - aMDPos.X()) < nDrgLog && in MouseButtonUp()
706 Abs(aPnt.Y() - aMDPos.Y()) < nDrgLog) in MouseButtonUp()
777 && Abs(aPnt.X() - aMDPos.X()) < nDrgLog in MouseButtonUp()
778 && Abs(aPnt.Y() - aMDPos.Y()) < nDrgLog) in MouseButtonUp()
902 if (Abs(aMDPos.X() - aPos.X()) < nDrgLog2 && in MouseButtonUp()
903 Abs(aMDPos.Y() - aPos.Y()) < nDrgLog2 && in MouseButtonUp()
918 Abs(aPnt.X() - aMDPos.X()) < nDrgLog && in MouseButtonUp()
919 Abs(aPnt.Y() - aMDPos.Y()) < nDrgLog) in MouseButtonUp()
H A Dfutext.cxx721 Abs(aPnt.X() - aMDPos.X()) < nDrgLog && in MouseButtonUp()
722 Abs(aPnt.Y() - aMDPos.Y()) < nDrgLog) in MouseButtonUp()
810 Abs(aMDPos.X() - aPnt.X()) < nDrgLog1 && in MouseButtonUp()
811 Abs(aMDPos.Y() - aPnt.Y()) < nDrgLog1 && in MouseButtonUp()
H A Dfuconstr.cxx218 Abs(aPnt.X() - aMDPos.X()) < nDrgLog && in MouseButtonUp()
219 Abs(aPnt.Y() - aMDPos.Y()) < nDrgLog) in MouseButtonUp()
H A Dfuediglu.cxx296 if (Abs(aMDPos.X() - aPos.X()) < nDrgLog && in MouseButtonUp()
297 Abs(aMDPos.Y() - aPos.Y()) < nDrgLog && in MouseButtonUp()
/trunk/main/filter/source/graphicfilter/idxf/
H A Ddxfvec.cxx34 double DXFVector::Abs() const in Abs() function in DXFVector
44 flen=Abs(); in Unit()
175 double fMXAbs=aMX.Abs(); in TransCircleToEllipse()
176 double fMYAbs=aMY.Abs(); in TransCircleToEllipse()
H A Ddxf2mtf.cxx465 nHeight=(sal_uInt16)(aV.Abs()+0.5); in DrawTextEntity()
469 if ( SetFontAttribute( rE,nAng, nHeight, aV. Abs() ) ) in DrawTextEntity()
524 nHeight=(sal_uInt16)(aV.Abs()+0.5); in DrawAttribEntity()
528 if (SetFontAttribute(rE,nAng,nHeight,aV.Abs())) in DrawAttribEntity()
/trunk/main/tools/source/datetime/
H A Dttime.cxx325 short nTempTime = (short)Abs( aDateTime.timezone ); in GetUTCOffset()
342 Time aTime( 0, (sal_uInt16)Abs( nTempTime ) ); in GetUTCOffset()
380 nTempTime = (short)Abs( nCacheSecOffset ); in GetUTCOffset()
/trunk/main/sw/source/core/doc/
H A Dtblrwcl.cxx987 if( Abs( nFndWidth ) > COLFUZZY || in lcl_FndNxtPrvDelBox()
988 Abs( nBoxWidth - nFndBoxWidth ) > COLFUZZY ) in lcl_FndNxtPrvDelBox()
2559 …( !rParam.bBigger && ( Abs( nDist + (( rParam.nMode && rParam.bLeft ) ? 0 : nWidth ) - rParam.nSid… in lcl_SetSelBoxWidth()
2596 ( Abs( nDist + ( (rParam.nMode && rParam.bLeft) ? 0 : nWidth ) in lcl_SetSelBoxWidth()
2660 ? Abs( nDist - rParam.nSide ) < COLFUZZY in lcl_SetOtherBoxWidth()
2696 ? Abs( nDist - rParam.nSide ) < COLFUZZY in lcl_SetOtherBoxWidth()
2757 if( Abs( nDist + ( rParam.bLeft ? 0 : nWidth ) in lcl_InsSelBox()
2797 else if( Abs( nDist + ( rParam.bLeft ? 0 : nWidth ) in lcl_InsSelBox()
3052 if( COLFUZZY > Abs( long(nEnd) - long(nBoxEnd) ) && in _CheckBoxInRange()
3053 COLFUZZY > Abs( long(nStt) - long(nBoxStt) ) ) in _CheckBoxInRange()
[all …]
/trunk/main/svl/source/numbers/
H A Dzforfind.cxx1091 pCal->setValue( CalendarFieldIndex::MONTH, Abs(nMonth)-1 ); in GetDateRef()
1104 pCal->setValue( CalendarFieldIndex::MONTH, Abs(nMonth)-1 ); in GetDateRef()
1120 pCal->setValue( CalendarFieldIndex::MONTH, Abs(nMonth)-1 ); in GetDateRef()
1233 pCal->setValue( CalendarFieldIndex::MONTH, Abs(nMonth)-1 ); in GetDateRef()
1248 pCal->setValue( CalendarFieldIndex::MONTH, Abs(nMonth)-1 ); in GetDateRef()
1322 pCal->setValue( CalendarFieldIndex::MONTH, Abs(nMonth)-1 ); in GetDateRef()
1332 pCal->setValue( CalendarFieldIndex::MONTH, Abs(nMonth)-1 ); in GetDateRef()
/trunk/main/sw/source/ui/table/
H A Dswtablerep.cxx227 if(Abs((long)nOldLeft - (long)rTabCols.GetLeft()) < 3) in FillTabCols()
230 if(Abs((long)nOldRight - (long)rTabCols.GetRight()) < 3) in FillTabCols()
/trunk/main/sc/source/ui/drawfunc/
H A Dfuconstr.cxx136 if ( Abs( aOldPixel.X() - aNewPixel.X() ) > SC_MAXDRAGMOVE || in MouseMove()
137 Abs( aOldPixel.Y() - aNewPixel.Y() ) > SC_MAXDRAGMOVE ) in MouseMove()
/trunk/main/sc/source/filter/excel/
H A Dxlpage.cxx229 long nWDiff = Abs( pEntry->mnWidth - nWidth ); in SetScPaperSize()
230 long nHDiff = Abs( pEntry->mnHeight - nHeight ); in SetScPaperSize()
/trunk/main/tools/inc/tools/
H A Dbigint.hxx104 void Abs();
266 inline void BigInt::Abs() in Abs() function in BigInt
/trunk/main/sw/source/core/view/
H A Dviewsh.cxx1329 const bool bOnlyYScroll(!lXDiff && Abs(lYDiff) != 0 && Abs(lYDiff) < lMax); in SmoothScroll()
1362 Size aSize( aVisArea.Width()+2*aPixSz.Width(), Abs(lYDiff)+(2*aPixSz.Height()) ); in SmoothScroll()
1447 if ( Abs(lYDiff) > ( aVisArea.Height() / 3 ) ) in SmoothScroll()
1461 if ( Imp()->bStopSmooth || Abs(lDiff) <= Abs(lMaDelta) ) in SmoothScroll()

12345678