mirror of
https://github.com/thorvg/thorvg.git
synced 2025-07-25 07:39:02 +00:00
SvgLoader: Fixing issues with a A/a command
Cmd 'A' from an svg path should not be connected with any other commands via the control points.
This commit is contained in:
parent
fa26aa7e7b
commit
b8138d56c0
1 changed files with 2 additions and 1 deletions
|
@ -437,7 +437,8 @@ static void _processCommand(vector<PathCommand>* cmds, vector<Point>* pts, char
|
|||
case 'a':
|
||||
case 'A': {
|
||||
_pathAppendArcTo(cmds, pts, cur, curCtl, arr[5], arr[6], arr[0], arr[1], arr[2], arr[3], arr[4]);
|
||||
*cur = {arr[5] ,arr[6]};
|
||||
*cur = *curCtl = {arr[5] ,arr[6]};
|
||||
*isQuadratic = false;
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
|
|
Loading…
Add table
Reference in a new issue