Exemplo n.º 1
0
        public new void A()
        {
            if (this.A)
            {
                int num = base.a();
                for (int i = 0; i < this.A.I(); i++)
                {
                    f2 f = this.A.a(num, i);
                    if (f != global::b.C <f2, Y1> .h())
                    {
                        d.a a = f.A;
                        a.d(this.B());
                    }
                }
                return;
            }
            int num2 = base.a();

            for (int j = 0; j < this.A.h(); j++)
            {
                f2 f2 = this.A.a(j, num2);
                if (f2 != global::b.C <f2, Y1> .h())
                {
                    d.a a2 = f2.A;
                    a2.G(this.B());
                }
            }
        }
Exemplo n.º 2
0
        private void L(Graphics graphics, f2 f)
        {
            F2 f2 = this.L().A();

            D.C c  = f2.E(f.A.a(), f.a.a());
            F   f3 = new F(f2, c);

            this.L(graphics, f3);
        }
Exemplo n.º 3
0
 public new void A(int num)
 {
     this.a = num;
 }
Exemplo n.º 4
0
        public new void A(f2 f, bool flag, bool flag2)
        {
            f2 f2 = null;
            f2 f3 = null;

            if (this.A)
            {
                int num = base.a();
                for (int i = 0; i < this.A.I(); i++)
                {
                    f2 f4 = this.A.a(num, i);
                    if (f4 != global::b.C <f2, Y1> .h())
                    {
                        if (f2 == null)
                        {
                            f2 = f4;
                            f3 = f4;
                        }
                        else
                        {
                            if (f4.A.Left < f2.A.Left)
                            {
                                f2 = f4;
                            }
                            if (f4.A.Right > f3.A.Right)
                            {
                                f3 = f4;
                            }
                        }
                    }
                }
            }
            else
            {
                int num2 = base.a();
                for (int j = 0; j < this.A.h(); j++)
                {
                    f2 f5 = this.A.a(j, num2);
                    if (f5 != global::b.C <f2, Y1> .h())
                    {
                        if (f2 == null)
                        {
                            f2 = f5;
                            f3 = f5;
                        }
                        else
                        {
                            if (f5.A.Top < f2.A.Top)
                            {
                                f2 = f5;
                            }
                            if (f5.A.Bottom > f3.A.Bottom)
                            {
                                f3 = f5;
                            }
                        }
                    }
                }
            }
            this.A = f2;
            this.a = f3;
        }
Exemplo n.º 5
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);
            }
        }