Lines Matching refs:unitBC
342 SkVector unitBC = pts[2] - pts[1];
343 unitBC.normalize();
344 unitBC.rotateCCW();
346 normalB = unitNormalAB + unitBC;
347 normalC = *unitNormalCD + unitBC;
349 SkScalar dot = SkPoint::DotProduct(unitNormalAB, unitBC);
352 dot = SkPoint::DotProduct(*unitNormalCD, unitBC);
377 SkVector normalAB, unitAB, normalBC, unitBC;
388 unitBC.setNormalize(pts[2].fX - pts[1].fX, pts[2].fY - pts[1].fY);
389 unitBC.rotateCCW();
390 if (normals_too_pinchy(unitAB, unitBC)) {
391 normalBC = unitBC;
405 this->quad_to(&tmp[0], normalAB, unitAB, &normalBC, &unitBC,
408 SkVector u = unitBC;
409 this->quad_to(&tmp[2], n, u, &normalBC, &unitBC,
413 this->quad_to(pts, normalAB, unitAB, &normalBC, &unitBC,
418 this->postJoinTo(pt2, normalBC, unitBC);