Lines Matching refs:cmd
271 static int _numberCount(char cmd) in _numberCount() argument
274 switch (cmd) { in _numberCount()
317 static bool _processCommand(Array<PathCommand>* cmds, Array<Point>* pts, char cmd, float* arr, int … in _processCommand() argument
319 switch (cmd) { in _processCommand()
350 switch (cmd) { in _processCommand()
495 static char* _nextCommand(char* path, char* cmd, float* arr, int* count, bool* closed) in _nextCommand() argument
501 *cmd = *path; in _nextCommand()
503 *count = _numberCount(*cmd); in _nextCommand()
505 if (*cmd == 'm') *cmd = 'l'; in _nextCommand()
506 else if (*cmd == 'M') *cmd = 'L'; in _nextCommand()
556 char cmd = 0; in svgPathToShape() local
566 path = _nextCommand(path, &cmd, numberArray, &numberCount, &closed); in svgPathToShape()
569 …if (!_processCommand(&cmds, &pts, cmd, numberArray, numberCount, &cur, &curCtl, &startPoint, &isQu… in svgPathToShape()