Exemple #1
0
    private void method_6(float A_0, Class1031 A_1)
    {
        Class952 class4;
        Class952 class2 = this.class952_2;
        Class952 class3 = this.class952_1;

        while (class2 != null)
        {
            if ((A_0 - class2.method_1().X) <= 0.005f)
            {
                break;
            }
            class2.method_8(Class1031.smethod_7(class2.method_7(), A_1));
            class3 = class2;
            class2 = class2.method_15();
        }
        if (class2 == null)
        {
            class4 = class3.method_31(A_0);
            class4.method_8(A_1);
        }
        else if (Math.Abs((float)(A_0 - class2.method_1().X)) < 0.005f)
        {
            class4 = class2;
            class2.method_8(Class1031.smethod_7(class2.method_7(), A_1));
        }
        else
        {
            class4 = class3.method_31(A_0);
            class4.method_8(Class1031.smethod_7(class2.method_7(), A_1));
        }
        this.class952_2 = class4;
    }
Exemple #2
0
 private void method_14()
 {
     if (this.borderGridType_0 == BorderGridType.Paragraph)
     {
         float num  = 2.147484E+09f;
         float num2 = -2.147484E+09f;
         for (Class952 class2 = this.class952_0; class2 != null; class2 = class2.method_19())
         {
             num  = Math.Min(num, class2.method_1().X);
             num2 = Math.Max(num2, class2.method_15().method_1().X - num);
         }
         for (Class952 class3 = this.class952_0; class3 != null; class3 = class3.method_19())
         {
             class3.method_2(new PointF(num, class3.method_1().Y));
             class3.method_15().method_2(new PointF(num + num2, class3.method_1().Y));
         }
     }
 }
Exemple #3
0
    private void method_5(float A_0, Class1031 A_1)
    {
        Class952 class3;
        Class952 class2 = this.class952_1;

        while ((A_0 - class2.method_1().X) > 0.005f)
        {
            if (class2.method_4())
            {
                break;
            }
            class2 = class2.method_15();
        }
        if (Math.Abs((float)(A_0 - class2.method_1().X)) < 0.005f)
        {
            class3 = class2;
            class2 = class2.method_15();
        }
        else if (A_0 > class2.method_1().X)
        {
            class3 = class2.method_31(A_0);
            class3.method_8(Class1031.class1031_0);
            class2 = null;
        }
        else if (class2.method_3())
        {
            class3 = class2.method_32(A_0);
            class2.method_8(Class1031.class1031_0);
        }
        else
        {
            class3 = class2.method_32(A_0);
            class3.method_8(class2.method_7());
        }
        this.class952_1 = class3;
        this.class952_2 = class2;
    }
    internal Class952 method_31(float A_0)
    {
        Class952 class2 = this.method_15();

        if ((this.method_1().X >= A_0) || (!this.method_4() && (A_0 >= class2.method_1().X)))
        {
            return(null);
        }
        Class952 class3 = new Class952();

        class3.method_2(new PointF(A_0, this.method_1().Y));
        this.method_16(class3);
        class3.method_14(this);
        if (class2 != null)
        {
            class3.method_16(class2);
            class2.method_14(class3);
        }
        return(class3);
    }