Beispiel #1
0
 public Ellipse(Circle c)
 {
     _radius1 = c.R1;
     _radius2 = c.R1;
 }
Beispiel #2
0
        public void Func1()
        {
            Circle c = new Circle(new PointF(3.0f, 0), 5.0f);
            ComputeArea(c);
            Flatten(c);

            Circle c2 = new Circle(new PointF(3.0f, 0), 5.0f);
            Flatten(new Ellipse(c2));

            Circle c3 = new Circle(new PointF(3.0f, 0), 5.0f);
            Ellipse e = new Ellipse(c3);
            Flatten(new Ellipse(c3));
        }