Home
last modified time | relevance | path

Searched refs:midPt (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/animator/
DSkParseSVGPath.cpp23 static inline void midPt(SkPoint& dest,const SkPoint& a,const SkPoint& b) in midPt() function
34 midPt(j, p0, c); in quadApprox()
35 midPt(k, p0, p1); in quadApprox()
36 midPt(l, p1, p2); in quadApprox()
37 midPt(o, j, k); in quadApprox()
38 midPt(p, k, l); in quadApprox()
39 midPt(q, o, p); in quadApprox()
43 midPt(mid,m,n); in quadApprox()
49 midPt(mid,m,n); in quadApprox()
/external/skia/gm/
Ddegeneratesegments.cpp139 SkPoint midPt = startPt + SkPoint::Make(20*SK_Scalar1, 5*SK_Scalar1); in AddQuad() local
141 path.quadTo(midPt, endPt); in AddQuad()
147 SkPoint midPt = moveToPt + SkPoint::Make(20*SK_Scalar1, 5*SK_Scalar1); in AddMoveQuad() local
150 path.quadTo(midPt, endPt); in AddMoveQuad()
156 SkPoint midPt = moveToPt + SkPoint::Make(20*SK_Scalar1, 5*SK_Scalar1); in AddMoveQuadClose() local
159 path.quadTo(midPt, endPt); in AddMoveQuadClose()
/external/fonttools/Lib/fontTools/misc/
DbezierTools.py103 midPt = ax * t + bx, ay * t + by
104 return [(pt1, midPt), (midPt, pt2)]
/external/skia/src/pathops/
DSkOpSegment.cpp1472 SkPoint midPt = this->ptAtT(midT); in ptsDisjoint() local
1474 return midPt.distanceToSqd(pt1) > seDistSq || midPt.distanceToSqd(pt2) > seDistSq; in ptsDisjoint()
1681 SkPoint midPt = this->ptAtT(midT); in testForCoincidence() local
1684 if (!SkDPoint::ApproximatelyEqual(priorPtT->fPt, midPt) in testForCoincidence()
1685 && !SkDPoint::ApproximatelyEqual(ptT->fPt, midPt)) { in testForCoincidence()
1689 SkDLine ray = {{{midPt.fX, midPt.fY}, in testForCoincidence()
1690 {(double) midPt.fX + dxdy.fY, (double) midPt.fY - dxdy.fX}}}; in testForCoincidence()
1695 if (oppPt.approximatelyEqual(midPt)) { in testForCoincidence()
DSkPathOpsTSect.h1560 SkDPoint midPt = fCurve.ptAtT(midT); in mergeCoincidence() local
1562 coin.setPerp(fCurve, midT, midPt, sect2->fCurve); in mergeCoincidence()
2223 SkDPoint midPt = sect1->fCurve.ptAtT(midT); in BinarySearch() local
2226 perp.setPerp(sect1->fCurve, midT, midPt, sect2->fCurve); in BinarySearch()