/lvgl-latest/src/libs/thorvg/ |
D | tvgSvgPath.cpp | 103 void _pathAppendArcTo(Array<PathCommand>* cmds, Array<Point>* pts, Point* cur, Point* curCtl, float… in _pathAppendArcTo() argument 251 cmds->push(PathCommand::CubicTo); in _pathAppendArcTo() 317 static bool _processCommand(Array<PathCommand>* cmds, Array<Point>* pts, char cmd, float* arr, int … in _processCommand() argument 354 cmds->push(PathCommand::MoveTo); in _processCommand() 363 cmds->push(PathCommand::LineTo); in _processCommand() 371 cmds->push(PathCommand::CubicTo); in _processCommand() 386 if ((cmds->count > 1) && (cmds->last() == PathCommand::CubicTo) && in _processCommand() 393 cmds->push(PathCommand::CubicTo); in _processCommand() 412 cmds->push(PathCommand::CubicTo); in _processCommand() 427 if ((cmds->count > 1) && (cmds->last() == PathCommand::CubicTo) && in _processCommand() [all …]
|
D | tvgShape.h | 161 rs.path.cmds.reserve(cmdCnt); in reserveCmd() 171 rs.path.cmds.grow(cmdCnt); in grow() 175 void append(const PathCommand* cmds, uint32_t cmdCnt, const Point* pts, uint32_t ptsCnt) in append() 177 memcpy(rs.path.cmds.end(), cmds, sizeof(PathCommand) * cmdCnt); in append() 179 rs.path.cmds.count += cmdCnt; in append() 185 rs.path.cmds.push(PathCommand::MoveTo); in moveTo() 191 rs.path.cmds.push(PathCommand::LineTo); in lineTo() 197 rs.path.cmds.push(PathCommand::CubicTo); in cubicTo() 206 if (rs.path.cmds.count > 0 && rs.path.cmds.last() == PathCommand::Close) return; in close() 208 rs.path.cmds.push(PathCommand::Close); in close() [all …]
|
D | tvgSwShape.cpp | 280 const PathCommand* cmds = rshape->path.cmds.data + shiftCmds; in _outlineLength() local 281 auto cmdCnt = rshape->path.cmds.count - shiftCmds; in _outlineLength() 292 if (cmds[0] == PathCommand::MoveTo) { in _outlineLength() 294 cmds++; in _outlineLength() 300 switch (*cmds) { in _outlineLength() 323 ++cmds; in _outlineLength() 331 const PathCommand* cmds = rshape->path.cmds.data; in _genDashOutline() local 332 auto cmdCnt = rshape->path.cmds.count; in _genDashOutline() 340 auto startCmds = cmds; in _genDashOutline() 378 if (cmds[0] == PathCommand::MoveTo) { in _genDashOutline() [all …]
|
D | tvgLottieProperty.h | 178 inCmds.data = pathset->cmds; in _copy() 367 free(value.cmds); in release() 373 free((*p).value.cmds); in release() 414 …bool operator()(float frameNo, Array<PathCommand>& cmds, Array<Point>& pts, Matrix* transform, con… in operator() 443 … roundness->modifyPath(path->cmds, path->cmdsCnt, path->pts, path->ptsCnt, cmds1, pts1, transform); in operator() 444 … return offsetPath->modifyPath(cmds1.data, cmds1.count, pts1.data, pts1.count, cmds, pts); in operator() 446 …return roundness->modifyPath(path->cmds, path->cmdsCnt, path->pts, path->ptsCnt, cmds, pts, transf… in operator() 448 …f (offsetPath) return offsetPath->modifyPath(path->cmds, path->cmdsCnt, path->pts, path->ptsCnt, c… in operator() 450 _copy(path, cmds); in operator() 464 _copy(&frame->value, cmds); in operator() [all …]
|
D | tvgShape.cpp | 69 pImpl->rs.path.cmds.clear(); in reset() 78 uint32_t Shape::pathCommands(const PathCommand** cmds) const noexcept in pathCommands() 80 if (cmds) *cmds = pImpl->rs.path.cmds.data; in pathCommands() 81 return pImpl->rs.path.cmds.count; in pathCommands() 92 Result Shape::appendPath(const PathCommand *cmds, uint32_t cmdCnt, const Point* pts, uint32_t ptsCn… in appendPath() argument 94 if (cmdCnt == 0 || ptsCnt == 0 || !cmds || !pts) return Result::InvalidArguments; in appendPath() 97 pImpl->append(cmds, cmdCnt, pts, ptsCnt); in appendPath()
|
D | tvgLottieModifier.h | 70 … uint32_t currentCmd, State& state, bool degenerated, Array<PathCommand>& cmds, Array<Point>& pts,… 71 …Line& nextLine, uint32_t movetoIndex, bool nextClose, Array<PathCommand>& cmds, Array<Point>& pts)…
|
D | tvgLottieBuilder.cpp | 413 …if (offsetPath) offsetPath->modifyRect(commands, 5, points, 4, P(shape)->rs.path.cmds, P(shape)->r… in _appendRect() 466 …ffsetPath->modifyRect(commands, cmdCnt, points, ptsCnt, P(shape)->rs.path.cmds, P(shape)->rs.path.… in _appendRect() 565 …path->pathset(frameNo, P(shape)->rs.path.cmds, P(shape)->rs.path.pts, ctx->transform, ctx->roundne… in updatePath() 569 …if (path->pathset(frameNo, P(ctx->merging)->rs.path.cmds, P(ctx->merging)->rs.path.pts, ctx->trans… in updatePath() 624 P(shape)->rs.path.cmds.reserve(numPoints + 3); in _updateStar() 627 P(shape)->rs.path.cmds.reserve(numPoints + 3); in _updateStar() 695 …roundness->modifyPolystar(P(shape)->rs.path.cmds, P(shape)->rs.path.pts, P(intermediate)->rs.path.… in _updateStar() 696 …Path->modifyPolystar(P(intermediate)->rs.path.cmds, P(intermediate)->rs.path.pts, P(merging)->rs.p… in _updateStar() 698 …roundness->modifyPolystar(P(shape)->rs.path.cmds, P(shape)->rs.path.pts, P(merging)->rs.path.cmds,… in _updateStar() 700 …ath) offsetPath->modifyPolystar(P(shape)->rs.path.cmds, P(shape)->rs.path.pts, P(merging)->rs.path… in _updateStar() [all …]
|
D | tvgLottieExpressions.h | 118 …bool result(float frameNo, Array<PathCommand>& cmds, Array<Point>& pts, Matrix* transform, const L… in result() 124 (*pathset)(frameNo, cmds, pts, transform, roundness, offsetPath); in result()
|
D | tvgLottieCommon.h | 36 PathCommand* cmds = nullptr; member
|
D | tvgCapi.cpp | 336 TVG_API Tvg_Result tvg_shape_append_path(Tvg_Paint* paint, const Tvg_Path_Command* cmds, uint32_t c… in tvg_shape_append_path() argument 339 …return (Tvg_Result) reinterpret_cast<Shape*>(paint)->appendPath((const PathCommand*)cmds, cmdCnt, … in tvg_shape_append_path() 351 …t tvg_shape_get_path_commands(const Tvg_Paint* paint, const Tvg_Path_Command** cmds, uint32_t* cnt) in tvg_shape_get_path_commands() argument 353 if (!paint || !cmds || !cnt) return TVG_RESULT_INVALID_ARGUMENT; in tvg_shape_get_path_commands() 354 *cnt = reinterpret_cast<const Shape*>(paint)->pathCommands((const PathCommand**)cmds); in tvg_shape_get_path_commands()
|
D | tvgLottieModifier.cpp | 33 static void _roundCorner(Array<PathCommand>& cmds, Array<Point>& pts, const Point& prev, const Poin… in _roundCorner() argument 47 cmds.push(PathCommand::LineTo); in _roundCorner() 48 cmds.push(PathCommand::CubicTo); in _roundCorner()
|
D | thorvg_capi.h | 1260 TVG_API Tvg_Result tvg_shape_append_path(Tvg_Paint* paint, const Tvg_Path_Command* cmds, uint32_t c… 1310 … tvg_shape_get_path_commands(const Tvg_Paint* paint, const Tvg_Path_Command** cmds, uint32_t* cnt);
|
D | thorvg.h | 992 …Result appendPath(const PathCommand* cmds, uint32_t cmdCnt, const Point* pts, uint32_t ptsCnt) noe… 1126 uint32_t pathCommands(const PathCommand** cmds) const noexcept;
|
D | tvgRender.h | 187 Array<PathCommand> cmds; member
|
D | tvgLottieParser.cpp | 221 outCmds.data = path.cmds; in getValue() 247 path.cmds = outCmds.data; in getValue()
|