diff --git a/MatterControl.OpenGL/GCodeRenderer/RenderFeatures/RenderFeatureExtrusion.cs b/MatterControl.OpenGL/GCodeRenderer/RenderFeatures/RenderFeatureExtrusion.cs index 6379d29d2..cca6a23a5 100644 --- a/MatterControl.OpenGL/GCodeRenderer/RenderFeatures/RenderFeatureExtrusion.cs +++ b/MatterControl.OpenGL/GCodeRenderer/RenderFeatures/RenderFeatureExtrusion.cs @@ -157,8 +157,8 @@ namespace MatterHackers.GCodeVisualizer VertexSourceApplyTransform transformedPathStorage = new VertexSourceApplyTransform(pathStorage, renderInfo.Transform); Stroke stroke = new Stroke(transformedPathStorage, extrusionLineWidths / 2); - stroke.line_cap(LineCap.Round); - stroke.line_join(LineJoin.Round); + stroke.LineCap = LineCap.Round; + stroke.LineJoin = LineJoin.Round; Vector3Float start = this.GetStart(renderInfo); Vector3Float end = this.GetEnd(renderInfo); diff --git a/MatterControl.OpenGL/GCodeRenderer/RenderFeatures/RenderFeatureTravel.cs b/MatterControl.OpenGL/GCodeRenderer/RenderFeatures/RenderFeatureTravel.cs index babcbc3d7..a6575f7f6 100644 --- a/MatterControl.OpenGL/GCodeRenderer/RenderFeatures/RenderFeatureTravel.cs +++ b/MatterControl.OpenGL/GCodeRenderer/RenderFeatures/RenderFeatureTravel.cs @@ -101,8 +101,8 @@ namespace MatterHackers.GCodeVisualizer VertexSourceApplyTransform transformedPathStorage = new VertexSourceApplyTransform(pathStorage, renderInfo.Transform); Stroke stroke = new Stroke(transformedPathStorage, movementLineWidth); - stroke.line_cap(LineCap.Round); - stroke.line_join(LineJoin.Round); + stroke.LineCap = LineCap.Round; + stroke.LineJoin = LineJoin.Round; Vector3Float start = this.GetStart(renderInfo); Vector3Float end = this.GetEnd(renderInfo); diff --git a/MatterControlLib/CustomWidgets/PrintingWindow/ProgressDial.cs b/MatterControlLib/CustomWidgets/PrintingWindow/ProgressDial.cs index b0e912944..98a54bf95 100644 --- a/MatterControlLib/CustomWidgets/PrintingWindow/ProgressDial.cs +++ b/MatterControlLib/CustomWidgets/PrintingWindow/ProgressDial.cs @@ -180,7 +180,7 @@ namespace MatterHackers.MatterControl.CustomWidgets Arc.Direction.CounterClockWise); var arcStroke = new Stroke(ringArc); - arcStroke.width(outerRingStrokeWidth); + arcStroke.Width = outerRingStrokeWidth; graphics2D.Render( arcStroke.Rotate(90, AngleType.Degrees).Translate(bounds.Center), primaryAccentShade); @@ -193,7 +193,7 @@ namespace MatterHackers.MatterControl.CustomWidgets 0, Arc.Direction.CounterClockWise); arcStroke = new Stroke(ringArc); - arcStroke.width(innerRingStrokeWidth); + arcStroke.Width = innerRingStrokeWidth; graphics2D.Render( arcStroke.Rotate(90, AngleType.Degrees).Translate(bounds.Center), primaryAccentColor); diff --git a/Submodules/agg-sharp b/Submodules/agg-sharp index c7f95927d..510ccddd9 160000 --- a/Submodules/agg-sharp +++ b/Submodules/agg-sharp @@ -1 +1 @@ -Subproject commit c7f95927d2ded956426acf5ff891d47d9a962cd7 +Subproject commit 510ccddd954a5ea66faf1e226e4bf2c41cf3f983