Use new Graphics2D.Render(IVertexSource) signature
This commit is contained in:
parent
dc1158964b
commit
57041c235c
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue