Пример #1
0
        public void Rajz(PaintEventArgs e, double scaleFactor, Point scaleMidpoint)
        {
            PointD newPos = (Hely - scaleMidpoint) * scaleFactor + scaleMidpoint;

            e.Graphics.FillEllipse(br, newPos.intX() - (float)(Méret * scaleFactor / 2), newPos.intY() - (float)(Méret * scaleFactor / 2), (float)(Méret * scaleFactor), (float)(Méret * scaleFactor));
            //e.Graphics.FillEllipse(br, new Rectangle(Hely - new PointD(Méret / 2, Méret / 2), new Size(Méret, Méret)));
        }
Пример #2
0
 public void Rajz(PaintEventArgs e)
 {
     e.Graphics.FillEllipse(toll, hely.intX() - (méret / 2), hely.intY() - (méret / 2), méret, méret);
 }