Home
last modified time | relevance | path

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

/external/skia/src/pathops/
DSkDLineIntersection.cpp55 double numerA = ab0.fY * bLen.fX - bLen.fY * ab0.fX; in intersectRay() local
57 numerA /= denom; in intersectRay()
59 fT[0][0] = numerA; in intersectRay()
118 double numerA = ab0y * bxLen - byLen * ab0x; in intersect() local
121 if (between(0, numerA, denom) && between(0, numerB, denom)) { in intersect()
122 fT[0][0] = numerA / denom; in intersect()
/external/skqp/src/pathops/
DSkDLineIntersection.cpp55 double numerA = ab0.fY * bLen.fX - bLen.fY * ab0.fX; in intersectRay() local
57 numerA /= denom; in intersectRay()
59 fT[0][0] = numerA; in intersectRay()
118 double numerA = ab0y * bxLen - byLen * ab0x; in intersect() local
121 if (between(0, numerA, denom) && between(0, numerB, denom)) { in intersect()
122 fT[0][0] = numerA / denom; in intersect()
/external/skqp/src/core/
DSkStroke.cpp897 SkScalar numerA = bLen.cross(ab0); in intersectRay() local
899 if ((numerA >= 0) == (numerB >= 0)) { // if the control point is outside the quad ends in intersectRay()
909 "(numerA=%g >= 0) == (numerB=%g >= 0)", numerA, numerB); in intersectRay()
913 numerA /= denom; in intersectRay()
914 bool validDivide = numerA > numerA - 1; in intersectRay()
920 ctrlPt->fX = start.fX * (1 - numerA) + quadPts->fTangentStart.fX * numerA; in intersectRay()
921 ctrlPt->fY = start.fY * (1 - numerA) + quadPts->fTangentStart.fY * numerA; in intersectRay()
924 "(numerA=%g >= 0) != (numerB=%g >= 0)", numerA, numerB); in intersectRay()
/external/skia/src/core/
DSkStroke.cpp893 SkScalar numerA = bLen.cross(ab0); in intersectRay() local
895 if ((numerA >= 0) == (numerB >= 0)) { // if the control point is outside the quad ends in intersectRay()
905 "(numerA=%g >= 0) == (numerB=%g >= 0)", numerA, numerB); in intersectRay()
909 numerA /= denom; in intersectRay()
910 bool validDivide = numerA > numerA - 1; in intersectRay()
916 ctrlPt->fX = start.fX * (1 - numerA) + quadPts->fTangentStart.fX * numerA; in intersectRay()
917 ctrlPt->fY = start.fY * (1 - numerA) + quadPts->fTangentStart.fY * numerA; in intersectRay()
920 "(numerA=%g >= 0) != (numerB=%g >= 0)", numerA, numerB); in intersectRay()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp464 SkScalar numerA = ab0.fY * perpRay.fX - perpRay.fY * ab0.fX; in IntersectSides() local
465 numerA /= denom; in IntersectSides()
466 SkPoint result = {parallelPt.fX + paraRay.fX * numerA, in IntersectSides()
467 parallelPt.fY + paraRay.fY * numerA}; in IntersectSides()