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()
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.cxx1595 if (Abs(aPt.X())<Abs(nBestXSnap)) in ImpCheckSnap()
1611 if (Abs(aPt.Y())<Abs(nBestYSnap)) in ImpCheckSnap()
1825 bool bX(aXFact != aFact1 && Abs(nXDiv) > 1); in TakeSdrDragComment()
1826 bool bY(aYFact != aFact1 && Abs(nYDiv) > 1); in TakeSdrDragComment()
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()
[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.cxx2534 … if (Abs(aLogicRect.Left() - aOutlineRect.Left()) > MAX_USER_MOVE || in ApplyTextObj()
2535Abs(aLogicRect.Top() - aOutlineRect.Top()) > MAX_USER_MOVE || in ApplyTextObj()
2536Abs(aLogicRect.Bottom() - aOutlineRect.Bottom()) > MAX_USER_MOVE || in ApplyTextObj()
2545 … 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()
2564 … if (Abs(aLogicRect.Right() - aOutlineRect.Right()) > MAX_USER_MOVE || in ApplyTextObj()
2565Abs(aLogicRect.Top() - aOutlineRect.Top()) > 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()
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()
/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()
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 …]
/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/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()
/AOO41X/main/tools/inc/tools/
H A Dbigint.hxx104 void Abs();
266 inline void BigInt::Abs() in Abs() function in BigInt

1234567