Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ImportedProjects
SVG
Commits
5727f42e
Commit
5727f42e
authored
May 25, 2016
by
Tebjan Halm
Browse files
Merge pull request #234 from dittodhole/feature/SvgImage-GetImage-public
made SvgImage.GetImage public
parents
4ba5243e
53946725
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/Basic Shapes/SvgImage.cs
View file @
5727f42e
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment