Home
last modified time | relevance | path

Searched refs:aTangent (Results 1 – 3 of 3) sorted by relevance

/trunk/main/svgio/source/svgreader/
H A Dsvgtextpathnode.cxx197 basegfx::B2DVector aTangent(0.0, 1.0); in allowChange() local
202 aTangent = maCurrentSegment.getTangent(0.0); in allowChange()
203 aTangent.normalize(); in allowChange()
204 … aPosition = maCurrentSegment.getStartPoint() + (aTangent * (mfPosition - mfSegmentStartPosition)); in allowChange()
209 aTangent = maCurrentSegment.getTangent(1.0); in allowChange()
210 aTangent.normalize(); in allowChange()
211 … aPosition = maCurrentSegment.getEndPoint() + (aTangent * (mfPosition - mfSegmentStartPosition)); in allowChange()
231 aTangent = maCurrentSegment.getTangent(fBezierDistance); in allowChange()
232 aTangent.normalize(); in allowChange()
246 aPosition -= fHalfSnippetWidth * aTangent; in allowChange()
[all …]
/trunk/main/basegfx/source/polygon/
H A Db2dlinegeometry.cxx584 B2DVector aTangent(rEdge.getEndPoint() - rEdge.getStartPoint()); in createAreaGeometryForEdge() local
585 aTangent.setLength(fHalfLineWidth); in createAreaGeometryForEdge()
602 fAngle = atan2(aTangent.getY(), aTangent.getX()); in createAreaGeometryForEdge()
613 aPerpend.setX(-aTangent.getY()); in createAreaGeometryForEdge()
614 aPerpend.setY(aTangent.getX()); in createAreaGeometryForEdge()
619 const basegfx::B2DPoint aStart(rEdge.getStartPoint() - aTangent); in createAreaGeometryForEdge()
639 fAngle = atan2(aTangent.getY(), aTangent.getX()); in createAreaGeometryForEdge()
654 aPerpend.setX(-aTangent.getY()); in createAreaGeometryForEdge()
655 aPerpend.setY(aTangent.getX()); in createAreaGeometryForEdge()
660 const basegfx::B2DPoint aEnd(rEdge.getEndPoint() + aTangent); in createAreaGeometryForEdge()
/trunk/main/basegfx/source/curve/
H A Db2dcubicbezier.cxx589 if(!aTangent.equalZero()) in getTangent()
591 return aTangent; in getTangent()
596 aTangent = (getControlPointB() - getStartPoint()) * 0.3; in getTangent()
598 if(!aTangent.equalZero()) in getTangent()
600 return aTangent; in getTangent()
609 B2DVector aTangent(getEndPoint() - getControlPointB()); in getTangent() local
611 if(!aTangent.equalZero()) in getTangent()
613 return aTangent; in getTangent()
618 aTangent = (getEndPoint() - getControlPointA()) * 0.3; in getTangent()
620 if(!aTangent.equalZero()) in getTangent()
[all …]

Completed in 32 milliseconds