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.cxx284 long cx=rCenter.X(); in CrookRotateXPoint()
285 long cy=rCenter.Y(); in CrookRotateXPoint()
289 RotatePoint(rPnt,rCenter,sn,cs); in CrookRotateXPoint()
306 RotatePoint(*pC1,rCenter,sn,cs); in CrookRotateXPoint()
319 long nPntRad=rCenter.Y()-pC2->Y(); in CrookRotateXPoint()
324 RotatePoint(*pC2,rCenter,sn,cs); in CrookRotateXPoint()
342 long nStart=rCenter.X()-rRad.X(); in CrookSlantXPoint()
354 long nStart=rCenter.Y()-rRad.Y(); in CrookSlantXPoint()
369 RotatePoint(rPnt,rCenter,sn,cs); in CrookSlantXPoint()
370 …if (bC1) { if (bVert) pC1->Y()-=y0-rCenter.Y(); else pC1->X()-=x0-rCenter.X(); RotatePoint(*pC1,rC… in CrookSlantXPoint()
[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()
/trunk/main/svx/inc/svx/
H A Dsvdtrans.hxx104 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);
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);
157 long dy=rPnt.Y()-rCenter.Y(); in GetCrookAngle()
159 rPnt.Y()=rCenter.Y(); in GetCrookAngle()
161 long dx=rCenter.X()-rPnt.X(); in GetCrookAngle()
[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.cxx439 pImpXPolygon->pPointAry[++nPos] = rCenter; in XPolygon()
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()
1227 long nCenterX = rCenter.X(); in Rotate()
1228 long nCenterY = rCenter.Y(); in Rotate()
1278 Rotate(rCenter, fSin, fCos); in Rotate()
[all …]
/trunk/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()
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()
96 aPoint2.X -= rCenter.X; 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& rOrientation );
/trunk/main/tools/source/generic/
H A Dpoly.cxx366 const long nDX = rPt.X() - rCenter.X(); in ImplGetAngle()
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()
536 pPt->X() = nX + rCenter.X(); in Polygon()
537 pPt->Y() = -nY + rCenter.Y(); in Polygon()
1303 long nCenterX = rCenter.X(); in Rotate()
[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.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 …aRetval.append(applyDefaultTextureCoordinatesSphere(rCandidate.getB3DPolygon(a), rCenter, bChangeX… 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()

Completed in 154 milliseconds

12