Use new path stroke properties
This commit is contained in:
parent
007b51eb9b
commit
216bd91dc3
4 changed files with 7 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue