Пример #1
0
    private static spr᣼ smethod_23(PointF A_0, PointF A_1, PointF A_2)
    {
        spr᣼ r᣼ = new spr᣼();

        r᣼.ᜀ(A_0);
        r᣼.ᜁ(A_1);
        r᣼.ᜂ(A_2);
        return(r᣼);
    }
Пример #2
0
    private static void smethod_2(spr៧ A_0, spr᣼[] A_1, bool A_2, PointF[] A_3)
    {
        spr᣼     r᣼     = A_2 ? A_1[A_1.Length - 1] : A_1[0];
        Class447 class3 = new Class447(A_3[0], A_3[1]);
        Class447 class2 = A_2 ? new Class447(r᣼.ᜂ(), r᣼.ᜀ()) : new Class447(r᣼.ᜂ(), r᣼.ᜁ());

        PointF[] tfArray2 = new PointF[] { PointF.Empty };
        Class447.smethod_1(class3, class2, tfArray2);
        tfArray2[0] = smethod_3(A_1, A_2, A_3, tfArray2[0]);
        if (A_2)
        {
            A_0.ᜀ()[0] = tfArray2[0];
        }
        else
        {
            A_0.ᜀ()[A_0.ᜀ().Count - 1] = tfArray2[0];
        }
    }
Пример #3
0
 private static spr᣼[] smethod_22(spr᣼ A_0, float A_1)
 {
     if ((A_1 < 0f) || (A_1 > 1f))
     {
         return(null);
     }
     if ((A_1 != 0f) && (A_1 != 1f))
     {
         Class447 class2 = new Class447(A_0.ᜁ(), A_0.ᜂ());
         Class447 class3 = new Class447(A_0.ᜂ(), A_0.ᜀ());
         float    num    = spr⃸.ᜁ(A_0.ᜁ(), A_0.ᜂ());
         float    num2   = spr⃸.ᜁ(A_0.ᜂ(), A_0.ᜀ());
         PointF   tf     = smethod_24(class2, A_0, A_1, num, true);
         PointF   tf2    = smethod_24(class3, A_0, A_1, num2, false);
         PointF   tf3    = new Class726(A_0).method_0(A_1);
         spr᣼     r᣼     = smethod_23(A_0.ᜁ(), tf, tf3);
         spr᣼     r᣼2    = smethod_23(tf3, tf2, A_0.ᜀ());
         return(new spr᣼[] { r᣼, r᣼2 });
     }
     return(new spr᣼[] { A_0 });
 }
Пример #4
0
    private static PointF smethod_24(Class447 A_0, spr᣼ A_1, float A_2, float A_3, bool A_4)
    {
        bool flag;

        if ((A_0.method_9() == 0f) && !A_0.method_13())
        {
            flag = A_4 ? (A_1.ᜂ().X > A_1.ᜁ().X) : (A_1.ᜀ().X > A_1.ᜂ().X);
        }
        else
        {
            flag = A_4 ? (A_1.ᜂ().Y > A_1.ᜁ().Y) : (A_1.ᜀ().Y > A_1.ᜂ().Y);
        }
        PointF[] tfArray2 = new PointF[] { PointF.Empty };
        float    num      = -1f;

        if (flag)
        {
            num = 1f;
        }
        A_0.method_7(A_4 ? A_1.ᜁ() : A_1.ᜂ(), (num * A_2) * A_3, tfArray2);
        return(tfArray2[0]);
    }
Пример #5
0
 private static float[] smethod_2(spr᣼ A_0, bool A_1)
 {
     return(new float[] { (A_1 ? A_0.ᜁ().X : A_0.ᜁ().Y), (A_1 ? A_0.ᜂ().X : A_0.ᜂ().Y), (A_1 ? A_0.ᜀ().X : A_0.ᜀ().Y) });
 }