Skip to content

Commit

Permalink
Update SKPaintUtil.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
wieslawsoltes committed Jan 13, 2020
1 parent c250ef7 commit 43cf402
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/Svg.Skia/SKPaintUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -833,11 +833,6 @@ public static bool IsValidStroke(SvgElement svgElement, SKRect skBounds)
return null;
}

if (svgVisualElement.Filter != null)
{
SetFilter(svgVisualElement, skPaint, disposable);
}

disposable.Add(skPaint);
return skPaint;
}
Expand All @@ -857,12 +852,6 @@ public static bool IsValidStroke(SvgElement svgElement, SKRect skBounds)
return null;
}

var filter = svgVisualElement.Filter;
if (filter != null)
{
SetFilter(svgVisualElement, skPaint, disposable);
}

switch (svgVisualElement.StrokeLineCap)
{
case SvgStrokeLineCap.Butt:
Expand Down

0 comments on commit 43cf402

Please sign in to comment.