Ejemplo n.º 1
0
 private void pictureBox1_Paint(object sender, PaintEventArgs e)
 {
     if (mgP != null)
     {
         e.Graphics.Transform = new Matrix(zoom.X, 0f, 0f, -zoom.Y, ox, oy1);
         mgP.Draw(e.Graphics, true);
         e.Graphics.DrawLine(penE, x1, (float)E, x2, (float)E);
     }
 }
Ejemplo n.º 2
0
 private void pictureBox2_Paint(object sender, PaintEventArgs e)
 {
     if (mgQDotPlus != null)
     {
         e.Graphics.Transform = new Matrix(zoom.X, 0f, 0f, -zoom.Y, ox, oy2);
         mgQDotPlus.Draw(e.Graphics, true);
         e.Graphics.ScaleTransform(1, -1);
         mgQDotPlus.DrawGraphic(e.Graphics);
     }
 }