Lines Matching refs:normal
15 static void ButtCapper(SkPath* path, const SkPoint& pivot, const SkVector& normal,
20 static void RoundCapper(SkPath* path, const SkPoint& pivot, const SkVector& normal,
23 SkPointPriv::RotateCW(normal, ¶llel);
27 path->conicTo(projectedCenter + normal, projectedCenter, SK_ScalarRoot2Over2);
28 path->conicTo(projectedCenter - normal, stop, SK_ScalarRoot2Over2);
31 static void SquareCapper(SkPath* path, const SkPoint& pivot, const SkVector& normal,
34 SkPointPriv::RotateCW(normal, ¶llel);
37 path->setLastPt(pivot.fX + normal.fX + parallel.fX, pivot.fY + normal.fY + parallel.fY);
38 path->lineTo(pivot.fX - normal.fX + parallel.fX, pivot.fY - normal.fY + parallel.fY);
40 path->lineTo(pivot.fX + normal.fX + parallel.fX, pivot.fY + normal.fY + parallel.fY);
41 path->lineTo(pivot.fX - normal.fX + parallel.fX, pivot.fY - normal.fY + parallel.fY);
170 Note: we only need to check one normal if dot==0