Searched refs:sNumer (Results 1 – 4 of 4) sorted by relevance
/third_party/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 …]
|
/third_party/flutter/skia/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 …]
|
/third_party/skia/src/gpu/geometry/ |
D | GrTriangulator.cpp | 191 double sNumer = dy * v.fB + dx * v.fA; in recursive_edge_intersect() local 195 if (denom > 0.0 ? (sNumer < 0.0 || sNumer > denom || tNumer < 0.0 || tNumer > denom) in recursive_edge_intersect() 196 : (sNumer > 0.0 || sNumer < denom || tNumer > 0.0 || tNumer < denom)) { in recursive_edge_intersect() 200 *s = sNumer / denom; in recursive_edge_intersect()
|
/third_party/flutter/skia/src/gpu/ |
D | GrTessellator.cpp | 408 double sNumer = dy * other.fLine.fB + dx * other.fLine.fA; in intersect() local 412 if (denom > 0.0 ? (sNumer < 0.0 || sNumer > denom || tNumer < 0.0 || tNumer > denom) in intersect() 413 : (sNumer > 0.0 || sNumer < denom || tNumer > 0.0 || tNumer < denom)) { in intersect() 416 double s = sNumer / denom; in intersect()
|