Lines Matching refs:normal
15 static void ButtCapper(SkPath* path, const SkPoint& pivot, const SkVector& normal, in ButtCapper() argument
20 static void RoundCapper(SkPath* path, const SkPoint& pivot, const SkVector& normal, in RoundCapper() argument
23 SkPointPriv::RotateCW(normal, ¶llel); in RoundCapper()
27 path->conicTo(projectedCenter + normal, projectedCenter, SK_ScalarRoot2Over2); in RoundCapper()
28 path->conicTo(projectedCenter - normal, stop, SK_ScalarRoot2Over2); in RoundCapper()
31 static void SquareCapper(SkPath* path, const SkPoint& pivot, const SkVector& normal, in SquareCapper() argument
34 SkPointPriv::RotateCW(normal, ¶llel); in SquareCapper()
37 path->setLastPt(pivot.fX + normal.fX + parallel.fX, pivot.fY + normal.fY + parallel.fY); in SquareCapper()
38 path->lineTo(pivot.fX - normal.fX + parallel.fX, pivot.fY - normal.fY + parallel.fY); in SquareCapper()
40 path->lineTo(pivot.fX + normal.fX + parallel.fX, pivot.fY + normal.fY + parallel.fY); in SquareCapper()
41 path->lineTo(pivot.fX - normal.fX + parallel.fX, pivot.fY - normal.fY + parallel.fY); in SquareCapper()