Lines Matching refs:nextLine
102 void LottieOffsetModifier::corner(const Line& line, const Line& nextLine, uint32_t movetoOutIndex, … in corner() argument
106 if (_intersect(line, nextLine, intersect, inside)) { in corner()
115 outPts.push((nextLine.pt1 + intersect) * 0.5f); in corner()
116 outPts.push(nextLine.pt1); in corner()
119 auto nextNorm = normal(nextLine.pt1, nextLine.pt2); in corner()
123 else outPts.push(nextLine.pt1); in corner()
126 outPts.push(nextLine.pt1); in corner()
162 Line nextLine = state.firstLine; in line() local
163 …if (inCmds[currentCmd + 1] == PathCommand::LineTo) nextLine = _offset(inPts[currentPt + degenerate… in line()
164 …else if (inCmds[currentCmd + 1] == PathCommand::CubicTo) nextLine = _offset(inPts[currentPt + 1 + … in line()
166 …nextLine = _offset(inPts[currentPt + degenerated], inPts[state.movetoInIndex + degenerated], offse… in line()
168 …corner(state.line, nextLine, state.movetoOutIndex, inCmds[currentCmd + 1] == PathCommand::Close, o… in line()
170 state.line = nextLine; in line()