Lines Matching defs:curr
114 void join(const PathSegment& prev, const PathSegment& curr);
216 void SkPathStroker2::join(const PathSegment& prev, const PathSegment& curr) {
217 const auto miterJoin = [this](const PathSegment& prev, const PathSegment& curr) {
219 const SkPoint miterMidpt = curr.fPoints[0];
222 SkPoint after = unitNormal(curr, 0);
262 // 'alpha' is angle between prev tangent and the curr inwards normal
265 // This is the point at which the inside "corner" of curr at t=0 will lie on a
267 // this threshold, the inside corner of curr will "poke through" the start of prev,
272 // boundary of the curr segment. If len is below this threshold, the miter point
279 squaredLineLength(prev) < maxLenSqd || squaredLineLength(curr) < maxLenSqd;
295 miterJoin(prev, curr);
299 miterJoin(prev, curr);