Commit e3c7fbea authored by ubbn's avatar ubbn
Browse files

Fix #55 : Call Path in a SVG with an empty content element causes an...

Fix #55 : Call Path in a SVG with an empty content element causes an InvalidArgumentException[updated]
parent 2d6d72e7
......@@ -783,7 +783,7 @@ namespace Svg
{
var childPath = ((SvgVisualElement)child).Path(renderer);
if (childPath != null)
if (childPath != null && childPath.PointCount > 0)
{
childPath = (GraphicsPath)childPath.Clone();
if(child.Transforms != null)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment