//============================================================================= public void Update_CoordinateAxes() { if (m_axes != null) { m_axes.Draw(); } }
public SimpleCAD() { OnUpdatePlotHandler += OnUpdatePlot; m_axes = new CoordinateAxes(this); AddVisualChild(m_axes); AddLogicalChild(m_axes); m_axes.Draw(); this.Loaded += SimpleCAD_Loaded; }
public void Redraw() { if (m_axes != null) { m_axes.Draw(Drawing); } if (Drawing?.GridLayer != null) { Drawing.GridLayer.Draw(); } foreach (var entity in Geometries) { entity.Draw(); } foreach (var point in m_grips) { point.Draw(); } // this.SetValue(RenderOptions.EdgeModeProperty, EdgeMode.Unspecified ); }