Home
last modified time | relevance | path

Searched refs:rCenter (Results 1 – 25 of 29) sorted by relevance

12

/AOO41X/main/svx/source/svdraw/
H A Dsvdtrans.cxx277 double CrookRotateXPoint(Point& rPnt, Point* pC1, Point* pC2, const Point& rCenter, in CrookRotateXPoint() argument
284 long cx=rCenter.X(); in CrookRotateXPoint()
285 long cy=rCenter.Y(); in CrookRotateXPoint()
286 double nWink=GetCrookAngle(rPnt,rCenter,rRad,bVert); in CrookRotateXPoint()
289 RotatePoint(rPnt,rCenter,sn,cs); in CrookRotateXPoint()
306 RotatePoint(*pC1,rCenter,sn,cs); in CrookRotateXPoint()
313 pC2->Y()=Round(((double)pC2->Y()) /rRad.X()*(rCenter.X()-pC2->X())); in CrookRotateXPoint()
319 long nPntRad=rCenter.Y()-pC2->Y(); in CrookRotateXPoint()
324 RotatePoint(*pC2,rCenter,sn,cs); in CrookRotateXPoint()
331 double CrookSlantXPoint(Point& rPnt, Point* pC1, Point* pC2, const Point& rCenter, in CrookSlantXPoint() argument
[all …]
H A Dsvdxcgv.cxx484 void SdrExchangeView::ImpPasteObject(SdrObject* pObj, SdrObjList& rLst, const Point& rCenter, const… in ImpPasteObject() argument
506 Point aPos(rCenter.X()-xs/2,rCenter.Y()-ys/2); in ImpPasteObject()
/AOO41X/main/svx/inc/svx/
H A Dsvdtrans.hxx98 inline double GetCrookAngle(Point& rPnt, const Point& rCenter, const Point& rRad, FASTBOOL bVertica…
104 double CrookRotateXPoint(Point& rPnt, Point* pC1, Point* pC2, const Point& rCenter,
106 double CrookSlantXPoint(Point& rPnt, Point* pC1, Point* pC2, const Point& rCenter,
108 double CrookStretchXPoint(Point& rPnt, Point* pC1, Point* pC2, const Point& rCenter,
112 void CrookRotatePoly(XPolygon& rPoly, const Point& rCenter, const Point& rRad, FASTBOOL bVert);
113 void CrookSlantPoly(XPolygon& rPoly, const Point& rCenter, const Point& rRad, FASTBOOL bVert);
114 void CrookStretchPoly(XPolygon& rPoly, const Point& rCenter, const Point& rRad, FASTBOOL bVert, con…
116 void CrookRotatePoly(XPolyPolygon& rPoly, const Point& rCenter, const Point& rRad, FASTBOOL bVert);
117 void CrookSlantPoly(XPolyPolygon& rPoly, const Point& rCenter, const Point& rRad, FASTBOOL bVert);
118 void CrookStretchPoly(XPolyPolygon& rPoly, const Point& rCenter, const Point& rRad, FASTBOOL bVert,…
[all …]
H A Dxpoly.hxx75 void GenBezArc(const Point& rCenter, long nRx, long nRy,
85 XPolygon( const Point& rCenter, long nRx, long nRy,
125 void Rotate(const Point& rCenter, double fSin, double fCos);
126 void Rotate(const Point& rCenter, sal_uInt16 nAngle);
190 void Rotate(const Point& rCenter, double fSin, double fCos);
191 void Rotate(const Point& rCenter, sal_uInt16 nAngle);
H A Dsphere3d.hxx50 …E3dSphereObj(E3dDefaultAttributes& rDefault, const basegfx::B3DPoint& rCenter, const basegfx::B3DV…
H A Dsvdxcgv.hxx55 …void ImpPasteObject(SdrObject* pObj, SdrObjList& rLst, const Point& rCenter, const …
H A Dsvdoedge.hxx205 …bjToCenter(const Point& rStPt, long nEscAngle, const Rectangle& rRect, const Point& rCenter) const;
/AOO41X/main/svx/source/xoutdev/
H A D_xpoly.cxx408 XPolygon::XPolygon(const Point& rCenter, long nRx, long nRy, in XPolygon() argument
430 GenBezArc(rCenter, nRx, nRy, nXHdl, nYHdl, nA1, nA2, nQuad, nPos); in XPolygon()
439 pImpXPolygon->pPointAry[++nPos] = rCenter; in XPolygon()
953 void XPolygon::GenBezArc(const Point& rCenter, long nRx, long nRy, in GenBezArc() argument
958 pPoints[nFirst ] = rCenter; in GenBezArc()
959 pPoints[nFirst+3] = rCenter; in GenBezArc()
1088 const Point& rCenter = pImpXPolygon->pPointAry[nCenter]; 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()
[all …]
/AOO41X/main/filter/source/graphicfilter/icgm/
H A Dclass4.cxx34 double CGM::ImplGetOrientation( FloatPoint& rCenter, FloatPoint& rPoint ) in ImplGetOrientation() argument
38 double nX = rPoint.X - rCenter.X; in ImplGetOrientation()
39 double nY = rPoint.Y - rCenter.Y; in ImplGetOrientation()
83 sal_Bool CGM::ImplGetEllipse( FloatPoint& rCenter, FloatPoint& rRadius, double& rAngle ) in ImplGetEllipse() argument
87 ImplGetPoint( rCenter, sal_True ); in ImplGetEllipse()
90 fRot1 = ImplGetOrientation( rCenter, aPoint1 ); in ImplGetEllipse()
91 fRot2 = ImplGetOrientation( rCenter, aPoint2 ); in ImplGetEllipse()
92 rAngle = ImplGetOrientation( rCenter, aPoint1 ); in ImplGetEllipse()
93 aPoint1.X -= rCenter.X; in ImplGetEllipse()
94 aPoint1.Y -= rCenter.Y; in ImplGetEllipse()
[all …]
H A Dactimpr.cxx535 void CGMImpressOutAct::DrawEllipse( FloatPoint& rCenter, FloatPoint& rSize, double& rOrientation ) in DrawEllipse() argument
550 …maXShape->setPosition( awt::Point( (long)( rCenter.X - rSize.X ), (long)( rCenter.Y - rSize.Y ) ) … in DrawEllipse()
554 ImplSetOrientation( rCenter, rOrientation ); in DrawEllipse()
562 void CGMImpressOutAct::DrawEllipticalArc( FloatPoint& rCenter, FloatPoint& rSize, double& rOrientat… in DrawEllipticalArc() argument
610 …maXShape->setPosition( awt::Point( (long)( rCenter.X - rSize.X ), (long)( rCenter.Y - rSize.Y ) ) … in DrawEllipticalArc()
613 ImplSetOrientation( rCenter, rOrientation ); in DrawEllipticalArc()
H A Dcgm.hxx137 double ImplGetOrientation( FloatPoint& rCenter, FloatPoint& rPoint );
139 …sal_Bool ImplGetEllipse( FloatPoint& rCenter, FloatPoint& rRadius, double& rOrienta…
/AOO41X/main/tools/source/generic/
H A Dpoly.cxx364 inline double ImplGetAngle( const Point& rCenter, const Point& rPt ) in ImplGetAngle() argument
366 const long nDX = rPt.X() - rCenter.X(); in ImplGetAngle()
367 return( atan2( -rPt.Y() + rCenter.Y(), ( ( nDX == 0L ) ? 0.000000001 : nDX ) ) ); in ImplGetAngle()
493 Polygon::Polygon( const Point& rCenter, long nRadX, long nRadY, sal_uInt16 nPoints ) in Polygon() argument
527 pPt->X() = nX + rCenter.X(); in Polygon()
528 pPt->Y() = nY + rCenter.Y(); in Polygon()
530 pPt->X() = -nX + rCenter.X(); in Polygon()
531 pPt->Y() = nY + rCenter.Y(); in Polygon()
533 pPt->X() = -nX + rCenter.X(); in Polygon()
534 pPt->Y() = -nY + rCenter.Y(); in Polygon()
[all …]
H A Dpoly2.cxx513 void PolyPolygon::Rotate( const Point& rCenter, sal_uInt16 nAngle10 ) in Rotate() argument
521 Rotate( rCenter, sin( fAngle ), cos( fAngle ) ); in Rotate()
527 void PolyPolygon::Rotate( const Point& rCenter, double fSin, double fCos ) in Rotate() argument
540 mpImplPolyPolygon->mpPolyAry[ i ]->Rotate( rCenter, fSin, fCos ); in Rotate()
/AOO41X/main/tools/inc/tools/
H A Dpoly.hxx140 Polygon( const Point& rCenter,
206 void Rotate( const Point& rCenter, double fSin, double fCos );
207 void Rotate( const Point& rCenter, sal_uInt16 nAngle10 );
309 void Rotate( const Point& rCenter, double fSin, double fCos );
310 void Rotate( const Point& rCenter, sal_uInt16 nAngle10 );
/AOO41X/main/basegfx/inc/basegfx/polygon/
H A Db2dpolygontools.hxx288 B2DPolygon createPolygonFromCircle( const B2DPoint& rCenter, double fRadius );
320 … B2DPolygon createPolygonFromEllipse( const B2DPoint& rCenter, double fRadiusX, double fRadiusY );
324 …B2DPolygon createPolygonFromEllipseSegment( const B2DPoint& rCenter, double fRadiusX, double fRadi…
374 …B2DPolygon rotateAroundPoint(const B2DPolygon& rCandidate, const B2DPoint& rCenter, double fAngle);
H A Db3dpolypolygontools.hxx119 …DPolyPolygon applyDefaultNormalsSphere( const B3DPolyPolygon& rCandidate, const B3DPoint& rCenter);
137 …tureCoordinatesSphere( const B3DPolyPolygon& rCandidate, const B3DPoint& rCenter, bool bChangeX = …
H A Db3dpolygontools.hxx114 … B3DPolygon applyDefaultNormalsSphere( const B3DPolygon& rCandidate, const B3DPoint& rCenter);
132 …tTextureCoordinatesSphere( const B3DPolygon& rCandidate, const B3DPoint& rCenter, bool bChangeX = …
H A Db2dpolypolygontools.hxx222 …B2DPolyPolygon rotateAroundPoint(const B2DPolyPolygon& rCandidate, const B2DPoint& rCenter, double…
/AOO41X/main/svtools/source/misc/
H A Dimap.cxx339 IMapCircleObject::IMapCircleObject( const Point& rCenter, sal_uLong nCircleRadius, in IMapCircleObject() argument
349 ImpConstruct( rCenter, nCircleRadius, bPixelCoords ); in IMapCircleObject()
359 void IMapCircleObject::ImpConstruct( const Point& rCenter, sal_uLong nRad, sal_Bool bPixel ) in ImpConstruct() argument
365 aCenter = Application::GetDefaultDevice()->PixelToLogic( rCenter, aMap100 ); in ImpConstruct()
370 aCenter = rCenter; in ImpConstruct()
/AOO41X/main/basegfx/source/polygon/
H A Db3dpolygontools.cxx551 B3DPolygon applyDefaultNormalsSphere( const B3DPolygon& rCandidate, const B3DPoint& rCenter) in applyDefaultNormalsSphere() argument
557 B3DVector aVector(aRetval.getB3DPoint(a) - rCenter); in applyDefaultNormalsSphere()
630 …tTextureCoordinatesSphere( const B3DPolygon& rCandidate, const B3DPoint& rCenter, bool bChangeX, b… in applyDefaultTextureCoordinatesSphere() argument
646 const B3DPoint aPlaneCenter(aPlaneRange.getCenter() - rCenter); in applyDefaultTextureCoordinatesSphere()
651 const B3DVector aVector(aRetval.getB3DPoint(a) - rCenter); in applyDefaultTextureCoordinatesSphere()
H A Db3dpolypolygontools.cxx441 …3DPolyPolygon applyDefaultNormalsSphere( const B3DPolyPolygon& rCandidate, const B3DPoint& rCenter) in applyDefaultNormalsSphere() argument
447 aRetval.append(applyDefaultNormalsSphere(rCandidate.getB3DPolygon(a), rCenter)); in applyDefaultNormalsSphere()
477 …tureCoordinatesSphere( const B3DPolyPolygon& rCandidate, const B3DPoint& rCenter, bool bChangeX, b… in applyDefaultTextureCoordinatesSphere() argument
483 …append(applyDefaultTextureCoordinatesSphere(rCandidate.getB3DPolygon(a), rCenter, bChangeX, bChang… in applyDefaultTextureCoordinatesSphere()
H A Db2dpolygontools.cxx1850 B2DPolygon createPolygonFromCircle( const B2DPoint& rCenter, double fRadius ) in createPolygonFromCircle() argument
1852 return createPolygonFromEllipse( rCenter, fRadius, fRadius ); in createPolygonFromCircle()
1972 … B2DPolygon createPolygonFromEllipse( const B2DPoint& rCenter, double fRadiusX, double fRadiusY ) in createPolygonFromEllipse() argument
1975 …trix aMatrix(createScaleTranslateB2DHomMatrix(fRadiusX, fRadiusY, rCenter.getX(), rCenter.getY())); in createPolygonFromEllipse()
2083 …B2DPolygon createPolygonFromEllipseSegment( const B2DPoint& rCenter, double fRadiusX, double fRadi… in createPolygonFromEllipseSegment() argument
2086 …trix aMatrix(createScaleTranslateB2DHomMatrix(fRadiusX, fRadiusY, rCenter.getX(), rCenter.getY())); in createPolygonFromEllipseSegment()
2712 … B2DPolygon rotateAroundPoint(const B2DPolygon& rCandidate, const B2DPoint& rCenter, double fAngle) in rotateAroundPoint() argument
2719 … const B2DHomMatrix aMatrix(basegfx::tools::createRotateAroundPoint(rCenter, fAngle)); in rotateAroundPoint()
H A Db2dpolypolygontools.cxx414 …B2DPolyPolygon rotateAroundPoint(const B2DPolyPolygon& rCandidate, const B2DPoint& rCenter, double… in rotateAroundPoint() argument
423 aRetval.append(rotateAroundPoint(aCandidate, rCenter, fAngle)); in rotateAroundPoint()
/AOO41X/main/svtools/inc/svtools/
H A Dimapcirc.hxx43 void ImpConstruct( const Point& rCenter, sal_uLong nRad, sal_Bool bPixel );
54 IMapCircleObject( const Point& rCenter, sal_uLong nRad,
/AOO41X/main/svx/source/engine3d/
H A Dsphere3d.cxx67 E3dSphereObj::E3dSphereObj(E3dDefaultAttributes& rDefault, const basegfx::B3DPoint& rCenter, const … in E3dSphereObj() argument
74 aCenter = rCenter; in E3dSphereObj()

12