projects
/
platform
/
core
/
graphics
/
tizenvg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c191aa2
)
SvgLoader: Fixing issues with a A/a command
author
Mira Grudzinska
<m.grudzinska@samsung.com>
Thu, 10 Sep 2020 11:48:06 +0000
(13:48 +0200)
committer
Hermet Park
<chuneon.park@samsung.com>
Mon, 14 Sep 2020 05:07:02 +0000
(14:07 +0900)
Cmd 'A' from an svg path should not be connected with any other commands via the control points.
Change-Id: I3ef798693660263f16a74d9f068b341f78ecee6e
src/loaders/svg/tvgSvgPath.cpp
patch
|
blob
|
history
diff --git
a/src/loaders/svg/tvgSvgPath.cpp
b/src/loaders/svg/tvgSvgPath.cpp
index
84850ea
..
2e3edab
100644
(file)
--- a/
src/loaders/svg/tvgSvgPath.cpp
+++ b/
src/loaders/svg/tvgSvgPath.cpp
@@
-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: {