Home
last modified time | relevance | path

Searched refs:nextLine (Results 1 – 2 of 2) sorted by relevance

/lvgl-latest/src/libs/thorvg/
DtvgLottieModifier.cpp102 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()
[all …]
DtvgLottieModifier.h71 …void corner(const Line& line, const Line& nextLine, uint32_t movetoIndex, bool nextClose, Array<Pa…