You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: FreeFrame/Components/Shapes/SVGPath.cs
+1-6Lines changed: 1 addition & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -81,9 +81,6 @@ public SVGPath(XmlReader reader)
81
81
case't':
82
82
DrawAttributes.Add(newSmoothQuadraticBezierCurveTo(match.Groups[1],match.Groups[2],c=='t'));// 't' is relative and 'T' absolute
83
83
break;
84
-
case'a':
85
-
DrawAttributes.Add(newEllipticalArc(match.Groups[1],match.Groups[2],match.Groups[3],match.Groups[4],match.Groups[5],match.Groups[6],match.Groups[7],c=='a'));// 'a' is relative and 'A' absolute
86
-
break;
87
84
case'z':
88
85
DrawAttributes.Add(newLineTo(_x0,_y0));
89
86
break;
@@ -158,7 +155,6 @@ public override void Move(Vector2i position)
158
155
TypeattrType=attr.GetType();
159
156
if(attr.IsRelative==false)// Update position of each absolute attr
160
157
{
161
-
//Console.WriteLine("{0} is relative? =>{1}", attr.GetType().Name, attr.IsRelative);
162
158
if(deltaX==null||deltaY==null)
163
159
{
164
160
// Get delta X and Y only one time
@@ -185,8 +181,7 @@ public override void Move(Vector2i position)
185
181
if(attrType==typeof(CurveTo)||
186
182
attrType==typeof(SmoothCurveTo)||
187
183
attrType==typeof(QuadraticBezierCurveTo)||
188
-
attrType==typeof(SmoothQuadraticBezierCurveTo)||
189
-
attrType==typeof(EllipticalArc))// Only thoses are LineStrip type
184
+
attrType==typeof(SmoothQuadraticBezierCurveTo))// Only thoses are LineStrip type
0 commit comments