Lines Matching refs:cmds

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()
438 cmds->push(PathCommand::CubicTo); in _processCommand()
453 cmds->push(PathCommand::LineTo); in _processCommand()
461 cmds->push(PathCommand::LineTo); in _processCommand()
468 cmds->push(PathCommand::Close); in _processCommand()
477 cmds->push(PathCommand::LineTo); in _processCommand()
481 …_pathAppendArcTo(cmds, pts, cur, curCtl, arr[5], arr[6], fabsf(arr[0]), fabsf(arr[1]), arr[2], arr… in _processCommand()
562 auto& cmds = P(shape)->rs.path.cmds; in svgPathToShape() local
563 auto lastCmds = cmds.count; in svgPathToShape()
569 …if (!_processCommand(&cmds, &pts, cmd, numberArray, numberCount, &cur, &curCtl, &startPoint, &isQu… in svgPathToShape()
572 if (cmds.count > lastCmds && cmds[lastCmds] != PathCommand::MoveTo) return false; in svgPathToShape()