Lines Matching refs:after
56 static bool is_clockwise(const SkVector& before, const SkVector& after) in is_clockwise() argument
58 return SkScalarMul(before.fX, after.fY) - SkScalarMul(before.fY, after.fX) > 0; in is_clockwise()
79 static void HandleInnerJoin(SkPath* inner, const SkPoint& pivot, const SkVector& after) in HandleInnerJoin() argument
91 inner->lineTo(pivot.fX - after.fX, pivot.fY - after.fY); in HandleInnerJoin()
98 SkVector after; in BluntJoiner() local
99 afterUnitNormal.scale(radius, &after); in BluntJoiner()
104 after.negate(); in BluntJoiner()
107 outer->lineTo(pivot.fX + after.fX, pivot.fY + after.fY); in BluntJoiner()
108 HandleInnerJoin(inner, pivot, after); in BluntJoiner()
122 SkVector after = afterUnitNormal; in RoundJoiner() local
125 if (!is_clockwise(before, after)) in RoundJoiner()
129 after.negate(); in RoundJoiner()
137 int count = SkConic::BuildUnitArc(before, after, dir, &matrix, conics); in RoundJoiner()
142 after.scale(radius); in RoundJoiner()
143 HandleInnerJoin(inner, pivot, after); in RoundJoiner()
158 SkVector after = afterUnitNormal; in MiterJoiner() local
171 ccw = !is_clockwise(before, after); in MiterJoiner()
176 after.negate(); in MiterJoiner()
187 mid.set(SkScalarMul(before.fX + after.fX, radius), in MiterJoiner()
188 SkScalarMul(before.fY + after.fY, radius)); in MiterJoiner()
210 mid.set(after.fY - before.fY, before.fX - after.fX); in MiterJoiner()
215 mid.set(before.fX + after.fX, before.fY + after.fY); in MiterJoiner()
225 after.scale(radius); in MiterJoiner()
227 outer->lineTo(pivot.fX + after.fX, pivot.fY + after.fY); in MiterJoiner()
228 HandleInnerJoin(inner, pivot, after); in MiterJoiner()