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.cpp926 SkScalar numerA = bLen.cross(ab0); in intersectRay() local
928 if ((numerA >= 0) == (numerB >= 0)) { // if the control point is outside the quad ends in intersectRay()
938 "(numerA=%g >= 0) == (numerB=%g >= 0)", numerA, numerB); in intersectRay()
942 numerA /= denom; in intersectRay()
943 bool validDivide = numerA > numerA - 1; in intersectRay()
949 ctrlPt->fX = start.fX * (1 - numerA) + quadPts->fTangentStart.fX * numerA; in intersectRay()
950 ctrlPt->fY = start.fY * (1 - numerA) + quadPts->fTangentStart.fY * numerA; in intersectRay()
953 "(numerA=%g >= 0) != (numerB=%g >= 0)", numerA, numerB); in intersectRay()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp512 SkScalar numerA = ab0.fY * perpRay.fX - perpRay.fY * ab0.fX; in IntersectSides() local
513 numerA /= denom; in IntersectSides()
514 SkPoint result = {parallelPt.fX + paraRay.fX * numerA, in IntersectSides()
515 parallelPt.fY + paraRay.fY * numerA}; in IntersectSides()