Use new Graphics2D.Render(IVertexSource) signature

This commit is contained in:
John Lewin 2018-08-14 17:21:44 -07:00
parent dc1158964b
commit 57041c235c
2 changed files with 2 additions and 2 deletions

View file

@ -164,7 +164,7 @@ namespace MatterHackers.GCodeVisualizer
pathStorage.Add(start.x, start.y, ShapePath.FlagsAndCommand.MoveTo);
pathStorage.Add(end.x, end.y, ShapePath.FlagsAndCommand.LineTo);
graphics2D.Render(stroke, 0, extrusionColor);
graphics2D.Render(stroke, extrusionColor);
}
}
}

View file

@ -130,7 +130,7 @@ namespace MatterHackers.GCodeVisualizer
pathStorage.Add(end.x + .01, end.y, ShapePath.FlagsAndCommand.LineTo);
}
graphics2D.Render(stroke, 0, movementColor);
graphics2D.Render(stroke, movementColor);
}
}
}