Lines Matching refs:basegfx

65 					const basegfx::B3DPoint aLeft(0.0, 0.0, 0.0);  in getLineTubeSegments()
66 const basegfx::B3DPoint aRight(1.0, 0.0, 0.0); in getLineTubeSegments()
67 basegfx::B3DPoint aLastLeft(0.0, 1.0, 0.0); in getLineTubeSegments()
68 basegfx::B3DPoint aLastRight(1.0, 1.0, 0.0); in getLineTubeSegments()
69 basegfx::B3DHomMatrix aRot; in getLineTubeSegments()
75 const basegfx::B3DPoint aNextLeft(aRot * aLastLeft); in getLineTubeSegments()
76 const basegfx::B3DPoint aNextRight(aRot * aLastRight); in getLineTubeSegments()
77 basegfx::B3DPolygon aNewPolygon; in getLineTubeSegments()
80 aNewPolygon.setNormal(0L, basegfx::B3DVector(aNextLeft - aLeft)); in getLineTubeSegments()
83 aNewPolygon.setNormal(1L, basegfx::B3DVector(aLastLeft - aLeft)); in getLineTubeSegments()
86 aNewPolygon.setNormal(2L, basegfx::B3DVector(aLastRight - aRight)); in getLineTubeSegments()
89 aNewPolygon.setNormal(3L, basegfx::B3DVector(aNextRight - aRight)); in getLineTubeSegments()
93 const basegfx::B3DPolyPolygon aNewPolyPolygon(aNewPolygon); in getLineTubeSegments()
126 const basegfx::B3DPoint aNull(0.0, 0.0, 0.0); in getLineCapSegments()
127 basegfx::B3DPoint aLast(0.0, 1.0, 0.0); in getLineCapSegments()
128 basegfx::B3DHomMatrix aRot; in getLineCapSegments()
134 const basegfx::B3DPoint aNext(aRot * aLast); in getLineCapSegments()
135 basegfx::B3DPolygon aNewPolygon; in getLineCapSegments()
138 aNewPolygon.setNormal(0L, basegfx::B3DVector(aLast - aNull)); in getLineCapSegments()
141 aNewPolygon.setNormal(1L, basegfx::B3DVector(aNext - aNull)); in getLineCapSegments()
144 aNewPolygon.setNormal(2L, basegfx::B3DVector(-1.0, 0.0, 0.0)); in getLineCapSegments()
148 const basegfx::B3DPolyPolygon aNewPolyPolygon(aNewPolygon); in getLineCapSegments()
189 basegfx::B3DPolyPolygon aSphere( in getLineCapRoundSegments()
190 basegfx::tools::createUnitSphereFillPolyPolygon( in getLineCapRoundSegments()
202 basegfx::B3DHomMatrix aSphereTrans; in getLineCapRoundSegments()
213 const basegfx::B3DPolygon aPartPolygon(aSphere.getB3DPolygon(a)); in getLineCapRoundSegments()
214 const basegfx::B3DPolyPolygon aPartPolyPolygon(aPartPolygon); in getLineCapRoundSegments()
235 basegfx::B2DLineJoin aLineJoin) in getLineJoinSegments()
243 if(basegfx::B2DLINEJOIN_ROUND == aLineJoin) in getLineJoinSegments()
246 const sal_uInt32 nHorSeg(basegfx::fround((fAngle / F_2PI) * (double)nSegments)); in getLineJoinSegments()
251 …const basegfx::B3DPolyPolygon aSphere(basegfx::tools::createUnitSphereFillPolyPolygon(nHorSeg, nVe… in getLineJoinSegments()
255 const basegfx::B3DPolygon aPartPolygon(aSphere.getB3DPolygon(a)); in getLineJoinSegments()
256 const basegfx::B3DPolyPolygon aPartPolyPolygon(aPartPolygon); in getLineJoinSegments()
264 aLineJoin = basegfx::B2DLINEJOIN_BEVEL; in getLineJoinSegments()
268 if(basegfx::B2DLINEJOIN_MIDDLE == aLineJoin in getLineJoinSegments()
269 || basegfx::B2DLINEJOIN_BEVEL == aLineJoin in getLineJoinSegments()
270 || basegfx::B2DLINEJOIN_MITER == aLineJoin) in getLineJoinSegments()
272 if(basegfx::B2DLINEJOIN_MITER == aLineJoin) in getLineJoinSegments()
279 aLineJoin = basegfx::B2DLINEJOIN_BEVEL; in getLineJoinSegments()
286 const bool bMiter(basegfx::B2DLINEJOIN_MITER == aLineJoin); in getLineJoinSegments()
290 basegfx::B3DPoint aPointOnXY, aPointRotY, aNextPointOnXY, aNextPointRotY; in getLineJoinSegments()
291 basegfx::B3DPoint aCurrMiter, aNextMiter; in getLineJoinSegments()
292 basegfx::B3DPolygon aNewPolygon, aMiterPolygon; in getLineJoinSegments()
307 aNextPointOnXY = basegfx::B3DPoint( in getLineJoinSegments()
312 aNextPointRotY = basegfx::B3DPoint( in getLineJoinSegments()
319 aNextMiter = basegfx::B3DPoint( in getLineJoinSegments()
332 aNewPolygon.append(basegfx::B3DPoint(0.0, -1.0, 0.0)); in getLineJoinSegments()
337 aMiterPolygon.append(basegfx::B3DPoint(0.0, -1.0, 0.0)); in getLineJoinSegments()
343 aNewPolygon.append(basegfx::B3DPoint(0.0, -1.0, 0.0)); in getLineJoinSegments()
354 aNewPolygon.append(basegfx::B3DPoint(0.0, 1.0, 0.0)); in getLineJoinSegments()
359 aMiterPolygon.append(basegfx::B3DPoint(0.0, 1.0, 0.0)); in getLineJoinSegments()
365 aNewPolygon.append(basegfx::B3DPoint(0.0, 1.0, 0.0)); in getLineJoinSegments()
399 aNewPolygon.setNormal(b, basegfx::B3DVector(aNewPolygon.getB3DPoint(b))); in getLineJoinSegments()
405 const basegfx::B3DPolyPolygon aNewPolyPolygon(aNewPolygon); in getLineJoinSegments()
415 aMiterPolygon.setNormal(c, basegfx::B3DVector(aMiterPolygon.getB3DPoint(c))); in getLineJoinSegments()
419 const basegfx::B3DPolyPolygon aMiterPolyPolygon(aMiterPolygon); in getLineJoinSegments()
449 basegfx::B3DHomMatrix getRotationFromVector(const basegfx::B3DVector& rVector) in getRotationFromVector()
452 basegfx::B3DHomMatrix aRetval; in getRotationFromVector()
485 if(basegfx::fTools::more(getRadius(), 0.0)) in impCreate3DDecomposition()
490 const bool bNoLineJoin(basegfx::B2DLINEJOIN_NONE == getLineJoin()); in impCreate3DDecomposition()
492 basegfx::B3DPoint aLast(getB3DPolygon().getB3DPoint(nPointCount - 1)); in impCreate3DDecomposition()
493 basegfx::B3DPoint aCurr(getB3DPolygon().getB3DPoint(0)); in impCreate3DDecomposition()
498 … const basegfx::B3DPoint aNext(getB3DPolygon().getB3DPoint((a + 1) % nPointCount)); in impCreate3DDecomposition()
499 const basegfx::B3DVector aForw(aNext - aCurr); in impCreate3DDecomposition()
502 if(basegfx::fTools::more(fForwLen, 0.0)) in impCreate3DDecomposition()
512 basegfx::B3DHomMatrix aRotVector(getRotationFromVector(aForw)); in impCreate3DDecomposition()
515 basegfx::B3DHomMatrix aTubeTrans; in impCreate3DDecomposition()
516 basegfx::B3DHomMatrix aCapTrans; in impCreate3DDecomposition()
569 const basegfx::B3DVector aBack(aCurr - aLast); in impCreate3DDecomposition()
570 const double fCross(basegfx::cross(aBack, aForw).getLength()); in impCreate3DDecomposition()
572 if(!basegfx::fTools::equalZero(fCross)) in impCreate3DDecomposition()
586 basegfx::B3DHomMatrix aInvRotVector(aRotVector); in impCreate3DDecomposition()
588 basegfx::B3DVector aTransBack(aInvRotVector * aBack); in impCreate3DDecomposition()
593 basegfx::B3DHomMatrix aSphereTrans; in impCreate3DDecomposition()
617 basegfx::B3DHomMatrix aBackCapTrans; in impCreate3DDecomposition()
684 const basegfx::B3DPolygon& rPolygon, in PolygonTubePrimitive3D()
685 const basegfx::BColor& rBColor, in PolygonTubePrimitive3D()
686 double fRadius, basegfx::B2DLineJoin aLineJoin, in PolygonTubePrimitive3D()