Commit 5727f42e authored by Tebjan Halm's avatar Tebjan Halm
Browse files

Merge pull request #234 from dittodhole/feature/SvgImage-GetImage-public

made SvgImage.GetImage public
parents 4ba5243e 53946725
......@@ -123,7 +123,7 @@ namespace Svg
if (Width.Value > 0.0f && Height.Value > 0.0f && this.Href != null)
{
var img = GetImage(this.Href);
var img = GetImage();
if (img != null)
{
RectangleF srcRect;
......@@ -232,7 +232,12 @@ namespace Svg
}
}
protected object GetImage(string uriString)
public object GetImage()
{
return this.GetImage(this.Href);
}
public object GetImage(string uriString)
{
string safeUriString;
if (uriString.Length > 65519)
......
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