Searched refs:sNumer (Results 1 – 4 of 4) sorted by relevance
/external/skqp/src/utils/ |
D | SkPolyUtils.cpp | 92 SkScalar sNumer, tNumer; in compute_intersection() local 120 sNumer = 0; in compute_intersection() 123 sNumer = v0.dot(w); in compute_intersection() 126 if (outside_interval(sNumer, denom, true)) { in compute_intersection() 134 SkScalar oldSNumer = sNumer; in compute_intersection() 135 sNumer = v0.dot(w + v1); in compute_intersection() 137 if (outside_interval(sNumer, denom, true)) { in compute_intersection() 140 if (sNumer*oldSNumer > 0) { in compute_intersection() 144 sNumer = 0; in compute_intersection() 151 sNumer = w.cross(v1); in compute_intersection() [all …]
|
/external/skia/src/utils/ |
D | SkPolyUtils.cpp | 99 SkScalar sNumer, tNumer; in compute_intersection() local 130 sNumer = 0; in compute_intersection() 133 sNumer = v0.dot(w); in compute_intersection() 136 if (outside_interval(sNumer, denom, true)) { in compute_intersection() 145 SkScalar oldSNumer = sNumer; in compute_intersection() 146 sNumer = v0.dot(w + v1); in compute_intersection() 148 if (outside_interval(sNumer, denom, true)) { in compute_intersection() 151 if (sNumer*oldSNumer > 0) { in compute_intersection() 155 sNumer = 0; in compute_intersection() 162 sNumer = w.cross(v1); in compute_intersection() [all …]
|
/external/skia/src/gpu/ |
D | GrTriangulator.cpp | 164 double sNumer = dy * other.fLine.fB + dx * other.fLine.fA; in intersect() local 168 if (denom > 0.0 ? (sNumer < 0.0 || sNumer > denom || tNumer < 0.0 || tNumer > denom) in intersect() 169 : (sNumer > 0.0 || sNumer < denom || tNumer > 0.0 || tNumer < denom)) { in intersect() 172 double s = sNumer / denom; in intersect()
|
/external/skqp/src/gpu/ |
D | GrTessellator.cpp | 411 double sNumer = dy * other.fLine.fB + dx * other.fLine.fA; in intersect() local 415 if (denom > 0.0 ? (sNumer < 0.0 || sNumer > denom || tNumer < 0.0 || tNumer > denom) in intersect() 416 : (sNumer > 0.0 || sNumer < denom || tNumer > 0.0 || tNumer < denom)) { in intersect() 419 double s = sNumer / denom; in intersect()
|