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
88f9e289
Commit
88f9e289
authored
Mar 08, 2014
by
tebjan
Browse files
small improvements
parent
c132ed53
Changes
3
Hide whitespace changes
Inline
Side-by-side
Source/Svg.csproj
View file @
88f9e289
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<OldToolsVersion>
3.5
</OldToolsVersion>
<OldToolsVersion>
3.5
</OldToolsVersion>
<UpgradeBackupLocation>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
</UpgradeBackupLocation>
<TargetFrameworkVersion>
v
3.5
</TargetFrameworkVersion>
<TargetFrameworkVersion>
v
4.0
</TargetFrameworkVersion>
<IsWebBootstrapper>
false
</IsWebBootstrapper>
<IsWebBootstrapper>
false
</IsWebBootstrapper>
<SccProjectName>
<SccProjectName>
</SccProjectName>
</SccProjectName>
...
...
Source/SvgElementCollection.cs
View file @
88f9e289
...
@@ -107,7 +107,8 @@ namespace Svg
...
@@ -107,7 +107,8 @@ namespace Svg
}
}
}
}
}
}
//if all checked, set parent
item
.
_parent
=
this
.
_owner
;
item
.
_parent
=
this
.
_owner
;
}
}
}
}
...
...
Source/SvgExtentions.cs
View file @
88f9e289
...
@@ -22,6 +22,11 @@ namespace Svg
...
@@ -22,6 +22,11 @@ namespace Svg
r
.
Width
=
bounds
.
Width
;
r
.
Width
=
bounds
.
Width
;
r
.
Height
=
bounds
.
Height
;
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
)
public
static
string
GetXML
(
this
SvgDocument
doc
)
{
{
...
...
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