Esempio n. 1
0
    private Class622 method_0(byte[] A_0)
    {
        Class622 class2;

        using (spr⊗ r⊗ = new spr⊗(A_0))
        {
            class2       = smethod_1(r⊗.ᜏ(), r⊗.ᜃ(), r⊗.());
            this.float_0 = r⊗.ᜃ();
            this.float_1 = r⊗.();
        }
        return(class2);
    }
Esempio n. 2
0
    public override void vmethod_0(spr➓ A_0)
    {
        Class549 class2 = new Class549(A_0.ᜀ());

        if (A_0.ᜃ() != null)
        {
            sprᲆ rᲆ = new Class1024().method_0(A_0.ᜃ(), false, false);
            rᲆ.ᜀ(new spr⚪(sprⓚ.));
            rᲆ.ᜀ().ᜂ(0f);
            Class622 class4 = Class548.smethod_0(rᲆ);
            class2.method_3((class4.method_8() > 0) ? class4.method_9(0) : null);
        }
        this.arrayList_0.Add(class2);
    }
Esempio n. 3
0
    private static void smethod_3(sprᮃ A_0, spr⤿ A_1, Size A_2, Class378 A_3)
    {
        int num = 13;

        if (A_0 == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("刲䔴䐶", num));
        }
        if (A_1 == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("吲匴伶", num));
        }
        A_1.ᜅ();
        if (A_3.method_9())
        {
            A_1.ᜀ();
        }
        if (A_3.method_11())
        {
            A_1.ᜃ();
        }
        A_1.ᜀ(A_3.method_13(), 0f, 0f, (float)A_2.Width, (float)A_2.Height);
        A_1.ᜀ(A_3.method_0());
        new Class450().method_0(A_0, A_1.ᜆ());
    }
Esempio n. 4
0
    internal static sprⓚ smethod_0(sprⓚ A_0, sprⓚ A_1)
    {
        if ((A_0.ᜁ() == 0xef) && (A_0.ᜃ() == 240))
        {
            sprⓚ rⓚ = A_1;
            switch (A_0.ᜇ())
            {
            case 1:
            {
                double num4 = A_0.ᜄ();
                num4 = (255.0 - num4) / 255.0;
                spr᭵ r᭵ = new spr᭵(rⓚ);
                r᭵.ᜀ((float)spr⃘.ᜂ(spr⃘.ᜁ(r᭵.ᜃ() - (r᭵.ᜃ() * num4), 0.0, 255.0)));
                A_0 = r᭵.ᜂ();
                return(A_0);
            }

            case 2:
            {
                double num2 = A_0.ᜄ();
                num2 = (255.0 - num2) / 255.0;
                Class508 class2 = new Class508(rⓚ.());
                class2.method_7(class2.method_6() + ((1.0 - class2.method_6()) * num2));
                A_0 = class2.method_0();
                return(A_0);
            }
            }
            A_0 = rⓚ;
        }
        return(A_0);
    }
Esempio n. 5
0
 private sprᲆ[] method_0(sprᲆ A_0, spr⇻ A_1)
 {
     this.spr⇻_0 = A_1.ᜁ();
     if (((this.spr⇻_0.ᜂ() == 1) && (this.spr⇻_0.ᜃ().ᜃ() == null)) && (this.spr⇻_0.ᜀ().ᜃ() == null))
     {
         return(null);
     }
     this.sprᲆ_0 = new sprᲆ();
     this.sprᲆ_0.ᜀ(A_0.ᜀ().());
     this.sprᲆ_1 = new sprᲆ(A_0.ᜀ().ᜈ());
     this.sprᲆ_1.ᜀ().ᜂ((this.spr⇻_0.ᜄ() <= 0.75f) ? 0.75f : this.spr⇻_0.ᜄ());
     this.sprᲆ_1.ᜀ().ᜀ(DashStyle.Solid);
     this.sprᲆ_1.ᜀ().ᜀ(LineJoin.Miter);
     this.sprᲆ_1.ᜀ().ᜁ(LineCap.Round);
     this.sprᲆ_1.ᜀ().ᜀ(LineCap.Round);
     for (int i = 0; i < A_0.(); i++)
     {
         sprᧂ rᧂ = A_0.ᜀ(i);
         if (!rᧂ.ᜁ() && (rᧂ.() != 0))
         {
             this.bool_0 = true;
             rᧂ.ᜀ(0).ᜀ(this);
             this.bool_0 = false;
             rᧂ.ᜀ(rᧂ.() - 1).ᜀ(this);
         }
     }
     return(new sprᲆ[] { this.sprᲆ_0, this.sprᲆ_1 });
 }
Esempio n. 6
0
 private void method_4(ref RectangleF A_0, Struct37 A_1, spr❯ A_2, RectangleF A_3)
 {
     A_0.Width  = (((float)A_2.ᜅ()) * A_1.float_0) / 100f;
     A_0.Height = (((float)A_2.ᜃ()) * A_1.float_1) / 100f;
     this.method_5(ref A_0, A_3, A_1.rectAlignment_0);
     A_0.X += A_1.float_2;
     A_0.Y += A_1.float_3;
 }
Esempio n. 7
0
 public spr⊗ method_6(byte[] A_0)
 {
     using (spr⊗ r⊗ = new spr⊗(A_0))
     {
         Rectangle rectangle = this.method_4(new Rectangle(0, 0, r⊗.ᜃ(), r⊗.()));
         return(r⊗.ᜀ(rectangle));
     }
 }
Esempio n. 8
0
 private PsLineEndType method_3()
 {
     if (!this.bool_0)
     {
         return(this.spr⇻_0.ᜀ().ᜃ());
     }
     return(this.spr⇻_0.ᜃ().ᜃ());
 }
Esempio n. 9
0
    private void method_1(PointF A_0, float A_1, PsLineEndSize A_2, PsLineEndSize A_3)
    {
        PsLineEndType type = this.method_3();
        sprᧂ          rᧂ   = new sprᧂ();
        ArrayList     list = new ArrayList();
        float         num3 = (this.spr⇻_0.ᜄ() <= 2.0) ? 2f : this.spr⇻_0.ᜄ();

        rᧂ.ᜀ(true);
        float width  = float_13[A_2];
        float height = float_13[A_3];

        switch (type)
        {
        case 1:
            list.Add(new spr៧(float_9));
            break;

        case 2:
            list.Add(new spr៧(float_10));
            break;

        case 3:
            list.Add(new spr៧(float_12));
            break;

        case 4:
        {
            spr⢩ r⢩ = new spr⢩();
            r⢩.ᜀ(new PointF(-1.5f, -1.5f));
            r⢩.ᜀ(new SizeF(3f, 3f));
            r⢩.ᜃ(0.0);
            r⢩.ᜂ(360.0);
            sprṋ[] sprṋArray = r⢩.ᜃ();
            for (int i = 0; i < sprṋArray.Length; i++)
            {
                sprᡉ rᡉ = new sprᡉ();
                rᡉ.ᜀ(sprṋArray[i]);
                list.Add(rᡉ);
            }
            break;
        }

        case 5:
        {
            spr៧ spr = new spr៧(float_11);
            list.Add(spr);
            rᧂ.ᜀ(false);
            num3 = this.sprᲆ_1.ᜀ().ᜀ();
            SizeF ef = sizeF_0[A_2][A_3];
            width  = ef.Width;
            height = ef.Height;
            break;
        }
        }
        if (list.Count != 0)
        {
            width  *= num3;
            height *= num3;
            spr➂ r➂ = new spr➂();
            r➂.ᜁ(width, height, MatrixOrder.Prepend);
            r➂.ᜀ(0f, this.method_2(type, A_2, A_3), MatrixOrder.Append);
            r➂.ᜀ(A_1, MatrixOrder.Append);
            r➂.ᜀ(A_0.X, A_0.Y, MatrixOrder.Append);
            for (int j = 0; j < list.Count; j++)
            {
                spr➘ r➘ = (spr➘)list[j];
                r➘.ᜀ(r➂);
                rᧂ.ᜁ((sprᮃ)r➘);
            }
            if (rᧂ.ᜁ())
            {
                this.sprᲆ_0.ᜁ(rᧂ);
            }
            else
            {
                this.sprᲆ_1.ᜁ(rᧂ);
            }
        }
    }