Lines Matching refs:after
62 static bool is_clockwise(const SkVector& before, const SkVector& after)
64 return SkScalarMul(before.fX, after.fY) - SkScalarMul(before.fY, after.fX) > 0;
85 static void HandleInnerJoin(SkPath* inner, const SkPoint& pivot, const SkVector& after)
97 inner->lineTo(pivot.fX - after.fX, pivot.fY - after.fY);
104 SkVector after;
105 afterUnitNormal.scale(radius, &after);
110 after.negate();
113 outer->lineTo(pivot.fX + after.fX, pivot.fY + after.fY);
114 HandleInnerJoin(inner, pivot, after);
128 SkVector after = afterUnitNormal;
131 if (!is_clockwise(before, after))
135 after.negate();
143 int count = SkBuildQuadArc(before, after, dir, &matrix, pts);
151 after.scale(radius);
152 HandleInnerJoin(inner, pivot, after);
171 SkVector after = afterUnitNormal;
184 ccw = !is_clockwise(before, after);
189 after.negate();
200 mid.set(SkScalarMul(before.fX + after.fX, radius),
201 SkScalarMul(before.fY + after.fY, radius));
223 mid.set(after.fY - before.fY, before.fX - after.fX);
228 mid.set(before.fX + after.fX, before.fY + after.fY);
238 after.scale(radius);
240 outer->lineTo(pivot.fX + after.fX, pivot.fY + after.fY);
241 HandleInnerJoin(inner, pivot, after);