Commit 88f9e289 authored by tebjan's avatar tebjan
Browse files

small improvements

parent c132ed53
Showing with 8 additions and 2 deletions
+8 -2
......@@ -16,7 +16,7 @@
<OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<SccProjectName>
</SccProjectName>
......
......@@ -107,7 +107,8 @@ namespace Svg
}
}
}
//if all checked, set parent
item._parent = this._owner;
}
}
......
......@@ -22,6 +22,11 @@ namespace Svg
r.Width = bounds.Width;
r.Height = bounds.Height;
}
public static RectangleF GetRectangle(this SvgRectangle r)
{
return new RectangleF(r.X, r.Y, r.Width, r.Height);
}
public static string GetXML(this SvgDocument doc)
{
......
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