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
35d0e857
Commit
35d0e857
authored
Mar 13, 2017
by
Tebjan Halm
Committed by
GitHub
Mar 13, 2017
Browse files
Merge pull request #296 from mrbean-bremen/path-regression
Reverted unneeded part of previous fix
parents
8ad92e3a
c1470c67
Changes
2
Hide whitespace changes
Inline
Side-by-side
Source/Paths/SvgLineSegment.cs
View file @
35d0e857
...
...
@@ -15,10 +15,7 @@ namespace Svg.Pathing
public
override
void
AddToPath
(
System
.
Drawing
.
Drawing2D
.
GraphicsPath
graphicsPath
)
{
if
(
this
.
Start
!=
this
.
End
)
{
graphicsPath
.
AddLine
(
this
.
Start
,
this
.
End
);
}
graphicsPath
.
AddLine
(
this
.
Start
,
this
.
End
);
}
public
override
string
ToString
()
...
...
Source/Paths/SvgMoveToSegment.cs
View file @
35d0e857
...
...
@@ -15,10 +15,7 @@ namespace Svg.Pathing
public
override
void
AddToPath
(
System
.
Drawing
.
Drawing2D
.
GraphicsPath
graphicsPath
)
{
if
(
this
.
Start
!=
this
.
End
)
{
graphicsPath
.
StartFigure
();
}
graphicsPath
.
StartFigure
();
}
public
override
string
ToString
()
...
...
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