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
88f9e289
Commit
88f9e289
authored
11 years ago
by
tebjan
Browse files
Options
Download
Email Patches
Plain Diff
small improvements
parent
c132ed53
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Source/Svg.csproj
+1
-1
Source/Svg.csproj
Source/SvgElementCollection.cs
+2
-1
Source/SvgElementCollection.cs
Source/SvgExtentions.cs
+5
-0
Source/SvgExtentions.cs
with
8 additions
and
2 deletions
+8
-2
Source/Svg.csproj
+
1
-
1
View file @
88f9e289
...
...
@@ -16,7 +16,7 @@
<OldToolsVersion>
3.5
</OldToolsVersion>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<TargetFrameworkVersion>
v
3.5
</TargetFrameworkVersion>
<TargetFrameworkVersion>
v
4.0
</TargetFrameworkVersion>
<IsWebBootstrapper>
false
</IsWebBootstrapper>
<SccProjectName>
</SccProjectName>
...
...
This diff is collapsed.
Click to expand it.
Source/SvgElementCollection.cs
+
2
-
1
View file @
88f9e289
...
...
@@ -107,7 +107,8 @@ namespace Svg
}
}
}
//if all checked, set parent
item
.
_parent
=
this
.
_owner
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Source/SvgExtentions.cs
+
5
-
0
View file @
88f9e289
...
...
@@ -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
)
{
...
...
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