Lines Matching defs:prev
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) {
221 SkPoint before = unitNormal(prev, 1);
257 // Inner miter is more involved. We're already at t=1 (on inside stroke) of 'prev'.
262 // 'alpha' is angle between prev tangent and the curr inwards normal
266 // line connecting the inner and outer corners of prev at t=0. If len is below
267 // this threshold, the inside corner of curr will "poke through" the start of prev,
279 squaredLineLength(prev) < maxLenSqd || squaredLineLength(curr) < maxLenSqd;
295 miterJoin(prev, curr);
299 miterJoin(prev, curr);