Home
last modified time | relevance | path

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

12

/trunk/main/svx/source/svdraw/
H A Dsvdtrans.cxx265 double CrookRotateXPoint(Point& rPnt, Point* pC1, Point* pC2, const Point& rCenter, in CrookRotateXPoint() argument
272 long cx=rCenter.X(); in CrookRotateXPoint()
273 long cy=rCenter.Y(); in CrookRotateXPoint()
274 double nWink=GetCrookAngle(rPnt,rCenter,rRad,bVert); in CrookRotateXPoint()
277 RotatePoint(rPnt,rCenter,sn,cs); in CrookRotateXPoint()
294 RotatePoint(*pC1,rCenter,sn,cs); in CrookRotateXPoint()
301 pC2->Y()=Round(((double)pC2->Y()) /rRad.X()*(rCenter.X()-pC2->X())); in CrookRotateXPoint()
307 long nPntRad=rCenter.Y()-pC2->Y(); in CrookRotateXPoint()
312 RotatePoint(*pC2,rCenter,sn,cs); in CrookRotateXPoint()
319 double CrookSlantXPoint(Point& rPnt, Point* pC1, Point* pC2, const Point& rCenter, in CrookSlantXPoint() argument
[all …]
H A Dsvdxcgv.cxx482 void SdrExchangeView::ImpPasteObject(SdrObject* pObj, SdrObjList& rLst, const Point& rCenter, const… in ImpPasteObject() argument
504 Point aPos(rCenter.X()-xs/2,rCenter.Y()-ys/2); in ImpPasteObject()
/trunk/main/svx/inc/svx/
H A Dsvdtrans.hxx94 inline double GetCrookAngle(Point& rPnt, const Point& rCenter, const Point& rRad, FASTBOOL bVertica…
100 double CrookRotateXPoint(Point& rPnt, Point* pC1, Point* pC2, const Point& rCenter,
102 double CrookSlantXPoint(Point& rPnt, Point* pC1, Point* pC2, const Point& rCenter,
104 double CrookStretchXPoint(Point& rPnt, Point* pC1, Point* pC2, const Point& rCenter,
108 void CrookRotatePoly(XPolygon& rPoly, const Point& rCenter, const Point& rRad, FASTBOOL bVert);
109 void CrookSlantPoly(XPolygon& rPoly, const Point& rCenter, const Point& rRad, FASTBOOL bVert);
110 void CrookStretchPoly(XPolygon& rPoly, const Point& rCenter, const Point& rRad, FASTBOOL bVert, con…
112 void CrookRotatePoly(XPolyPolygon& rPoly, const Point& rCenter, const Point& rRad, FASTBOOL bVert);
113 void CrookSlantPoly(XPolyPolygon& rPoly, const Point& rCenter, const Point& rRad, FASTBOOL bVert);
114 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 …
/trunk/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 …]
/trunk/main/filter/source/graphicfilter/icgm/
H A Dclass4.cxx32 double CGM::ImplGetOrientation( FloatPoint& rCenter, FloatPoint& rPoint ) in ImplGetOrientation() argument
36 double nX = rPoint.X - rCenter.X; in ImplGetOrientation()
37 double nY = rPoint.Y - rCenter.Y; in ImplGetOrientation()
81 sal_Bool CGM::ImplGetEllipse( FloatPoint& rCenter, FloatPoint& rRadius, double& rAngle ) in ImplGetEllipse() argument
85 ImplGetPoint( rCenter, sal_True ); in ImplGetEllipse()
88 fRot1 = ImplGetOrientation( rCenter, aPoint1 ); in ImplGetEllipse()
89 fRot2 = ImplGetOrientation( rCenter, aPoint2 ); in ImplGetEllipse()
90 rAngle = ImplGetOrientation( rCenter, aPoint1 ); in ImplGetEllipse()
91 aPoint1.X -= rCenter.X; in ImplGetEllipse()
92 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…
/trunk/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()
/trunk/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 );
/trunk/main/basegfx/inc/basegfx/polygon/
H A Db2dpolygontools.hxx289 … BASEGFX_DLLPUBLIC B2DPolygon createPolygonFromCircle( const B2DPoint& rCenter, double fRadius );
321 …BASEGFX_DLLPUBLIC B2DPolygon createPolygonFromEllipse( const B2DPoint& rCenter, double fRadiusX, d…
325 …BASEGFX_DLLPUBLIC B2DPolygon createPolygonFromEllipseSegment( const B2DPoint& rCenter, double fRad…
375 …B2DPolygon rotateAroundPoint(const B2DPolygon& rCandidate, const B2DPoint& rCenter, double fAngle);
H A Db3dpolypolygontools.hxx120 …DPolyPolygon applyDefaultNormalsSphere( const B3DPolyPolygon& rCandidate, const B3DPoint& rCenter);
138 …tureCoordinatesSphere( const B3DPolyPolygon& rCandidate, const B3DPoint& rCenter, bool bChangeX = …
H A Db3dpolygontools.hxx115 …UBLIC B3DPolygon applyDefaultNormalsSphere( const B3DPolygon& rCandidate, const B3DPoint& rCenter);
133 …tTextureCoordinatesSphere( const B3DPolygon& rCandidate, const B3DPoint& rCenter, bool bChangeX = …
H A Db2dpolypolygontools.hxx223 …olygon rotateAroundPoint(const B2DPolyPolygon& rCandidate, const B2DPoint& rCenter, double fAngle);
/trunk/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()
/trunk/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.cxx438 …3DPolyPolygon applyDefaultNormalsSphere( const B3DPolyPolygon& rCandidate, const B3DPoint& rCenter) in applyDefaultNormalsSphere() argument
444 aRetval.append(applyDefaultNormalsSphere(rCandidate.getB3DPolygon(a), rCenter)); in applyDefaultNormalsSphere()
474 …tureCoordinatesSphere( const B3DPolyPolygon& rCandidate, const B3DPoint& rCenter, bool bChangeX, b… in applyDefaultTextureCoordinatesSphere() argument
480 …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()
/trunk/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,
/trunk/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()
/trunk/main/filter/source/svg/
H A Dsvgwriter.cxx607 void SVGActionWriter::ImplWriteEllipse( const Point& rCenter, long nRadX, long nRadY, in ImplWriteEllipse() argument
613 ImplMap( rCenter, aCenter ); in ImplWriteEllipse()
615 aCenter = rCenter; in ImplWriteEllipse()

12