Ejemplo n.º 1
0
    public Class307(SizeF A_0, bool A_1)
    {
        float num3 = 1f;
        sprᩆ  rᩆ   = new sprḀ();

        if (A_1)
        {
            sprᣮ   rᣮ2;
            double num;
            double num2;
            this.method_3(A_0, rᩆ, new sprᴢ(72f, 72f), 0f, 0f, out num, out num2, out rᣮ2);
            sprᣮ rᣮ = spr⇊.ᜀ(rᣮ2.ᜀ() * num3, rᣮ2.ᜁ(), rᣮ2.ᜂ(), rᣮ2.ᜃ() * num3, rᣮ2.ᜄ(), rᣮ2.ᜅ(), rᩆ.ᜀ());
            rᩆ.ᜀ(new spr⟜((int)(num * num3), (int)(num2 * num3)));
            if (rᣮ == null)
            {
                rᣮ = spr⇊.ᜀ(1f, 0f, 0f, 1f, 0f, 0f, rᩆ.ᜀ());
            }
            this.spr┿_0 = spr⇊.ᜀ(rᩆ, rᣮ) as spr┿;
            RectangleF ef = new RectangleF(0f, 0f, A_0.Width, A_0.Height);
            spr☚       r☚ = spr⇊.ᜁ(rᩆ.ᜀ());
            r☚.ᜁ(ef.Left, ef.Top);
            r☚.ᜂ(ef.Left, ef.Bottom);
            r☚.ᜂ(ef.Right, ef.Bottom);
            r☚.ᜂ(ef.Right, ef.Top);
            r☚.ᜂ(ef.Left, ef.Top);
            r☚.᜘();
            this.method_0().ᜁ(ef.Left, ef.Top);
            this.method_0().᜛().ᜁ(r☚);
            this.method_0().᜙();
        }
    }
Ejemplo n.º 2
0
    private void method_3(SizeF A_0, sprᩆ A_1, sprᴢ A_2, float A_3, float A_4, out double A_5, out double A_6, out sprᣮ A_7)
    {
        RectangleF ef   = new RectangleF(0f, 0f, A_0.Width, A_0.Height);
        float      num  = Math.Max(ef.Right, ef.Left);
        float      num2 = Math.Max(ef.Bottom, ef.Top);
        float      num3 = Math.Min(ef.Left, ef.Right);
        float      num4 = Math.Min(ef.Top, ef.Bottom);
        sprᣮ       rᣮ   = spr⇊.ᜀ(1f, 0f, 0f, 1f, 0f, 0f, A_1.ᜀ());

        rᣮ.ᜂ(num3, num4, ref num3, ref num4);
        rᣮ.ᜂ(num, num2, ref num, ref num2);
        float  num5  = Math.Max(num, num3);
        float  num6  = Math.Max(num2, num4);
        float  num7  = Math.Min(num3, num);
        float  num8  = Math.Min(num4, num2);
        double num9  = num5 - num7;
        double num10 = num6 - num8;
        double num11 = num9;
        double num12 = num10;

        A_5 = (A_2.ᜀ * num11) / 72.0;
        A_6 = (A_2.ᜁ * num12) / 72.0;
        float num13 = (float)(A_5 / num9);
        float num14 = (float)(A_6 / num10);

        A_7 = spr⇊.ᜀ(num13, 0f, 0f, num14, A_3, A_4, A_1.ᜀ());
        A_7.ᜀ(-num7, -num8);
        A_7.ᜀ(rᣮ);
    }