Home | History | Annotate | Download | only in core

Lines Matching refs:after

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