/trunk/main/svx/source/engine3d/ |
H A D | camera3d.cxx | 167 basegfx::B3DVector aPrj(aDiff); in SetBankAngle() 170 if ( aDiff.getY() == 0 ) in SetBankAngle() 178 if ( aDiff.getY() < 0.0 ) in SetBankAngle() 187 aDiff.normalize(); in SetBankAngle() 191 const double fV(sqrt(aDiff.getY() * aDiff.getY() + aDiff.getZ() * aDiff.getZ())); in SetBankAngle() 276 const double fV(sqrt(aDiff.getX() * aDiff.getX() + aDiff.getZ() * aDiff.getZ())); in Rotate() 314 aDiff *= aTf; in Rotate() 315 SetLookAt(aPosition + aDiff); in Rotate() 329 const double fV(sqrt(aDiff.getX() * aDiff.getX() + aDiff.getZ() * aDiff.getZ())); in RotateAroundLookAt() 367 aDiff *= aTf; in RotateAroundLookAt() [all …]
|
H A D | view3d.cxx | 922 basegfx::B2DPoint aDiff(aPnt1 - aPnt2); in ConvertMarkedObjTo3D() local 923 fRot3D = atan2(aDiff.getY(), aDiff.getX()) - F_PI2; in ConvertMarkedObjTo3D()
|
/trunk/main/svtools/source/hatchwindow/ |
H A D | ipwin.cxx | 262 Point aDiff = rTrackPos - aSelPos; in GetTrackRectPixel() local 268 aTrackRect.Top() += aDiff.Y(); in GetTrackRectPixel() 269 aTrackRect.Left() += aDiff.X(); in GetTrackRectPixel() 272 aTrackRect.Top() += aDiff.Y(); in GetTrackRectPixel() 275 aTrackRect.Top() += aDiff.Y(); in GetTrackRectPixel() 290 aTrackRect.Left() += aDiff.X(); in GetTrackRectPixel() 293 aTrackRect.Left() += aDiff.X(); in GetTrackRectPixel() 297 aDiff.X() = -aDiff.X(); // workaround for move in RTL mode in GetTrackRectPixel() 540 Point aDiff = GetPosPixel(); in MouseMove() local 541 aRect.SetPos( aRect.TopLeft() + aDiff ); in MouseMove() [all …]
|
/trunk/main/sw/source/core/objectpositioning/ |
H A D | ascharanchoredobjectposition.cxx | 264 Point aDiff; in CalcPosition() local 266 aDiff = aRelPos + aAbsAnchorPos - aSnapRect.TopLeft(); in CalcPosition() 268 aDiff = aRelPos + aAnchorPos - aSnapRect.TopLeft(); in CalcPosition() 271 aDiff = Point( -aDiff.Y(), aDiff.X() ); in CalcPosition() 275 GetObject().Move( Size( aDiff.X(), aDiff.Y() ) ); in CalcPosition()
|
/trunk/main/svx/source/dialog/ |
H A D | dlgctrl.cxx | 839 DrawText( aPtLT - aDiff, UniString::CreateFromAscii( in Paint() 841 DrawText( aPtLM - aDiff, UniString::CreateFromAscii( in Paint() 845 DrawText( aPtLB - aDiff, UniString::CreateFromAscii( in Paint() 848 DrawText( aPtLB - aDiff, UniString::CreateFromAscii( in Paint() 851 aDiff.X() = aFontSize.Width(); in Paint() 852 DrawText( aPtMT - aDiff, UniString::CreateFromAscii( in Paint() 854 DrawText( aPtRT - aDiff, UniString::CreateFromAscii( in Paint() 856 aDiff.X() = aDiff .X() * 3 / 2; in Paint() 859 DrawText( aPtMB - aDiff, UniString::CreateFromAscii( in Paint() 862 DrawText( aPtMB - aDiff, UniString::CreateFromAscii( in Paint() [all …]
|
/trunk/main/svx/source/xoutdev/ |
H A D | _xpoly.cxx | 1051 Point aDiff = pPoints[nDrag] - pPoints[nCenter]; in CalcSmoothJoin() local 1060 aDiff.X() = (long) (fRatio * aDiff.X()); in CalcSmoothJoin() 1061 aDiff.Y() = (long) (fRatio * aDiff.Y()); in CalcSmoothJoin() 1063 pPoints[nPnt] = pPoints[nCenter] - aDiff; in CalcSmoothJoin() 1091 Point aDiff = rNext - rPrev; in CalcTangent() local 1101 rNext.X() = rCenter.X() + (long) (fNextLen * aDiff.X()); in CalcTangent() 1102 rNext.Y() = rCenter.Y() + (long) (fNextLen * aDiff.Y()); in CalcTangent() 1103 rPrev.X() = rCenter.X() - (long) (fPrevLen * aDiff.X()); in CalcTangent() 1104 rPrev.Y() = rCenter.Y() - (long) (fPrevLen * aDiff.Y()); in CalcTangent()
|
/trunk/main/tools/source/inet/ |
H A D | inetmsg.cxx | 501 Time aDiff; in ParseDateField() local 502 aDiff.SetHour (nOffset / 100); in ParseDateField() 503 aDiff.SetMin (nOffset % 100); in ParseDateField() 504 aDiff.SetSec (0); in ParseDateField() 505 aDiff.Set100Sec (0); in ParseDateField() 508 rDateTime -= aDiff; in ParseDateField() 510 rDateTime += aDiff; in ParseDateField()
|
/trunk/main/tools/source/fsys/ |
H A D | fstat.cxx | 309 Time aDiff( abs( nDiff / 60 /*Min -> Std*/ ), 0 ); in SetDateTime() local 313 aNewTime += aDiff; // Stundenkorrektur in SetDateTime() 326 aNewTime -= aDiff; // Stundenkorrektur in SetDateTime()
|
/trunk/main/reportdesign/source/ui/report/ |
H A D | SectionWindow.cxx | 395 const Point aDiff = aOld - aNew; in scrollChildren() local 398 lcl_scroll(m_aReportSection,aDiff); in scrollChildren() 405 lcl_scroll(m_aSplitter,aDiff); in scrollChildren()
|
/trunk/main/chart2/source/view/charttypes/ |
H A D | CandleStickChart.cxx | 299 drawing::Direction3D aDiff = aPosRightLast-aPosLeftFirst; in createShapes() local 300 awt::Size aAWTSize( Direction3DToAWTSize( aDiff )); in createShapes()
|
/trunk/main/sw/source/ui/docvw/ |
H A D | PostItMgr.cxx | 915 …const long aDiff = bBottom ? mpEditWin->LogicToPixel(Point(0,mPages[aPage-1]->mPageRect.Top() + aS… in AutoScroll() local 919 …nst long lScroll = bBottom ? (aDiff + ( GetScrollSize() - (aDiff % GetScrollSize()))) : (aDiff - (… in AutoScroll()
|
H A D | edtwin.cxx | 1045 long aDiff = aTmp.Top() - aRefPoint.Y(); in ChangeFly() local 1046 if( aDiff > 0 ) in ChangeFly() 1047 aDiff = 0; in ChangeFly() 1048 else if ( aDiff < -aTmp.Height() ) in ChangeFly() 1049 aDiff = -aTmp.Height(); in ChangeFly() 1081 aVert.SetPos( aDiff ); in ChangeFly()
|
/trunk/main/sd/source/ui/func/ |
H A D | fumorph.cxx | 499 const ::basegfx::B2DPoint aDiff(aRealS - aNewS); in ImpMorphPolygons() local 501 pNewPolyPoly2D->transform(basegfx::tools::createTranslateB2DHomMatrix(aDiff)); in ImpMorphPolygons()
|
/trunk/main/framework/qa/complex/framework/autosave/ |
H A D | Protocol.java | 728 Timestamp aDiff = new Timestamp(m_aEndTime.getTime()-m_aStartTime.getTime()); in logStatistics() local 741 log(nLogType , "elapsed time = "+aDiff.toString()); in logStatistics()
|
/trunk/main/sw/source/core/layout/ |
H A D | frmtool.cxx | 3475 const Point aDiff = aCalcRectCenter - *pPoint; in GetFrmOfModify() local 3476 … const sal_uInt64 nCurrentDist = aDiff.X() * aDiff.X() + aDiff.Y() * aDiff.Y(); // opt: no sqrt in GetFrmOfModify()
|
/trunk/main/automation/source/server/ |
H A D | statemnt.cxx | 3728 Point aDiff = aAkt - aZiel; in AnimateMouse() local 3730 if ( Abs(aDiff.X()) < Abs(aDiff.Y()) ) in AnimateMouse() 3731 nSteps = Abs(aDiff.Y()) / 5; in AnimateMouse() 3733 nSteps = Abs(aDiff.X()) / 5; in AnimateMouse() 3737 aDiff *= 1000; in AnimateMouse() 3738 aDiff /= nSteps; in AnimateMouse() 3748 aAkt = aZiel + aDiff * nSteps / 1000; in AnimateMouse()
|
/trunk/main/svx/source/svdraw/ |
H A D | svdopath.cxx | 780 Point aDiff(rDrag.GetNow()); aDiff-=mpSdrPathDragData->aXP[nPnt]; in movePathDrag() local 795 mpSdrPathDragData->aXP[nPnt]+=aDiff; in movePathDrag() 815 if (bPrevIsControl) mpSdrPathDragData->aXP[nPrevPnt]+=aDiff; in movePathDrag() 816 if (bNextIsControl) mpSdrPathDragData->aXP[nNextPnt]+=aDiff; in movePathDrag()
|
/trunk/main/sfx2/source/doc/ |
H A D | sfxbasemodel.cxx | 3553 Size aDiff( aSize.Width-aCurrent.Width, aSize.Height-aCurrent.Height ); in setVisualAreaSize() local 3554 …Size aWrongDiff = OutputDevice::LogicToLogic( aDiff , m_pData->m_pObjectShell->GetMapUnit(), pWind… in setVisualAreaSize() 3555 aDiff = pViewFrm->GetViewShell()->GetWindow()->LogicToPixel( aDiff ); in setVisualAreaSize() 3556 aWinSize.Width() += aDiff.Width(); in setVisualAreaSize() 3557 aWinSize.Height() += aDiff.Height(); in setVisualAreaSize()
|
/trunk/main/sw/source/core/frmedt/ |
H A D | fecopy.cxx | 1559 const Size aDiff( rSnap.GetWidth()/2, rSnap.GetHeight()/2 ); in Paste() local 1560 pView->MoveMarkedObj( aDiff ); in Paste()
|
H A D | tblsel.cxx | 1961 const Point aDiff( aEd - aSt ); in MakeSelUnions() local 1962 SwRect aUnion( aSt, Size( aDiff.X(), aDiff.Y() ) ); in MakeSelUnions()
|
/trunk/main/vcl/source/gdi/ |
H A D | pdfwriter_impl.cxx | 7987 Point aDiff( rStop-rStart ); in drawWaveLine() local 7988 double fLen = sqrt( (double)(aDiff.X()*aDiff.X() + aDiff.Y()*aDiff.Y()) ); in drawWaveLine() 8003 appendDouble( (double)aDiff.X()/fLen, aLine ); in drawWaveLine() 8005 appendDouble( -(double)aDiff.Y()/fLen, aLine ); in drawWaveLine() 8007 appendDouble( (double)aDiff.Y()/fLen, aLine ); in drawWaveLine() 8009 appendDouble( (double)aDiff.X()/fLen, aLine ); in drawWaveLine()
|
/trunk/main/sc/source/ui/unoobj/ |
H A D | cellsuno.cxx | 4550 ScRangeList aDiff; in removeByName() local 4551 sal_Bool bValid = ( aDiff.Parse( aNameStr, pDocSh->GetDocument() ) & SCA_VALID ) != 0; in removeByName() 4558 aDiff.RemoveAll(); in removeByName() 4559 aDiff.Append( aNamedEntries[n]->GetRange() ); in removeByName() 4568 sal_uLong nDiffCount = aDiff.Count(); in removeByName() 4571 ScRange* pDiffRange = aDiff.GetObject(i); in removeByName()
|