예제 #1
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 });
 }
예제 #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
 public override void vmethod_2(sprᧂ A_0)
 {
     if (A_0.ᜁ())
     {
         this.graphicsPath_0.CloseFigure();
     }
 }
예제 #4
0
 internal void method_7()
 {
     this.sprᧂ_0   = null;
     this.pointF_1 = PointF.Empty;
     this.bool_0   = false;
     this.sprᮃ_0   = null;
 }
예제 #5
0
    private static ArrayList smethod_0(sprᧂ A_0)
    {
        ArrayList list = new ArrayList();
        bool      flag = false;
        sprᮃ      rᮃ   = null;

        for (int i = 0; i < A_0.(); i++)
        {
            sprᮃ rᮃ2 = A_0.ᜀ(i);
            if (rᮃ2 is spr៧)
            {
                smethod_2((spr៧)rᮃ2, A_0, i, list, rᮃ, flag);
                flag = true;
            }
            else if (rᮃ2 is sprᡉ)
            {
                if (smethod_1((sprᡉ)rᮃ2, A_0, i, list, rᮃ, flag))
                {
                    i++;
                }
                flag = false;
            }
            rᮃ = rᮃ2;
        }
        return(list);
    }
예제 #6
0
    internal PointF method_1(sprᧂ A_0, float A_1)
    {
        float num = this.method_0(A_0);

        this.float_1 = num * A_1;
        this.method_3();
        A_0.ᜀ(this);
        return(this.pointF_0);
    }
예제 #7
0
 private static bool smethod_3(sprᮃ A_0, sprᮃ A_1, bool A_2, bool A_3, sprᧂ A_4, int A_5)
 {
     if (A_2)
     {
         smethod_5(A_0, A_1, A_3);
         return(false);
     }
     return(smethod_4(A_0, A_1, A_3, A_4, A_5));
 }
예제 #8
0
    private float method_0(sprᧂ A_0)
    {
        this.method_2();
        A_0.ᜀ(this);
        float num = this.float_0;

        this.method_2();
        return(num);
    }
예제 #9
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ᲆ);
    }
예제 #10
0
    private static sprᲆ smethod_1(Class672 A_0, GraphicsPath A_1, SizeF A_2)
    {
        sprᧂ rᧂ = new sprᧂ();

        PointF[] tfArray = new PointF[] { PointF.Empty, new PointF(A_2.Width, 0f) };
        rᧂ.ᜁ(new spr៧(tfArray));
        sprᧂ rᧂ2 = new sprᧂ();

        PointF[] tfArray2 = new PointF[] { new PointF(0f, A_2.Height), new PointF(A_2.Width, A_2.Height) };
        rᧂ2.ᜁ(new spr៧(tfArray2));
        return(smethod_7(A_1, rᧂ, rᧂ2, true, A_2.Height, SizeF.Empty));
    }
예제 #11
0
 private static void smethod_2(spr៧ A_0, sprᧂ A_1, int A_2, ArrayList A_3, sprᮃ A_4, bool A_5)
 {
     A_3.AddRange(A_0.ᜀ());
     if (A_4 != null)
     {
         smethod_3(A_0, A_4, true, A_5, A_1, A_2);
     }
     else if ((A_1.() != 1) && A_1.ᜁ())
     {
         smethod_3(A_0, A_1.ᜀ(A_1.() - 1), true, A_1.ᜀ(A_1.() - 1) is spr៧, A_1, A_2);
     }
 }
예제 #12
0
    internal void method_0(sprᧂ A_0)
    {
        this.sprᧂ_0 = new sprᧂ();
        this.method_5().ᜀ(A_0.ᜁ());
        this.method_17(A_0.ᜁ());
        this.method_7().ᜁ(this.method_5());
        this.sprᮃ_0   = null;
        this.object_0 = null;
        this.spr៧_0   = null;
        this.bool_0   = false;
        this.method_20(0);
        ArrayList list = smethod_0(A_0);

        this.bool_4 = spr⃸.ᜀ(list);
    }
예제 #13
0
    private static sprᲆ smethod_1(float A_0, sprᲆ A_1, sprᲆ A_2)
    {
        sprᲆ rᲆ = Class1023.smethod_0(Class675.smethod_1(A_1, A_0 * 0.5f));

        for (int i = 0; i < rᲆ.(); i++)
        {
            if (i == (rᲆ.() - 1))
            {
                sprᧂ rᧂ  = rᲆ.ᜀ(i);
                sprᧂ rᧂ2 = A_2.ᜀ(0);
                for (int j = 0; j < rᧂ.(); j++)
                {
                    rᧂ2.ᜀ(j, rᧂ.ᜀ(j));
                }
            }
예제 #14
0
    private static sprᲆ smethod_7(GraphicsPath A_0, sprᧂ A_1, sprᧂ A_2, bool A_3, float A_4, SizeF A_5)
    {
        float left;
        float top;
        float width;
        float height;

        if (A_3)
        {
            RectangleF bounds = A_0.GetBounds();
            left   = bounds.Left;
            top    = bounds.Top;
            width  = bounds.Width;
            height = bounds.Height;
        }
        else
        {
            left   = 0f;
            top    = 0f;
            width  = A_5.Width;
            height = A_4;
        }
        PointF[] pathPoints = A_0.PathPoints;
        Class550 class2     = new Class550();

        for (int i = 0; i < pathPoints.Length; i++)
        {
            PointF tf4   = pathPoints[i];
            float  num9  = tf4.X - left;
            float  num10 = tf4.Y - top;
            float  num5  = num9 / width;
            float  num7  = num10 / height;
            if (num5 > 1f)
            {
                num5 = 1f;
            }
            if (num7 > 1f)
            {
                num7 = 1f;
            }
            PointF tf   = class2.method_1(A_1, num5);
            PointF tf2  = class2.method_1(A_2, num5);
            float  num6 = Class550.smethod_1(tf, tf2);
            pathPoints[i] = Class550.smethod_0(tf, tf2, num6 * num7);
        }
        return(smethod_8(pathPoints, A_0.PathTypes));
    }
예제 #15
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ᲆ);
    }
예제 #16
0
    private static sprᧂ smethod_4(PointF A_0, float A_1, float A_2, bool A_3)
    {
        float num  = A_2;
        sprᧂ  rᧂ   = new sprᧂ();
        int   num2 = ((int)(A_1 / num)) + 2;

        float[] numArray = new float[num2 * 2];
        numArray[0] = A_0.X;
        numArray[1] = A_0.Y;
        if (A_3)
        {
            for (int i = 0; i < (num2 - 1); i++)
            {
                numArray[(i * 2) + 2] = (A_0.X + (i * num)) + (num / 2f);
                if (sprḆ.ᜀ((long)i))
                {
                    numArray[(i * 2) + 3] = A_0.Y + (num / 2f);
                }
                else
                {
                    numArray[(i * 2) + 3] = A_0.Y - (num / 2f);
                }
            }
        }
        else
        {
            for (int j = 0; j < (num2 - 1); j++)
            {
                if (sprḆ.ᜀ((long)j))
                {
                    numArray[(j * 2) + 2] = A_0.X + (num / 2f);
                }
                else
                {
                    numArray[(j * 2) + 2] = A_0.X - (num / 2f);
                }
                numArray[(j * 2) + 3] = (A_0.Y + (j * num)) + (num / 2f);
            }
        }
        spr៧ spr = new spr៧(numArray);

        rᧂ.ᜁ(spr);
        return(rᧂ);
    }
예제 #17
0
    private static bool smethod_1(sprᡉ A_0, sprᧂ A_1, int A_2, ArrayList A_3, sprᮃ A_4, bool A_5)
    {
        bool flag = false;

        A_3.Add(A_0.ᜀ().ᜂ());
        A_3.Add(A_0.ᜀ().ᜀ());
        if (A_4 != null)
        {
            if (smethod_3(A_0, A_4, false, A_5, A_1, A_2))
            {
                flag = true;
            }
            return(flag);
        }
        if (((A_1.() != 1) && A_1.ᜁ()) && smethod_3(A_0, A_1.ᜀ(A_1.() - 1), false, A_1.ᜀ(A_1.() - 1) is spr៧, A_1, A_2))
        {
            flag = true;
        }
        return(flag);
    }
예제 #18
0
    private static bool smethod_4(sprᮃ A_0, sprᮃ A_1, bool A_2, sprᧂ A_3, int A_4)
    {
        sprᡉ rᡉ = A_0;

        if (A_2)
        {
            smethod_6(A_1, rᡉ.ᜀ().ᜂ());
        }
        else
        {
            sprᡉ rᡉ2 = A_1;
            if (!spr⃸.ᜀ(rᡉ2.ᜀ().ᜀ(), rᡉ.ᜀ().ᜂ(), 0.1f))
            {
                PointF[] tfArray = new PointF[] { rᡉ2.ᜀ().ᜀ(), rᡉ.ᜀ().ᜂ() };
                spr៧     spr     = new spr៧(tfArray);
                A_3.ᜀ(A_4, spr);
                return(true);
            }
        }
        return(false);
    }
예제 #19
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ᧂ);
            }
        }
    }
예제 #20
0
 public override void vmethod_6(sprᧂ A_0)
 {
     this.class780_0.ᜁ(A_0);
 }
예제 #21
0
 public override void vmethod_1(sprᧂ A_0)
 {
     this.graphicsPath_0.StartFigure();
 }
예제 #22
0
 public override void vmethod_0(sprᧂ A_0)
 {
     this.sprᧂ_0 = new sprᧂ();
     this.sprᧂ_0.ᜀ(A_0.ᜁ());
     this.sprᲆ_0.ᜁ(this.sprᧂ_0);
 }
예제 #23
0
 private void method_1()
 {
     this.sprᧂ_0 = new sprᧂ();
     this.sprᧂ_0.ᜀ(false);
     this.method_16().ᜁ(this.sprᧂ_0);
 }
예제 #24
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ᲆ);
    }
예제 #25
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ᲆ);
    }