Home
last modified time | relevance | path

Searched refs:dy (Results 1 – 25 of 53) sorted by relevance

123

/aoo41x/main/svx/source/svdraw/
H A Dsvdsnpv.cxx329 long dy=NOT_SNAPPED; in SnapPos() local
348 if (Abs(b)<=my) { dy1=-b; if (Abs(dy1)<Abs(dy)) dy=dy1; } in SnapPos()
355 if (Abs(dx1)<Abs(dx) && Abs(dy1)<Abs(dy)) { dx=dx1; dy=dy1; } 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()
404 dy=-dy1; in SnapPos()
419 if (Abs(y-aLog.Top ())<=my) { dy1=-(y-aLog.Top ()); if (Abs(dy1)<Abs(dy)) dy=dy1; } in SnapPos()
420 if (Abs(y-aLog.Bottom())<=my) { dy1=-(y-aLog.Bottom()); if (Abs(dy1)<Abs(dy)) dy=dy1; } in SnapPos()
457 dy = 0; in SnapPos()
462 if (dy==NOT_SNAPPED) dy=0; else bRet|=SDRSNAP_YSNAPPED; in SnapPos()
[all …]
H A Dsvddrag.cxx111 long dy=rPnt.Y()-GetPrev().Y(); if (dy<0) dy=-dy; in CheckMinMoved() local
112 if (dx>=long(nMinMov) || dy>=long(nMinMov)) in CheckMinMoved()
H A Dsvdtrans.cxx172 long dy=rRef1.Y()-rPnt.Y(); in MirrorPoint() local
173 rPnt.Y()+=2*dy; in MirrorPoint()
401 long dy=rPnt.Y()-y0; in CrookStretchXPoint() local
404 a*=dy; in CrookStretchXPoint()
668 long dy=rPt.Y()-rPt0.Y(); in OrthoDistance8() local
670 long dya=Abs(dy); in OrthoDistance8()
671 if (dx==0 || dy==0 || dxa==dya) return; in OrthoDistance8()
675 rPt.Y()=rPt0.Y()+(dxa* (dy>=0 ? 1 : -1) ); in OrthoDistance8()
684 long dy=rPt.Y()-rPt0.Y(); in OrthoDistance4() local
686 long dya=Abs(dy); in OrthoDistance4()
[all …]
H A Dsvdpntv.cxx1373 long dx=0,dy=0; in MakeVisible() local
1380 if (o>rRect.Top()) dy=rRect.Top()-o; in MakeVisible()
1381 else if (u<rRect.Bottom()) dy=rRect.Bottom()-u; in MakeVisible()
1382 aMap.SetOrigin(Point(aOrg.X()-dx,aOrg.Y()-dy)); in MakeVisible()
1384 if (dx!=0 || dy!=0) { in MakeVisible()
1385 rWin.Scroll(-dx,-dy); in MakeVisible()
H A Dsvdomeas.cxx488 long dy=-Round(nLineDist*nHlpSin); in ImpCalcGeometrics() local
505 Point aMainlinePt1(aP1.X()+dx,aP1.Y()+dy); in ImpCalcGeometrics()
506 Point aMainlinePt2(aP2.X()+dx,aP2.Y()+dy); in ImpCalcGeometrics()
1051 long dy=aPt2.Y()-aPt1.Y(); in NbcRotate() local
1053 dy=BigMulDiv(dy,nLen0,nLen1); in NbcRotate()
1056 aPt1.Y()=aPt2.Y()-dy; in NbcRotate()
1059 aPt2.Y()=aPt1.Y()+dy; in NbcRotate()
/aoo41x/main/basebmp/inc/basebmp/
H A Dpixeliterator.hxx196 reference operator()(int dy) const in operator ()()
198 return *y(dy); in operator ()()
231 pointer current(int dx, int dy) const in current()
233 return y(dy) + x+dx; in current()
338 reference operator()(int dx, int dy) const in operator ()()
340 return *current(dx,dy); in operator ()()
343 pointer operator[](int dy) const in operator []()
345 return y(dy) + x; in operator []()
H A Dstridedarrayiterator.hxx73 void operator+=(int dy) {current_ += dy*stride_; } in operator +=() argument
74 void operator-=(int dy) {current_ -= dy*stride_; } in operator -=() argument
/aoo41x/main/sc/source/ui/drawfunc/
H A Dfupoor.cxx124 SCsROW dy = 0; in ForceScroll() local
128 if ( aPixPos.Y() <= 0 ) dy = -1; in ForceScroll()
129 if ( aPixPos.Y() >= aSize.Height() ) dy = 1; in ForceScroll()
142 if ( dy > 0 && pViewData->GetVSplitMode() == SC_SPLIT_FIX && WhichV(eWhich) == SC_SPLIT_TOP ) in ForceScroll()
146 dy = 0; in ForceScroll()
149 if ( dx != 0 || dy != 0 ) in ForceScroll()
152 pViewShell->ScrollLines(2*dx, 4*dy); in ForceScroll()
/aoo41x/main/svtools/source/filter/
H A Dsgvspln.cxx641 double* by, double* cy, double* dy) in ParaSpline() argument
692 Error=PeriodicSpline(n,T,y,by,cy,dy); in ParaSpline()
697 Error=NaturalSpline(n,T,y,alphY,betY,MargCond,by,cy,dy); in ParaSpline()
726 double*& cx, double*& cy, double*& dx, double*& dy, double*& T) in CalcSpline() argument
764 dy=new double[n+1]; in CalcSpline()
776 bRet = ParaSpline(n,ax,ay,Marg,Marg01,Marg01,MargN1,MargN2,sal_False,T,bx,cx,dx,by,cy,dy) == 0; in CalcSpline()
787 delete[] dy; in CalcSpline()
824 double* dy; in Spline2Poly() local
837 bOk=CalcSpline(rSpln,Periodic,n,ax,ay,bx,by,cx,cy,dx,dy,tv); in Spline2Poly()
852 y=long(ay[i]+by[i]*dt1+cy[i]*dt2+dy[i]*dt3); in Spline2Poly()
[all …]
H A Dsgvmain.cxx119 sal_Int16 dx,dy; in RotatePoint() local
122 dy=P.y-cy; in RotatePoint()
123 x1=dx*cs-dy*sn; in RotatePoint()
124 y1=dy*cs+dx*sn; in RotatePoint()
131 sal_Int16 dx,dy; in RotatePoint() local
134 dy=(sal_Int16)(P.Y()-cy); in RotatePoint()
135 x1=dx*cs-dy*sn; in RotatePoint()
136 y1=dy*cs+dx*sn; in RotatePoint()
475 sal_Int32 dx,dy; in DrawSlideRect() local
527 dy=y2-y1+1; in DrawSlideRect()
[all …]
/aoo41x/main/chart2/source/view/charttypes/
H A DSplines.cxx434 double dy = 0.0; in createParameterT() local
440 dy = aUniquePoints[i].second - aUniquePoints[i-1].second; in createParameterT()
442 fDiffMax = (fabs(dx)>fabs(dy)) ? fabs(dx) : fabs(dy); in createParameterT()
451 dy /= fDiffMax; in createParameterT()
452 fDenominator += sqrt(sqrt(dx * dx + dy * dy)) * sqrt(fDiffMax); in createParameterT()
467 dy = aUniquePoints[i].second - aUniquePoints[i-1].second; in createParameterT()
468 fDiffMax = (abs(dx)>abs(dy)) ? abs(dx) : abs(dy); in createParameterT()
471 dy /= fDiffMax; in createParameterT()
472 fNumerator += sqrt(sqrt(dx * dx + dy * dy)) * sqrt(fDiffMax); in createParameterT()
/aoo41x/main/basegfx/source/workbench/
H A Dconvexhull.cxx38 typename PointType::value_type dx, dy, ax, ay; in theta() local
42 dy = p2.y - p1.y; ay = absval( dy ); in theta()
43 t = (ax+ay == 0) ? 0 : (double) dy/(ax+ay); in theta()
46 else if( dy < 0 ) in theta()
/aoo41x/main/scripting/java/com/sun/star/script/framework/provider/beanshell/
H A DPlainSourceView.java226 int dy = y; in drawArrow() local
227 arrow.addPoint(dx, dy + 3); in drawArrow()
228 arrow.addPoint(dx + 5, dy + 3); in drawArrow()
235 arrow.addPoint(dx + 5, dy + 7); in drawArrow()
236 arrow.addPoint(dx, dy + 7); in drawArrow()
/aoo41x/main/scripting/examples/java/debugger/
H A DOOBeanShellDebugger.java377 int dy = y; in drawArrow() local
378 arrow.addPoint(dx, dy + 3); in drawArrow()
379 arrow.addPoint(dx + 5, dy + 3); in drawArrow()
386 arrow.addPoint(dx + 5, dy + 7); in drawArrow()
387 arrow.addPoint(dx, dy + 7); in drawArrow()
/aoo41x/main/soldep/source/
H A Dconnctr.cxx257 double dx, dy; in GetLen() local
260 dy = mStart.Y() - mEnd.Y(); in GetLen()
262 return (sal_uIntPtr) sqrt( dx * dx + dy * dy ); in GetLen()
/aoo41x/main/svx/inc/svx/
H A Dsvdtrans.hxx135 long dy=rPnt.Y()-rRef.Y(); in RotatePoint() local
136 rPnt.X()=Round(rRef.X()+dx*cs+dy*sn); in RotatePoint()
137 rPnt.Y()=Round(rRef.Y()+dy*cs-dx*sn); in RotatePoint()
157 long dy=rPnt.Y()-rCenter.Y(); in GetCrookAngle() local
158 nWink=(double)dy/(double)rRad.Y(); in GetCrookAngle()
/aoo41x/main/sc/source/core/tool/
H A Daddress.cxx1886 bool ScAddress::Move( SCsCOL dx, SCsROW dy, SCsTAB dz, ScDocument* pDoc ) in Move() argument
1890 dy = Row() + dy; in Move()
1897 if( dy < 0 ) in Move()
1898 dy = 0, bValid = sal_False; in Move()
1899 else if( dy > MAXROW ) in Move()
1900 dy = MAXROW, bValid =sal_False; in Move()
1905 Set( dx, dy, dz ); in Move()
1910 bool ScRange::Move( SCsCOL dx, SCsROW dy, SCsTAB dz, ScDocument* pDoc ) in Move() argument
1913 return aStart.Move( dx, dy, dz, pDoc ) & aEnd.Move( dx, dy, dz, pDoc ); in Move()
/aoo41x/main/basebmp/test/
H A Dbmpdemo.cxx183 void operator+=(int dy) {current_ += dy*stride_; } in operator +=() argument
184 void operator-=(int dy) {current_ -= dy*stride_; } in operator -=() argument
730 pointer current(int dx, int dy) const in current()
732 return y(dy) + ((x+dx)/num_intraword_positions); in current()
/aoo41x/main/sd/source/ui/func/
H A Dfupoor.cxx203 short dx = 0, dy = 0; in ForceScroll() local
207 if ( aPos.Y() <= rRect.Top() ) dy = -1; in ForceScroll()
208 if ( aPos.Y() >= rRect.Bottom() ) dy = 1; in ForceScroll()
210 if ( dx != 0 || dy != 0 ) in ForceScroll()
216 mpViewShell->ScrollLines(dx, dy); in ForceScroll()
/aoo41x/main/vcl/source/window/
H A Dsplitwin.cxx2057 int dy = 1; in ImplDrawFadeArrow() local
2061 dy = -1; in ImplDrawFadeArrow()
2068 DrawPixel( Point(x+1, y+dy), aCol ); in ImplDrawFadeArrow()
2069 DrawPixel( Point(x+5, y+dy), aCol ); in ImplDrawFadeArrow()
2070 DrawPixel( Point(x+2, y+dy+dy), aCol ); in ImplDrawFadeArrow()
2071 DrawPixel( Point(x+4, y+dy+dy), aCol ); in ImplDrawFadeArrow()
2072 DrawPixel( Point(x+3, y+dy+dy+dy), aCol ); in ImplDrawFadeArrow()
2077 DrawPixel( Point(x+2, y+dy), aCol ); in ImplDrawFadeArrow()
2078 DrawPixel( Point(x+4, y+dy), aCol ); in ImplDrawFadeArrow()
2079 DrawPixel( Point(x+3, y+dy+dy), aCol ); in ImplDrawFadeArrow()
/aoo41x/main/filter/source/graphicfilter/icgm/
H A Dclass4.cxx211 double dx, dy; in ImplDoClass4() local
221 dy = ImplGetFloat( pElement->eVDCRealPrecision, pElement->nVDCRealSize ); in ImplDoClass4()
226 dy = (double)ImplGetI( pElement->nVDCIntegerPrecision ); in ImplDoClass4()
229 ImplMapDouble( dy ); in ImplDoClass4()
240 awt::Size aSize((long)dx, (long)dy); in ImplDoClass4()
/aoo41x/main/filter/source/flash/
H A Dswfwriter1.cxx192 void Writer::Impl_addShapeRecordChange( BitStream& rBits, sal_Int16 dx, sal_Int16 dy, sal_Bool bFil… in Impl_addShapeRecordChange() argument
201 sal_uInt16 nMoveBits = max( getMaxBitsSigned( dx ), getMaxBitsSigned( dy ) ); in Impl_addShapeRecordChange()
206 rBits.writeSB( dy, nMoveBits ); // DeltaY in Impl_addShapeRecordChange()
215 void Writer::Impl_addStraightEdgeRecord( BitStream& rBits, sal_Int16 dx, sal_Int16 dy ) in Impl_addStraightEdgeRecord() argument
220 sal_uInt16 nBits = max( getMaxBitsSigned( dx ), getMaxBitsSigned( dy ) ); in Impl_addStraightEdgeRecord()
224 if( (dx != 0) && (dy != 0) ) in Impl_addStraightEdgeRecord()
228 rBits.writeSB( dy, nBits ); // DeltaY in Impl_addStraightEdgeRecord()
236 rBits.writeSB( dy, nBits ); // DeltaY in Impl_addStraightEdgeRecord()
/aoo41x/test/testcommon/source/org/openoffice/test/vcl/
H A DTester.java107 int dy = toY > fromY ? 1 : -1; in drag() local
113 if( sy == 0) sy = dy; in drag()
120 if( ((y - toY) * dy) > 0) in drag()
/aoo41x/main/cui/source/dialogs/
H A Dcolorpicker.cxx410 void KeyMove( int dx, int dy );
669 void ColorFieldControl::KeyMove( int dx, int dy ) in KeyMove() argument
674 aPos.Y() += dy; in KeyMove()
814 void KeyMove( int dy );
978 void ColorSliderControl::KeyMove( int dy ) in KeyMove() argument
980 ChangePosition( mnLevel + dy ); in KeyMove()
/aoo41x/main/accessibility/workben/org/openoffice/accessibility/awb/view/
H A DLayoutManager.java78 int dy = mnOldY - aEvent.getPoint().y; in mouseDragged() local
80 if ( ! mbInsertionPending && dy != 0) in mouseDragged()

Completed in 168 milliseconds

123