• Home
  • Raw
  • Download

Lines Matching refs:pivot

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
25 SkPoint projectedCenter = pivot + parallel; in RoundCapper()
31 static void SquareCapper(SkPath* path, const SkPoint& pivot, const SkVector& normal, in SquareCapper() argument
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()
70 static void HandleInnerJoin(SkPath* inner, const SkPoint& pivot, const SkVector& after) { in HandleInnerJoin() argument
78 inner->lineTo(pivot.fX, pivot.fY); in HandleInnerJoin()
81 inner->lineTo(pivot.fX - after.fX, pivot.fY - after.fY); in HandleInnerJoin()
85 const SkPoint& pivot, const SkVector& afterUnitNormal, in BluntJoiner() argument
96 outer->lineTo(pivot.fX + after.fX, pivot.fY + after.fY); in BluntJoiner()
97 HandleInnerJoin(inner, pivot, after); in BluntJoiner()
101 const SkPoint& pivot, const SkVector& afterUnitNormal, in RoundJoiner() argument
123 matrix.postTranslate(pivot.fX, pivot.fY); in RoundJoiner()
131 HandleInnerJoin(inner, pivot, after); in RoundJoiner()
138 const SkPoint& pivot, const SkVector& afterUnitNormal, in MiterJoiner() argument
204 outer->setLastPt(pivot.fX + mid.fX, pivot.fY + mid.fY); in MiterJoiner()
206 outer->lineTo(pivot.fX + mid.fX, pivot.fY + mid.fY); in MiterJoiner()
212 outer->lineTo(pivot.fX + after.fX, pivot.fY + after.fY); in MiterJoiner()
214 HandleInnerJoin(inner, pivot, after); in MiterJoiner()