Exemplo n.º 1
0
    internal static spr➓ smethod_0(Class672 A_0)
    {
        SizeF        ef2;
        WordArt      wordArt      = A_0.method_28().WordArt;
        spr➓         r➓           = A_0.method_10();
        spr⚪         r⚪           = A_0.method_18();
        spr᧢         r᧢           = A_0.method_19();
        SizeF        sizeInPoints = A_0.method_28().SizeInPoints;
        float        height       = sizeInPoints.Height;
        GraphicsPath path         = smethod_3(wordArt, height, out ef2);

        if (path.PointCount == 0)
        {
            return(null);
        }
        if ((r➓.() == 1) && wordArt.FitShape)
        {
            sprᲆ rᲆ = r➓.ᜀ(0);
            if (rᲆ.() == 2)
            {
                spr➓ r➓2;
                try
                {
                    r➓2 = smethod_2(smethod_7(path, (sprᧂ)rᲆ.ᜀ(0), (sprᧂ)rᲆ.ᜀ(1), wordArt.Trim, height, ef2), r⚪, r᧢);
                }
                catch (Exception8)
                {
                    goto Label_00B8;
                }
                return(r➓2);
            }
        }
Label_00B8:
        return(smethod_2(smethod_1(A_0, path, sizeInPoints), r⚪, r᧢));
    }
Exemplo n.º 2
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 });
 }
Exemplo n.º 3
0
    private sprᲆ method_1(sprᲆ A_0)
    {
        if (A_0.ᜀ() == null)
        {
            return(A_0);
        }
        sprᲆ rᲆ = this.class1024_0.method_0(A_0, false, false);

        rᲆ.ᜀ(new spr⚪(sprⓚ.));
        rᲆ.ᜀ().ᜂ(1f);
        bool  flag = (A_0.ᜈ() != null) || A_0.ᜄ();
        float num  = (A_0.ᜀ().ᜀ() == 0f) ? 0.75f : A_0.ᜀ().ᜀ();

        if (flag && (A_0.ᜀ().ᜀ() == 0f))
        {
            return(rᲆ);
        }
        sprᲆ rᲆ2 = Class675.smethod_1(rᲆ, -num * 0.5f);

        if (flag)
        {
            return(rᲆ2);
        }
        return(smethod_1(A_0.ᜀ().ᜀ(), rᲆ, rᲆ2));
    }
Exemplo n.º 4
0
 internal sprᲆ method_0(sprᲆ A_0, bool A_1, bool A_2)
 {
     this.sprᲆ_0 = new sprᲆ();
     A_0.ᜀ(this);
     this.sprᲆ_0.ᜀ(A_1 ? A_0.ᜀ() : null);
     this.sprᲆ_0.ᜀ(A_2 ? A_0.ᜈ() : null);
     return(this.sprᲆ_0);
 }
Exemplo n.º 5
0
    private static spr➓ smethod_2(sprᲆ A_0, spr⚪ A_1, spr᧢ A_2)
    {
        spr➓ r➓ = new spr➓();

        A_0.ᜀ(A_1);
        A_0.ᜀ(A_2);
        r➓.ᜁ(A_0);
        return(r➓);
    }
Exemplo n.º 6
0
 internal Class1123(sprᲆ A_0, Class888 A_1)
 {
     this.class888_0 = A_1;
     this.sprᲆ_0     = new sprᲆ();
     this.method_7().ᜀ(A_0.ᜀ().ᜈ());
     this.method_7().ᜀ().ᜀ(Class675.float_0);
     this.method_7().ᜀ().ᜂ((this.method_6().method_0() > 1f) ? this.method_6().method_0() : 1f);
     if (this.method_7().ᜀ().() != DashStyle.Solid)
     {
         this.method_7().ᜀ().ᜁ(smethod_7(A_0.ᜀ().(), A_0.ᜀ().ᜀ(), this.method_7().ᜀ().ᜀ()));
     }
 }
Exemplo n.º 7
0
    internal static sprᲆ smethod_1(PointF A_0, PointF A_1, spr⚪ A_2)
    {
        sprᲆ rᲆ = sprᲆ.ᜁ(A_0, A_1);

        rᲆ.ᜀ(A_2);
        return(rᲆ);
    }
Exemplo n.º 8
0
    internal void method_6(PointF[] A_0, sprⓚ A_1)
    {
        sprᲆ rᲆ = sprᲆ.ᜀ(A_0, true);

        rᲆ.ᜀ(new spr⚪(A_1));
        this.method_4(rᲆ);
    }
Exemplo n.º 9
0
    internal void method_5(RectangleF A_0, sprⓚ A_1)
    {
        sprᲆ rᲆ = sprᲆ.ᜂ(A_0);

        rᲆ.ᜀ(new spr⚪(A_1));
        this.method_4(rᲆ);
    }
Exemplo n.º 10
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);
    }
Exemplo n.º 11
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ᲆ);
    }
Exemplo n.º 12
0
 public override void vmethod_4(sprᲆ A_0)
 {
     this.class780_0.ᜂ(A_0);
     if (A_0.ᜈ() != null)
     {
         using (Brush brush = spr⏓.ᜀ(A_0.ᜈ()))
         {
             this.graphics_0.FillPath(brush, this.class780_0.method_0());
         }
     }
     if (A_0.ᜀ() != null)
     {
         using (Pen pen = spr➮.ᜀ(A_0.ᜀ()))
         {
             this.graphics_0.DrawPath(pen, this.class780_0.method_0());
         }
     }
     this.method_13(A_0);
 }
Exemplo n.º 13
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ᲆ);
    }
Exemplo n.º 14
0
 private Class622 method_3(sprᲆ A_0)
 {
     if (A_0.ᜀ() == null)
     {
         spr⍂ r⍂ = A_0.ᜈ() as spr⍂;
         if (r⍂ != null)
         {
             return(Class501.smethod_0(r⍂.ᜁ(), this.rectangleF_0));
         }
     }
     return(null);
 }
Exemplo n.º 15
0
    internal static spr➓ smethod_0(Class722 A_0)
    {
        spr➓ r➓ = new spr➓();

        if (A_0 != null)
        {
            sprᲆ rᲆ = sprᲆ.ᜀ(A_0.method_11(), true);
            rᲆ.ᜀ(new spr⚪(sprⓚ.᜶, 0.1f));
            r➓.ᜁ(rᲆ);
        }
        return(r➓);
    }
Exemplo n.º 16
0
    private static void smethod_7(sprᲆ A_0, PointF A_1, float A_2, float A_3, bool A_4)
    {
        RectangleF ef;

        if (A_4)
        {
            ef = new RectangleF(A_1.X, A_1.Y - (A_3 / 2f), A_2, A_3);
        }
        else
        {
            ef = new RectangleF(A_1.X - (A_3 / 2f), A_1.Y, A_3, A_2);
        }
        A_0.ᜀ(sprᲆ.ᜂ(ef));
    }
Exemplo n.º 17
0
 private void method_16(spr➓ A_0, int A_1, Class1024 A_2, Class1021 A_3)
 {
     for (int i = 0; i < A_1; i++)
     {
         sprᲆ rᲆ = this.class672_0.method_10().ᜀ(i);
         if (rᲆ.ᜀ() != null)
         {
             if (A_3 != null)
             {
                 A_3.method_2(rᲆ);
             }
             sprᲆ[] rᲆArray2 = Class825.smethod_0(rᲆ, this.class672_0.method_28().Stroke.method_37());
             if (rᲆArray2 != null)
             {
                 if (rᲆArray2[0].() > 0)
Exemplo n.º 18
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));
                }
            }
Exemplo n.º 19
0
 protected override sprᲆ[] vmethod_3(sprᲆ A_0)
 {
     return(Class825.smethod_0(A_0, (A_0.ᜀ() != null) ? A_0.ᜀ().() : null));
 }
Exemplo n.º 20
0
 private sprᲆ[] method_0(sprᲆ A_0)
 {
     if ((A_0.ᜀ() != null) && (A_0.ᜀ().ᜆ() != PenAlignment.Inset))
     {
         if ((((A_0.ᜀ().() != null) && (A_0.ᜀ().().Length != 0)) && (A_0.ᜀ().() != float_0)) && (((A_0.ᜀ().().Length != 2) || (A_0.ᜀ().()[0] != 0f)) || (A_0.ᜀ().()[1] != 1f)))
Exemplo n.º 21
0
    private sprᲆ method_24(PointF A_0, PointF A_1, int A_2, float[] A_3)
    {
        int   num  = 10;
        float num2 = A_3[A_2];
        sprᲆ  rᲆ   = null;

        switch (this.method_41())
        {
        case BorderStyle.Single:
        case BorderStyle.Thick:
        case BorderStyle.Double:
        case BorderStyle.Hairline:
        case BorderStyle.Dot:
        case BorderStyle.DashLargeGap:
        case BorderStyle.DotDash:
        case BorderStyle.DotDotDash:
        case BorderStyle.Triple:
        case BorderStyle.ThinThickSmallGap:
        case BorderStyle.ThickThinSmallGap:
        case BorderStyle.ThinThickThinSmallGap:
        case BorderStyle.ThinThickMediumGap:
        case BorderStyle.ThickThinMediumGap:
        case BorderStyle.ThinThickThinMediumGap:
        case BorderStyle.ThinThickLargeGap:
        case BorderStyle.ThickThinLargeGap:
        case BorderStyle.ThinThickThinLargeGap:
        case BorderStyle.DashSmallGap:
        case BorderStyle.Outset:
        case BorderStyle.Inset:
            rᲆ = Class449.smethod_0(A_0, A_1, num2, this.method_37());
            break;

        case BorderStyle.Wave:
            rᲆ = Class449.smethod_2(A_0, A_1, this.method_39(), this.method_37(), this.method_45());
            break;

        case BorderStyle.DoubleWave:
            rᲆ = Class449.smethod_3(A_0, A_1, this.method_39(), this.method_37(), this.method_45());
            break;

        case BorderStyle.DashDotStroker:
            rᲆ = Class449.smethod_5(A_0, A_1, this.method_39(), this.method_37(), this.method_45());
            break;

        case BorderStyle.Emboss3D:
            rᲆ = Class449.smethod_1(A_0, A_1, this.method_33(A_2, num2, false));
            break;

        case BorderStyle.Engrave3D:
            rᲆ = Class449.smethod_1(A_0, A_1, this.method_33(A_2, num2, true));
            break;
        }
        if (rᲆ == null)
        {
            throw new InvalidOperationException(BookmarkStart.b("支就弳堵圷䴹刻ḽ∿ⵁ㙃≅ⵇ㡉汋≍㥏㱑ㅓ癕⭗⹙╛㉝՟䱡", num));
        }
        if (A_3.Length == 1)
        {
            this.method_15(rᲆ.ᜀ());
        }
        return(rᲆ);
    }