Exemplo n.º 1
0
        public Rectangle a(out Point ptr)
        {
            D.C   c     = this.a();
            Y1    y     = this.A.h(c.a());
            Y1    y2    = this.A.I(c.B());
            Point point = new Point(y.B(), y2.B());

            switch (this.a())
            {
            case G2.East:
                point.X = y.a();
                break;

            case G2.West:
                point.X = y.A();
                break;
            }
            switch (this.B())
            {
            case G2.South:
                point.Y = y2.a();
                break;

            case G2.North:
                point.Y = y2.A();
                break;
            }
            Rectangle result = new Rectangle(point.X, point.Y, 0, 0);
            int       num    = 6;
            int       num2   = 7;

            result.Inflate(global::c.C.C.Width * num / num2, global::c.C.C.Height * num / num2);
            ptr = point;
            return(result);
        }
Exemplo n.º 2
0
 public f2(d.a a, Y1 y, Y1 y2)
 {
     this.A = a;
     this.A = y;
     this.a = y2;
 }
Exemplo n.º 3
0
 public void A()
 {
     this.A = null;
     this.A = null;
     this.a = null;
 }
Exemplo n.º 4
0
        public void L(B1 b)
        {
            Graphics graphics = b.A();

            if (this.A() == null)
            {
                return;
            }
            graphics.SmoothingMode = SmoothingMode.AntiAlias;
            if (this.l() && !b.b())
            {
                this.L(graphics, this.G(b.C()));
            }
            List <d.a> list = new List <d.a>(this.L().A());
            F2         f    = this.L().A();

            if (graphics.ClipBounds.IntersectsWith(f.A().L()))
            {
                list.Add(f.A());
            }
            for (int i = 0; i < this.L().A().h(); i++)
            {
                Y1 y = f.h(i);
                if ((float)y.a() >= graphics.ClipBounds.Left)
                {
                    if ((float)y.A() > graphics.ClipBounds.Right)
                    {
                        break;
                    }
                    for (int j = 0; j < this.L().A().I(); j++)
                    {
                        Y1 y2 = f.I(j);
                        if ((float)y2.a() >= graphics.ClipBounds.Top)
                        {
                            if ((float)y2.A() > graphics.ClipBounds.Bottom)
                            {
                                break;
                            }
                            f2 f2 = f.a(i, j);
                            if (f2 != null && !graphics.ClipBounds.IntersectsWith(f2.A))
                            {
                                d.a a = f2.A;
                                if (a != f.A() && (!b.c() || this.L().A(a)))
                                {
                                    list.Add(f2.A);
                                }
                            }
                        }
                    }
                }
            }
            foreach (d.a current in list)
            {
                current.Y(b, false, true);
            }
            this.L().A(this, b);
            foreach (d.a current2 in list)
            {
                current2.Y(b, true, false);
            }
            if (this.L() is j)
            {
                graphics.Transform = this.A;
                j j2 = (j)this.L();
                j2.a(graphics);
                graphics.Transform = this.a;
            }
            if (global::a.F.B(this.L(), null))
            {
                this.L(graphics, this.L());
            }
            if (this.L() != null)
            {
                this.L().Y(b, true, true);
            }
        }