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
2261cfdb
Commit
2261cfdb
authored
Jul 02, 2014
by
Eric Domke
Browse files
Fixing Build Errors
parent
b4e8b183
Changes
3
Show whitespace changes
Inline
Side-by-side
Source/DataTypes/SvgAspectRatioConverter.cs
View file @
2261cfdb
...
...
@@ -4,7 +4,6 @@ using System.ComponentModel;
using
System.Globalization
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
Svg.DataTypes
{
...
...
@@ -38,8 +37,13 @@ namespace Svg.DataTypes
throw
new
ArgumentOutOfRangeException
(
"value is not a member of SvgPreserveAspectRatio"
);
}
#if Net4
if
(!
Enum
.
TryParse
<
SvgPreserveAspectRatio
>(
sParts
[
nAlignIndex
],
out
eAlign
))
throw
new
ArgumentOutOfRangeException
(
"value is not a member of SvgPreserveAspectRatio"
);
#else
eAlign
=
(
SvgPreserveAspectRatio
)
Enum
.
Parse
(
typeof
(
SvgPreserveAspectRatio
),
sParts
[
nAlignIndex
]);
#endif
nAlignIndex
++;
if
(
sParts
.
Length
>
nAlignIndex
)
...
...
Source/DataTypes/SvgOrient.cs
View file @
2261cfdb
using
Svg.DataTypes
;
using
System.ComponentModel
;
using
System
;
namespace
Svg
{
...
...
Source/Painting/SvgMarker.cs
View file @
2261cfdb
...
...
@@ -85,13 +85,6 @@ namespace Svg
set
{
this
.
Attributes
[
"markerHeight"
]
=
value
;
}
}
[
SvgAttribute
(
"markerUnits"
)]
public
virtual
SvgMarkerUnits
MarkerUnits
{
get
{
return
this
.
Attributes
.
GetAttribute
<
SvgMarkerUnits
>(
"markerUnits"
);
}
set
{
this
.
Attributes
[
"markerUnits"
]
=
value
;
}
}
public
SvgMarker
()
{
MarkerUnits
=
SvgMarkerUnits
.
strokeWidth
;
...
...
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