Lines Matching defs:alphaL
114 // Calculate alphaL that provides the intersection point along (l0-l1), e.g. l0+alphaL*(l1-l0)
115 double alphaL = lNumerator / lDenom;
116 if (alphaL < 0.0 || alphaL > 1.0) {
121 // Calculate alphaP from the valid alphaL (since it could be outside p segment)
122 // double alphaP = (alphaL * l.fY - pl.fY) / p.fY;
123 double alphaP = (alphaL * lY - plY) / pY;
130 *intersect = l1 * SkScalar(alphaL) + l0 * SkScalar(1.0 - alphaL);