Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
8 years ago
by
Tebjan Halm
Browse files
Options
Download
Plain Diff
Merge pull request #234 from dittodhole/feature/SvgImage-GetImage-public
made SvgImage.GetImage public
parents
4ba5243e
53946725
master
netstandard2
nuget2.4.2
nuget2.4.1
nuget2.4
nuget2.3
nuget2.2.2
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Source/Basic Shapes/SvgImage.cs
+7
-2
Source/Basic Shapes/SvgImage.cs
with
7 additions
and
2 deletions
+7
-2
Source/Basic Shapes/SvgImage.cs
+
7
-
2
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
)
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help