Commit dfac122
MGG-1402 [#ccc] svgpathtools:bugfix: Skip the end path in a polyline if no dedicated end path is provided
References: MGG-1402, MGG-1448
Introduce an 'is_polygon' flag in 'polygon2pathd' function to handle the end path in polyline and polygon
if path string or is_polygon flag is enableed then append path given in input
if path string and is_polygon flag is enable then append 'z' path
Signed-off-by: Harikrushna Parmar <harikrushna.parmar@nxp.com>1 parent 5a863dc commit dfac122
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
| 233 | + | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| |||
0 commit comments