Exemplo n.º 1
0
 //=============================================================================
 public void Update_CoordinateAxes()
 {
     if (m_axes != null)
     {
         m_axes.Draw();
     }
 }
Exemplo n.º 2
0
        public SimpleCAD()
        {
            OnUpdatePlotHandler += OnUpdatePlot;

            m_axes = new CoordinateAxes(this);
            AddVisualChild(m_axes);
            AddLogicalChild(m_axes);
            m_axes.Draw();

            this.Loaded += SimpleCAD_Loaded;
        }
Exemplo n.º 3
0
        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 );
        }