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

small improvements

parent c132ed53
......@@ -16,7 +16,7 @@
<OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<SccProjectName>
</SccProjectName>
......
......@@ -108,6 +108,7 @@ namespace Svg
}
}
//if all checked, set parent
item._parent = this._owner;
}
}
......
......@@ -23,6 +23,11 @@ namespace Svg
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)
{
var ret = "";
......
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