Ejemplo n.º 1
0
        private void Form1_Paint(object sender, PaintEventArgs e)
        {
            graphicsProcessor.Draw(e.Graphics);

            foreach (IDrawable item in Items)
            {
                item.Draw(e.Graphics);
            }

            if (this.ConvertPoints())
            {
                e.Graphics.DrawLines(new Pen(Color.Blue), PointsToConvert);
            }
        }
 public override void Draw(SpriteBatch spriteBatch)
 {
     GraphicsProcessor.Draw(spriteBatch);
 }