Home | History | Annotate | Download | only in core

Lines Matching refs:normal

13 static void ButtCapper(SkPath* path, const SkPoint& pivot, const SkVector& normal,
18 static void RoundCapper(SkPath* path, const SkPoint& pivot, const SkVector& normal,
21 SkPointPriv::RotateCW(normal, &parallel);
25 path->conicTo(projectedCenter + normal, projectedCenter, SK_ScalarRoot2Over2);
26 path->conicTo(projectedCenter - normal, stop, SK_ScalarRoot2Over2);
29 static void SquareCapper(SkPath* path, const SkPoint& pivot, const SkVector& normal,
32 SkPointPriv::RotateCW(normal, &parallel);
35 path->setLastPt(pivot.fX + normal.fX + parallel.fX, pivot.fY + normal.fY + parallel.fY);
36 path->lineTo(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);
39 path->lineTo(pivot.fX - normal.fX + parallel.fX, pivot.fY - normal.fY + parallel.fY);
165 Note: we only need to check one normal if dot==0