Home
last modified time | relevance | path

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

1234567

/aoo41x/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()
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()
402 if (Abs(dx1)<=mx && Abs(dy1)<=my && Abs(dx1)<Abs(dx) && Abs(dy1)<Abs(dy)) { in SnapPos()
475 if (Abs(aPt.X())<Abs(nBestXSnap)) { in CheckSnap()
[all …]
H A Dsvdoedge.cxx624 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()
1331 sal_uIntPtr n1=Abs(aXP1[1].X()-aXP1[0].X())+Abs(aXP1[1].Y()-aXP1[0].Y()); in ImpCalcEdgeTrack()
1332 sal_uIntPtr n2=Abs(aXP1[2].X()-aXP1[1].X())+Abs(aXP1[2].Y()-aXP1[1].Y()); in ImpCalcEdgeTrack()
[all …]
H A Dsvddrgmt.cxx1595 if (Abs(aPt.X())<Abs(nBestXSnap)) in ImpCheckSnap()
1611 if (Abs(aPt.Y())<Abs(nBestYSnap)) in ImpCheckSnap()
2005 if (Abs(nXDiv)<=1 || Abs(nYDiv)<=1) in MoveSdrDrag()
2591 else if (Abs(aDif.X())==Abs(aDif.Y())) in TakeSdrDragComment()
2613 bool b45=b90 || (Abs(aDif.X())==Abs(aDif.Y())); in BeginSdrDrag()
2890 nVal = Abs(nVal); in TakeSdrDragComment()
3232 bValid=Abs(dx1)*100>Abs(dy1); in MoveSdrDrag()
3234 bValid=Abs(dy1)*100>Abs(dx1); in MoveSdrDrag()
3282 nPntWink=Abs(nPntWink); in MoveSdrDrag()
3285 double nUmfang=2*Abs(nNeuRad)*nPi; 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.cxx333 nRad=Abs(Round(nR)); in CalcCircle()
360 if (nRad==0 || Abs(nCircRelWink)<5) bRet=sal_False; in CalcCircle()
401 long l1=Abs(x1)+Abs(y1); in CalcLine()
402 long l2=Abs(x2)+Abs(y2); in CalcLine()
421 Point aP1(CalcLine(aTmpPt, nDirX, nDirY,pView)); aP1-=aTmpPt; long nQ1=Abs(aP1.X())+Abs(aP1.Y()); in CalcLine()
422 Point aP2(CalcLine(aTmpPt, nDirY,-nDirX,pView)); aP2-=aTmpPt; long nQ2=Abs(aP2.X())+Abs(aP2.Y()); in CalcLine()
472 long dx1=aRectP2.X()-aRectP1.X(); long dx1a=Abs(dx1); in CalcRect()
473 long dy1=aRectP2.Y()-aRectP1.Y(); long dy1a=Abs(dy1); in CalcRect()
474 long dx2=aRectP3.X()-aRectP2.X(); long dx2a=Abs(dx2); in CalcRect()
475 long dy2=aRectP3.Y()-aRectP2.Y(); long dy2a=Abs(dy2); in CalcRect()
[all …]
H A Dsvdtrans.cxx548 long x=Abs(rPnt.X()); in GetLen()
549 long y=Abs(rPnt.Y()); in GetLen()
669 long dxa=Abs(dx); in OrthoDistance8()
670 long dya=Abs(dy); in OrthoDistance8()
685 long dxa=Abs(dx); in OrthoDistance4()
686 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()
/aoo41x/main/soldep/source/
H A Dobjwin.cxx211 if ( Abs( rRefPoint.X() - nRefX ) > Abs( rRefPoint.Y() - nRefY )) in GetFixPoint()
224 if ( Abs( rRefPoint.X() - nRefX ) > Abs( rRefPoint.Y() - nRefY )) in GetFixPoint()
240 if ( Abs( rRefPoint.X() - nRefX ) > Abs( rRefPoint.Y() - nRefY )) in GetFixPoint()
253 if ( Abs( rRefPoint.X() - nRefX ) > Abs( rRefPoint.Y() - nRefY )) in GetFixPoint()
/aoo41x/main/sd/source/filter/ppt/
H A Dpptin.cxx2545 … if (Abs(aLogicRect.Left() - aOutlineRect.Left()) > MAX_USER_MOVE || in ApplyTextObj()
2546Abs(aLogicRect.Top() - aOutlineRect.Top()) > MAX_USER_MOVE || in ApplyTextObj()
2547Abs(aLogicRect.Right() - aOutlineRect.Right()) > MAX_USER_MOVE) in ApplyTextObj()
2552 … else if (Abs(aLogicRect.Left() - aOutlineRect.Left()) > MAX_USER_MOVE || in ApplyTextObj()
2553Abs(aLogicRect.Top() - aOutlineRect.Top()) > MAX_USER_MOVE) in ApplyTextObj()
2582 … else if (Abs(aLogicRect.Right() - aOutlineRect.Right()) > MAX_USER_MOVE || in ApplyTextObj()
2583Abs(aLogicRect.Top() - aOutlineRect.Top()) > MAX_USER_MOVE) in ApplyTextObj()
2592 … if (Abs(aLogicRect.Left() - aOutlineRect.Left()) > MAX_USER_MOVE || in ApplyTextObj()
2593Abs(aLogicRect.Bottom() - aOutlineRect.Bottom()) > MAX_USER_MOVE) in ApplyTextObj()
2602 … if (Abs(aLogicRect.Right() - aOutlineRect.Right()) > MAX_USER_MOVE || in ApplyTextObj()
[all …]
/aoo41x/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()
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()
2099 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()
/aoo41x/main/tools/source/generic/
H A Dfract.cxx61 nVal1 = Abs( nVal1 ); in GetGGT()
62 nVal2 = Abs( nVal2 ); in GetGGT()
90 nA.Abs(); in Reduce()
91 nB.Abs(); in Reduce()
233 while ( Abs( (long)dVal ) < nMAX && nDen < nMAX ) in Fraction()
/aoo41x/main/sw/source/ui/dialog/
H A Dabstract.src70 /* ### ACHTUNG: Neuer Text in Resource? Abs�tze je Kapitel : Abs�tze je Kapitel */
93 …die ausgew�hlte Anzahl von Abs�tzen aus den einbezogenen Kapitelebenen. : Im Abstrakt erscheint di…
/aoo41x/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 Dfuconstr.cxx218 Abs(aPnt.X() - aMDPos.X()) < nDrgLog && in MouseButtonUp()
219 Abs(aPnt.Y() - aMDPos.Y()) < nDrgLog) in MouseButtonUp()
/aoo41x/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()
/aoo41x/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()
/aoo41x/main/sw/source/core/doc/
H A Dtblrwcl.cxx987 if( Abs( nFndWidth ) > COLFUZZY || in lcl_FndNxtPrvDelBox()
988 Abs( nBoxWidth - nFndBoxWidth ) > COLFUZZY ) in lcl_FndNxtPrvDelBox()
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()
3078 if( COLFUZZY < Abs( nWidth - nBoxWidth )) in lcl_DelSelBox_CorrLowers()
3136 if( COLFUZZY < Abs( rParam.nBoxWidth - in lcl_ChgBoxSize()
[all …]
/aoo41x/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()
/aoo41x/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()
/aoo41x/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()
/aoo41x/main/cui/source/tabpages/
H A Dautocdlg.src201 /* ### ACHTUNG: Neuer Text in Resource? Leere Abs�tze entfernen : Leere Abs�tze entfernen */
214 …er Text in Resource? Zusammenfassen von einzeiligen Abs�tzen ab : Zusammenfassen von einzeiligen A…
/aoo41x/main/tools/inc/tools/
H A Dbigint.hxx104 void Abs();
266 inline void BigInt::Abs() in Abs() function in BigInt
/aoo41x/main/sc/source/filter/excel/
H A Dxlpage.cxx231 long nWDiff = Abs( pEntry->mnWidth - nWidth ); in SetScPaperSize()
232 long nHDiff = Abs( pEntry->mnHeight - nHeight ); in SetScPaperSize()

Completed in 192 milliseconds

1234567