예제 #1
0
    private Class622 method_0(sprᲆ A_0)
    {
        this.class622_0 = new Class622();
        sprᲆ rᲆ = this.method_1(A_0);

        if (!smethod_3(rᲆ))
        {
            return(new Class622(new Class722()));
        }
        rᲆ.ᜀ(this);
        if (A_0.ᜇ() != null)
        {
            Class622 class2 = smethod_0(A_0.ᜇ());
            Class722 class3 = (class2.method_8() > 0) ? class2.method_9(0) : null;
            if (class3 != null)
            {
                this.class622_0.method_7(class3);
            }
        }
        if (spr➂.ᜀ(A_0.ᜁ(), null))
        {
            this.class622_0.method_4(A_0.ᜁ());
        }
        this.class622_0.method_3(true);
        return(this.class622_0);
    }
예제 #2
0
    internal static spr᧢ smethod_13(ShapeObject A_0, SizeF A_1)
    {
        PointF  tf;
        VMLFill fill = A_0.Fill;
        sprᲆ    rᲆ   = new sprᲆ();
        sprᧂ    rᧂ   = new sprᧂ();

        rᧂ.ᜀ(true);
        rᲆ.ᜁ(rᧂ);
        RectangleF ef = new RectangleF(0f, 0f, A_1.Width, A_1.Height);

        if (A_0.IsTextureRotated)
        {
            tf = spr⃸.ᜁ(spr⃸.ᜀ((float)fill.FocusLeft, (float)fill.FocusTop, ef), spr⃸.ᜁ(ef), (float)A_0.Rotation);
            PointF[] tfArray = spr⃸.ᜀ(ef, (float)A_0.Rotation);
            rᧂ.ᜃ(tfArray);
        }
        else
        {
            RectangleF ef2 = spr⃸.ᜁ(ef, (float)A_0.Rotation);
            tf = spr⃸.ᜀ((float)fill.FocusLeft, (float)fill.FocusTop, ef2);
            rᧂ.ᜁ(ef2);
        }
        return(smethod_6(rᲆ, fill, tf));
    }
예제 #3
0
    internal static sprᲆ smethod_2(PointF A_0, PointF A_1, float A_2, sprⓚ A_3, bool A_4)
    {
        sprᲆ  rᲆ  = new sprᲆ(new spr⚪(A_3));
        float num = smethod_8(A_0, A_1, A_4);

        rᲆ.ᜁ(smethod_4(A_0, num, A_2, A_4));
        smethod_7(rᲆ, A_0, num, A_2 + 1.5f, A_4);
        return(rᲆ);
    }
예제 #4
0
    internal static void smethod_0(Class672 A_0, PointF A_1, PointF A_2)
    {
        sprᲆ rᲆ = new sprᲆ(A_0.method_18());

        rᲆ.ᜀ(A_0.method_19());
        sprᧂ rᧂ = new sprᧂ();

        rᲆ.ᜁ(rᧂ);
        rᧂ.ᜁ(A_1, A_2);
        A_0.method_10().ᜁ(rᲆ);
    }
예제 #5
0
    internal static sprᲆ smethod_3(PointF A_0, PointF A_1, float A_2, sprⓚ A_3, bool A_4)
    {
        PointF tf;
        PointF tf2;
        sprᲆ   rᲆ  = new sprᲆ(new spr⚪(A_3));
        float  num = smethod_8(A_0, A_1, A_4);

        if (A_4)
        {
            tf  = new PointF(A_0.X, A_0.Y - (A_2 * 0.25f));
            tf2 = new PointF(A_0.X, A_0.Y + (A_2 * 0.25f));
        }
        else
        {
            tf  = new PointF(A_0.X - (A_2 * 0.25f), A_0.Y);
            tf2 = new PointF(A_0.X + (A_2 * 0.25f), A_0.Y);
        }
        rᲆ.ᜁ(smethod_4(tf, num, A_2 * 0.5f, A_4));
        rᲆ.ᜁ(smethod_4(tf2, num, A_2 * 0.5f, A_4));
        smethod_7(rᲆ, A_0, num, A_2 + 1.5f, A_4);
        return(rᲆ);
    }
예제 #6
0
    internal sprᲆ method_0(sprᲆ A_0)
    {
        sprᲆ rᲆ = A_0.ᜀ(false);

        if (A_0.() != 0)
        {
            for (int i = A_0.() - 1; i >= 0; i--)
            {
                sprᧂ rᧂ = A_0.ᜀ(i);
                this.sprᧂ_0 = new sprᧂ();
                this.sprᧂ_0.ᜀ(rᧂ.ᜁ());
                rᧂ.ᜀ(this);
                rᲆ.ᜁ(this.sprᧂ_0);
            }
        }
        return(rᲆ);
    }
예제 #7
0
    private static sprᲆ smethod_8(PointF[] A_0, byte[] A_1)
    {
        sprᲆ rᲆ = new sprᲆ();
        sprᧂ rᧂ = null;

        PointF[] tfArray2 = new PointF[] { PointF.Empty, PointF.Empty, PointF.Empty, PointF.Empty };
        PointF   empty    = PointF.Empty;
        int      index    = 0;
        spr៧     spr      = null;

        for (int i = 0; i < A_0.Length; i++)
        {
            float x = A_0[i].X;
            float y = A_0[i].Y;
            if (A_1[i] == 0)
            {
                rᧂ = new sprᧂ();
                rᧂ.ᜀ(true);
                spr   = null;
                empty = new PointF(x, y);
            }
            else
            {
                if ((A_1[i] & 3) == 3)
                {
                    spr = null;
                    if (index == 0)
                    {
                        tfArray2    = new PointF[] { PointF.Empty, PointF.Empty, PointF.Empty, PointF.Empty };
                        tfArray2[0] = empty;
                    }
                    index++;
                    tfArray2[index] = new PointF(x, y);
                    if (index == 3)
                    {
                        index = 0;
                        rᧂ.ᜁ(new sprᡉ(tfArray2));
                        empty = tfArray2[3];
                    }
                }
                else if ((A_1[i] & 1) == 1)
                {
                    if (spr == null)
                    {
                        spr = new spr៧();
                        rᧂ.ᜁ(spr);
                        spr.ᜀ().Add(empty);
                    }
                    empty = new PointF(x, y);
                    spr.ᜀ().Add(empty);
                }
                if ((A_1[i] & 0x80) == 0x80)
                {
                    rᲆ.ᜁ(rᧂ);
                    new sprᧂ().ᜀ(true);
                    spr   = null;
                    index = 0;
                }
            }
        }
        return(rᲆ);
    }
예제 #8
0
    internal static sprᲆ smethod_5(PointF A_0, PointF A_1, float A_2, sprⓚ A_3, bool A_4)
    {
        PointF tf;
        sprᲆ   rᲆ  = new sprᲆ(new spr⚪(A_3));
        float  num = A_2 + 3f;

        if (A_4)
        {
            tf = new PointF(A_0.X - num, A_0.Y + (num / 2f));
        }
        else
        {
            tf = new PointF(A_0.X + (num / 2f), A_0.Y - num);
        }
        sprᧂ rᧂ = new sprᧂ();

        rᲆ.ᜁ(rᧂ);
        float num6 = smethod_8(A_0, A_1, A_4);
        float num7 = num6 + (num * 2f);
        int   num8 = ((int)(num7 * 2f)) + 1;

        float[] numArray = new float[num8 * 2];
        numArray[0] = tf.X;
        numArray[1] = tf.Y;
        int num3 = 0;

        if (A_4)
        {
            float x     = tf.X;
            float num10 = x + num;
            for (int i = 0; i < (num8 - 1); i++)
            {
                if ((i & 2) == 2)
                {
                    if ((i & 1) == 1)
                    {
                        num10 += smethod_6(ref num3);
                        x      = num10 - num;
                    }
                    numArray[(i * 2) + 2] = num10;
                    numArray[(i * 2) + 3] = A_0.Y - (num / 2f);
                }
                else
                {
                    if ((i & 1) == 1)
                    {
                        x    += smethod_6(ref num3);
                        num10 = x + num;
                    }
                    numArray[(i * 2) + 2] = x;
                    numArray[(i * 2) + 3] = A_0.Y + (num / 2f);
                }
            }
        }
        else
        {
            float y    = tf.Y;
            float num2 = y + num;
            for (int j = 0; j < (num8 - 1); j++)
            {
                if ((j & 2) == 2)
                {
                    if ((j & 1) == 1)
                    {
                        num2 += smethod_6(ref num3);
                        y     = num2 - num;
                    }
                    numArray[(j * 2) + 2] = A_0.X - (num / 2f);
                    numArray[(j * 2) + 3] = num2;
                }
                else
                {
                    if ((j & 1) == 1)
                    {
                        y   += smethod_6(ref num3);
                        num2 = y + num;
                    }
                    numArray[(j * 2) + 2] = A_0.X + (num / 2f);
                    numArray[(j * 2) + 3] = y;
                }
            }
        }
        spr៧ spr = new spr៧(numArray);

        rᧂ.ᜁ(spr);
        smethod_7(rᲆ, A_0, num6, A_2, A_4);
        return(rᲆ);
    }