public PreviewCodeDialog(GcodeDrawing d) { InitializeComponent(); drawing = d; gMoves = new SKPaint { Style = SKPaintStyle.Stroke, Color = SKColors.Red, StrokeWidth = 1.5f }; gLines = new SKPaint { Style = SKPaintStyle.Stroke, Color = SKColors.Black, StrokeWidth = 2.0f }; bounds(); }
public void AddDrawing(GcodeDrawing drawing) { AllDrawings.Add(drawing); }