Example #1
0
 internal override void PostDraw(MicroWorld.Graphics.Renderer renderer)
 {
     Wire p = (Wire)parent;
     if (!Visible && Settings.DrawInvisibleWires)
     {
         renderer.GraphicsDevice.Textures[0] = Shortcuts.pixel;
         renderer.DrawLine(p.J1.Graphics.Center.X, p.J1.Graphics.Center.Y, p.J2.Graphics.Center.X, p.J2.Graphics.Center.Y, Color.Lime, Color.Lime);
     }
 }