Example #1
0
    internal static spr➂ smethod_9(ShapeBase A_0, SizeF A_1, bool A_2)
    {
        int   coordOriginX    = A_0.CoordOriginX;
        int   coordOriginY    = A_0.CoordOriginY;
        int   coordSizeWidth  = A_0.CoordSizeWidth;
        int   coordSizeHeight = A_0.CoordSizeHeight;
        float num5            = coordSizeWidth * 0.5f;
        float num6            = coordSizeHeight * 0.5f;

        if (A_1.IsEmpty)
        {
            A_1 = A_0.Size;
        }
        float num7 = A_1.Width / ((float)coordSizeWidth);
        float num8 = A_1.Height / ((float)coordSizeHeight);

        if (A_2)
        {
            num7 = A_1.Height / ((float)coordSizeHeight);
            num8 = A_1.Width / ((float)coordSizeWidth);
        }
        spr➂ r➂ = new spr➂();

        r➂.ᜀ((float)-coordOriginX, (float)-coordOriginY, MatrixOrder.Append);
        r➂.ᜀ(-num5, -num6, MatrixOrder.Append);
        switch (A_0.FlipOrientation)
        {
        case FlipOrientation.Horizontal:
            r➂.ᜁ(-1f, 1f, MatrixOrder.Append);
            break;

        case FlipOrientation.Vertical:
            r➂.ᜁ(1f, -1f, MatrixOrder.Append);
            break;

        case FlipOrientation.Both:
            r➂.ᜁ(-1f, -1f, MatrixOrder.Append);
            break;
        }
        r➂.ᜁ(num7, num8, MatrixOrder.Append);
        r➂.ᜀ((float)A_0.Rotation, MatrixOrder.Append);
        r➂.ᜀ(num5 * num7, num6 * num8, MatrixOrder.Append);
        if (!A_0.IsTopLevel)
        {
            r➂.ᜀ((float)A_0.Left, (float)A_0.Top, MatrixOrder.Append);
        }
        return(r➂);
    }
Example #2
0
    private void method_12(Class195 A_0, Stream A_1)
    {
        this.method_9(A_0);
        int  count = A_0.method_0().Count;
        int  num3  = (count > 90) ? 3 : ((count > 60) ? 5 : ((count > 30) ? 10 : count));
        sprᵑ rᵑ    = this.method_10(A_0.method_35().BuiltinDocumentProperties);
        sprᵕ rᵕ    = this.method_8(rᵑ);

        for (int i = 0; i < count; i++)
        {
            using (MemoryStream stream = new MemoryStream())
            {
                A_0.method_60(i, 1, ImageType.Metafile, stream, false, false, GraphicsUnit.Point);
                spr⇬ r⇬ = new spr⇬(stream);
                spr᧷ r᧷ = new spr᧷();
                r᧷.ᜀ(A_0.method_34().method_0()[i].method_2());
                spr➓ r➓ = new spr⠀(r⇬, r᧷).ᜀ(this.method_0()[i].PageSize, true);
                spr⠃ r⠃ = new spr⠃(this.method_0()[i].PageSize.Width, this.method_0()[i].PageSize.Height);
                r⠃.ᜁ(r➓);
                rᵕ.ᜀ(r⠃);
                A_0.method_34().method_0()[i].method_0().Dispose();
                A_0.method_34().method_0()[i].method_1(null);
            }
            if ((i % num3) == 0)
            {
                GC.Collect();
            }
        }
        A_0.method_51();
        rᵕ.ᜄ();
        rᵕ.ᜁ().ᜀ(A_1);
    }
Example #3
0
    private spr➓ method_14()
    {
        spr➓ r➓ = new spr➓();

        r➓.ᜁ(new sprἣ(new PointF(this.rectangleF_0.Left, this.rectangleF_0.Top), new SizeF(this.rectangleF_0.Width, this.rectangleF_0.Height), this.byte_0));
        return(r➓);
    }
Example #4
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().᜙();
        }
    }
Example #5
0
    private void method_13(int A_0, sprᵕ A_1)
    {
        int       num   = 14;
        PageSetup setup = this.method_0()[A_0];

        using (MemoryStream stream = new MemoryStream())
        {
            using (Image image = this.method_14(setup, stream))
            {
                using (Graphics graphics = Graphics.FromImage(image))
                {
                    graphics.PageUnit = GraphicsUnit.Point;
                    graphics.DrawString(BookmarkStart.b("朳䘵儷䠹夻ḽпⵁ❃桅", num), new Font(BookmarkStart.b("怳張唷弹伻ḽ฿❁㍃晅ᩇ╉⅋⽍㹏", num), 20f, FontStyle.Bold), Brushes.Red, new PointF(10f, 10f));
                    graphics.DrawString(BookmarkStart.b("爳䐵崷弹᰻䠽┿ぁ㝃⽅❇⑉汋ⵍ㽏㱑≓㍕⩗⹙㕛そݟ䉡፣॥ᩧ๩䱫੭Ὧᅱų᭵ᵷᑹࡻൽꁿꚅ킇憎ヒ꺍ﮑ뚙벛쾟힡蒣얥즧쒩貫솭\udeaf\udeb1춳隵\udfb7\udfb9좻麽뒿꫁ꇃ껇ꏉ뻋뷍꓏꣗믙믛믝샟跡苣웥냧髩鿫컭雯鯱飳鏵훷", num), new Font(BookmarkStart.b("怳張唷弹伻ḽ฿❁㍃晅ᩇ╉⅋⽍㹏", num), 16f, FontStyle.Regular), Brushes.Red, new PointF(10f, 30f));
                    graphics.DrawString(BookmarkStart.b("愳䘵強䠹崻娽┿扁ぃ⥅桇ॉ⍋⍍㵏㝑♓㕕ㅗ㭙せ繝╟١ൣብŧթɫ乭Ὧᑱ味╵ࡷ፹๻᭽깿욁ꢇ뚉揄꺓릕랗躟잡覣쾥쮧쾩캫슭얯ힱ骳햵ힷힹ鎻꺿뛁뛃꧅곇뿉꿋ꯍᅬꗑ믓ꓕ볗뫛뇝鋟쿡諣菥鳧쟩藫胭蓯胱鯳鋵跷駹駻탽棿瘁椃樅㘇␉", num), new Font(BookmarkStart.b("怳張唷弹伻ḽ฿❁㍃晅ᩇ╉⅋⽍㹏", num), 16f, FontStyle.Regular), Brushes.Red, new PointF(10f, 42f));
                }
                spr⇬ r⇬ = new spr⇬(stream);
                spr᧷ r᧷ = new spr᧷();
                spr➓ r➓ = new spr⠀(r⇬, r᧷).ᜀ(setup.PageSize, true);
                spr⠃ r⠃ = new spr⠃(setup.PageSize.Width, setup.PageSize.Height);
                r⠃.ᜁ(r➓);
                A_1.ᜀ(r⠃);
            }
        }
    }
Example #6
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 });
 }
Example #7
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);
    }
Example #8
0
 private void method_15(spr⚪ A_0)
 {
     float[] numArray = Class1031.smethod_2(this.method_41(), 1f);
     if (numArray != null)
     {
         A_0.ᜁ(numArray);
     }
 }
Example #9
0
    internal spr➂ method_3(spr❯ A_0, bool A_1, VMLFill A_2)
    {
        PointF[] tfArray2 = new PointF[] { PointF.Empty, new PointF((float)this.shapeObject_0.CoordSizeWidth, 0f), new PointF((float)this.shapeObject_0.CoordSizeWidth, (float)this.shapeObject_0.CoordSizeHeight), new PointF(0f, (float)this.shapeObject_0.CoordSizeHeight) };
        this.method_1(tfArray2, false);
        RectangleF ef     = smethod_6(tfArray2);
        float      x      = ef.X;
        float      y      = ef.Y;
        float      width  = ef.Width;
        float      height = ef.Height;

        if (this.shapeObject_0.IsTextureRotated)
        {
            RectangleF ef2 = this.shapeObject_0.method_47(new RectangleF(0f, 0f, this.sizeF_0.Width, this.sizeF_0.Height));
            width  = ef2.Width;
            height = ef2.Height;
        }
        RectangleF ef3 = new RectangleF(x, y, width, height);

        if (!A_2.Tiled)
        {
            this.method_6(ref ef3, A_2.Stretch);
        }
        else
        {
            this.method_4(ref ef3, A_2.Tile, A_0, ef);
        }
        x      = ef3.X;
        y      = ef3.Y;
        width  = ef3.Width;
        height = ef3.Height;
        float num6 = width / ((float)A_0.ᜑ().Width);
        float num5 = height / ((float)A_0.ᜑ().Height);

        if (A_1)
        {
            if (num6 > num5)
            {
                num5 = num6;
            }
            else
            {
                num6 = num5;
            }
        }
        spr➂ r➂ = new spr➂();

        r➂.ᜁ(num6, num5, MatrixOrder.Prepend);
        double num7 = this.float_2 + this.shapeObject_0.Rotation;

        if (this.shapeObject_0.IsTextureRotated && (num7 != 0.0))
        {
            x = tfArray2[0].X;
            y = tfArray2[0].Y;
            r➂.ᜀ((float)num7, MatrixOrder.Append);
        }
        r➂.ᜀ(x, y, MatrixOrder.Append);
        return(r➂);
    }
Example #10
0
    internal static spr➂ smethod_8(ShapeBase A_0, Class673 A_1)
    {
        float num7;
        float num8;
        int   coordOriginX = A_0.CoordOriginX;
        int   coordOriginY = A_0.CoordOriginY;
        float width        = (float)A_0.Width;
        float height       = (float)A_0.Height;
        float num5         = width * 0.5f;
        float num6         = height * 0.5f;
        spr➂  r➂           = new spr➂();

        r➂.ᜀ((float)-coordOriginX, (float)-coordOriginY, MatrixOrder.Append);
        r➂.ᜀ(-num5, -num6, MatrixOrder.Append);
        switch (A_0.FlipOrientation)
        {
        case FlipOrientation.Horizontal:
            r➂.ᜁ(-1f, 1f, MatrixOrder.Append);
            break;

        case FlipOrientation.Vertical:
            r➂.ᜁ(1f, -1f, MatrixOrder.Append);
            break;

        case FlipOrientation.Both:
            r➂.ᜁ(-1f, -1f, MatrixOrder.Append);
            break;
        }
        float num9 = ((float)A_0.Rotation) + A_1.method_3();

        r➂.ᜁ(A_1.method_1(), A_1.method_2(), MatrixOrder.Append);
        r➂.ᜀ(num9, MatrixOrder.Append);
        if (((Math.Abs((float)(num9 % 180f)) == 90f) && !A_0.IsInline) && !(A_0.ParentObject is ShapeGroup))
        {
            num7 = num6;
            num8 = num5;
        }
        else
        {
            num7 = num5;
            num8 = num6;
        }
        r➂.ᜀ(num7 * A_1.method_1(), num8 * A_1.method_2(), MatrixOrder.Append);
        return(r➂);
    }
Example #11
0
 private void method_0()
 {
     this.sprᲆ_0 = new sprᲆ();
     this.sprᲆ_0.ᜀ(this.method_18());
     this.sprᲆ_0.ᜀ(this.method_19());
     this.spr➓_0.ᜁ(this.sprᲆ_0);
 }
Example #12
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➓);
    }
Example #13
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);
 }
Example #14
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➓);
    }
Example #15
0
 public Class308(string A_0, float A_1, FontStyle A_2)
 {
     this.fontStyle_0 = A_2;
     this.float_0     = A_1;
     this.spr➎_0      = this.method_0().ᜀ(A_0, A_2, A_0);
     this.string_0    = A_0;
     this.bool_0      = this.spr➎_0.᜞();
     if (this.spr➎_0.ᜀ((float)this.spr➎_0.ᜆ(), A_1) < float.Epsilon)
     {
         this.float_1 = this.spr➎_0.ᜁ(A_1);
         this.float_2 = this.float_1 * 0.618f;
         this.float_3 = this.float_1 * 0.382f;
     }
Example #16
0
    private static void smethod_7(ShapeBase A_0, spr➂ A_1)
    {
        switch (A_0.FlipOrientation)
        {
        case FlipOrientation.None:
            break;

        case FlipOrientation.Horizontal:
            A_1.ᜁ(-1f, 1f, MatrixOrder.Append);
            return;

        case FlipOrientation.Vertical:
            A_1.ᜁ(1f, -1f, MatrixOrder.Append);
            break;

        case FlipOrientation.Both:
            A_1.ᜁ(-1f, -1f, MatrixOrder.Append);
            return;

        default:
            return;
        }
    }
Example #17
0
    private void method_8(float A_0, float A_1, float A_2, float A_3, float A_4, float A_5)
    {
        PointF[] tfArray2 = new PointF[] { new PointF(A_2, A_3) };
        spr➂     r➂       = new spr➂();

        r➂.ᜀ(-A_4, -A_5, MatrixOrder.Append);
        r➂.ᜁ(A_0, A_1, MatrixOrder.Append);
        if (!this.shapeObject_0.IsTopLevel)
        {
            r➂.ᜀ((float)this.shapeObject_0.Left, (float)this.shapeObject_0.Top, MatrixOrder.Append);
        }
        r➂.ᜀ(this.spr➂_0, MatrixOrder.Append);
        r➂.ᜀ((-A_2 * A_0) * this.float_0, (-A_3 * A_1) * this.float_1, MatrixOrder.Append);
        r➂.ᜀ(tfArray2);
        this.pointF_0 = tfArray2[0];
    }
Example #18
0
    private void method_7(bool A_0)
    {
        int   num6            = A_0 ? 0 : this.shapeObject_0.CoordOriginX;
        int   num9            = A_0 ? 0 : this.shapeObject_0.CoordOriginY;
        int   coordSizeWidth  = this.shapeObject_0.CoordSizeWidth;
        int   coordSizeHeight = this.shapeObject_0.CoordSizeHeight;
        float num8            = coordSizeWidth * 0.5f;
        float num4            = coordSizeHeight * 0.5f;
        float num3            = this.sizeF_0.Width / ((float)coordSizeWidth);
        float num2            = this.sizeF_0.Height / ((float)coordSizeHeight);
        float rotation        = (float)this.shapeObject_0.Rotation;

        if ((this.int_0 != 0) || (this.int_1 != 0))
        {
            if (num3 > num2)
            {
                this.limoStretchType_0 = LimoStretchType.AlongX;
                this.float_3           = coordSizeWidth * ((num3 / num2) - 1f);
                num8 += this.float_3 * 0.5f;
            }
            else
            {
                this.limoStretchType_0 = LimoStretchType.AlongY;
                this.float_3           = coordSizeHeight * ((num2 / num3) - 1f);
                num4 += this.float_3 * 0.5f;
            }
            float num5 = Math.Min(num3, num2);
            num3 = num5;
            num2 = num5;
        }
        this.method_8(num3, num2, num8, num4, (float)num6, (float)num9);
        this.spr➂_1 = new spr➂();
        this.spr➂_1.ᜀ((float)-num6, (float)-num9, MatrixOrder.Append);
        this.spr➂_1.ᜀ(-num8, -num4, MatrixOrder.Append);
        num3       *= this.float_0;
        num2       *= this.float_1;
        this.spr➂_2 = this.spr➂_1.ᜎ();
        this.spr➂_1.ᜁ(num3, num2, MatrixOrder.Append);
        this.spr➂_2.ᜁ(num3, num2, MatrixOrder.Append);
        this.spr➂_1.ᜀ(rotation, MatrixOrder.Append);
        smethod_7(this.shapeObject_0, this.spr➂_1);
        this.spr➂_1.ᜀ(this.float_2, MatrixOrder.Append);
        this.spr➂_1.ᜀ(num8 * num3, num4 * num2, MatrixOrder.Append);
        this.spr➂_2.ᜀ(num8 * num3, num4 * num2, MatrixOrder.Append);
    }
Example #19
0
    internal void method_1(bool A_0)
    {
        int num = 0;

        foreach (Class1121 class2 in this.method_2())
        {
            int length = class2.method_2().Length;
            if (A_0)
            {
                this.spr➓_0.ᜁ(class2.method_0());
            }
            for (int i = 0; i < length; i++)
            {
                this.spr➓_0.ᜀ(class2.method_0() + num, class2.method_2()[i]);
            }
            num += length - 1;
        }
    }
Example #20
0
 internal void method_1(Class672 A_0, spr➓ A_1)
 {
     if ((this.interface55_0 != null) && this.interface55_0.imethod_13(A_0.method_28()))
     {
         ShapeObject obj2 = A_0.method_28();
         float       num  = smethod_2(obj2);
         this.rectangleF_0 = smethod_0(A_0, num);
         float width = this.rectangleF_0.Width;
         spr➓  r➓    = this.method_4(A_0);
         if (r➓ != null)
         {
             r➓.ᜀ(this.method_6(num));
             Class551 class2 = this.method_2(obj2);
             r➓.ᜀ(sprᲆ.ᜂ(new RectangleF(-class2.method_0(), 0f, (class2.method_0() + class2.method_1()) + width, this.rectangleF_0.Height)));
             A_1.ᜁ(r➓);
         }
     }
 }
Example #21
0
 private void method_15(spr➓ A_0, ShapeObject A_1, Class673 A_2, Class1021 A_3)
 {
     if (A_1.HasImage)
     {
         spr➓ r➓ = new spr➓();
         r➓.ᜀ(Class316.smethod_8(A_1, A_2));
         DocPicture imageData = A_1.ImageData;
         byte[]     buffer    = smethod_3(A_1) ? smethod_4(A_1) : Class1022.smethod_5(imageData);
         sprἣ       sprἣ      = new sprἣ(PointF.Empty, this.class672_0.method_32(), buffer, new sprᤘ((double)imageData.CropFromLeft, (double)imageData.CropFromRight, (double)imageData.CropFromTop, (double)imageData.CropFromBottom), smethod_6(imageData));
         smethod_5(A_1, sprἣ);
         r➓.ᜁ(sprἣ);
         A_0.ᜁ(r➓);
         if (A_3 != null)
         {
             A_3.method_1(buffer, sprἣ.ᜂ());
         }
     }
 }
Example #22
0
    private void method_2()
    {
        Class826 stroke = this.shapeObject_0.Stroke;

        if (!stroke.method_0())
        {
            this.spr⚪_0 = null;
        }
        else
        {
            switch (stroke.method_12())
            {
            case LineFillType.Pattern:
            {
                spr᧢ r᧢2 = Class1075.smethod_2(stroke.method_36(), null, sprឦ.ᜀ(stroke.method_6()), sprឦ.ᜀ(stroke.method_10()));
                this.spr⚪_0 = new spr⚪(r᧢2);
                break;
            }

            case LineFillType.Texture:
            case LineFillType.Picture:
            {
                spr⍂ r⍂ = new spr⍂(stroke.method_36());
                this.spr⚪_0 = new spr⚪(r⍂);
                break;
            }

            default:
            {
                spr᧢ r᧢ = Class1075.smethod_1(sprⓚ.ᜀ(stroke.method_6()), stroke.method_34());
                this.spr⚪_0 = new spr⚪(r᧢);
                break;
            }
            }
            this.spr⚪_0.ᜀ(Class1022.smethod_2(stroke.method_16()));
            this.spr⚪_0.ᜂ(this.method_27());
            this.method_3(stroke);
            this.method_4(stroke);
            LineCap cap = Class1022.smethod_3(stroke.method_18());
            this.spr⚪_0.ᜀ(Class1022.smethod_4(stroke.method_18()));
            this.spr⚪_0.ᜀ(cap);
            this.spr⚪_0.ᜁ(cap);
        }
    }
Example #23
0
    public void method_5(Stream A_0)
    {
        int num = 0x12;

        if (A_0 == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("䬷丹主嬽ℿ⽁", num));
        }
        Class378 class2 = new Class378();
        SizeF    ef     = this.method_0();

        if ((ef == SizeF.Empty) && (this.spr➓_0.() == 0))
        {
            sprἣ sprἣ = new sprἣ(new PointF(0f, 0f), new SizeF(32f, 32f), sprḆ.ᜂ());
            this.spr➓_0.ᜁ(sprἣ);
            ef = sprἣ.();
        }
        Class377.smethod_0(this.spr➓_0, ef, A_0, ImageFormat.Emf, class2);
    }
Example #24
0
 private void method_30(object A_0, spr⌑ A_1)
 {
     if (this.method_3() != null)
     {
         Class195 class2 = this.method_3();
         sprᣍ     rᣍ     = A_1.ᜂ();
         A_1.ᜁ();
         int num   = A_1.ᜀ();
         int count = class2.method_34().method_0().Count;
         this.method_19(class2.method_34().method_0()[num].method_2(), rᣍ);
         this.method_21(class2.method_9(), rᣍ, count, num, false);
         if (this.method_1().CreateWordBookmarks)
         {
             this.method_23(class2.method_11(), rᣍ, count, num);
         }
         else
         {
             this.method_21(class2.method_9(), rᣍ, count, num, true);
         }
     }
 }
Example #25
0
 private void method_14(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 ((((rᲆ.ᜈ() is spr⡀) && (this.class672_0.method_28().Rotation != 0.0)) && (!this.class672_0.method_28().IsTextureRotated&& !this.class672_0.method_28().IsWordArt)) && !this.class672_0.method_28().IsImage)
             {
                 sprᨴ rᨴ = new sprᨴ();
                 ((spr⡀)rᲆ.ᜈ()).ᜀ(rᨴ.ᜁ(rᲆ));
             }
             sprᲆ rᲆ2 = A_2.method_0(rᲆ, false, true);
             A_0.ᜁ(rᲆ2);
             if (A_3 != null)
             {
                 A_3.method_0(rᲆ2);
             }
         }
     }
 }
Example #26
0
 private void method_12(spr⟯ A_0)
 {
     this.stack_2.Push(this.graphics_0.Save());
     if (spr▍.ᜁ(A_0))
     {
         this.stack_0.Push(this.graphics_0.Transform.Clone());
         using (Matrix matrix = spr⊷.ᜁ(A_0.ᜀ()))
         {
             if (!this.pointF_0.IsEmpty && this.graphics_0.Transform.IsIdentity)
             {
                 this.graphics_0.TranslateTransform(this.pointF_0.X, this.pointF_0.Y, MatrixOrder.Prepend);
             }
             this.graphics_0.MultiplyTransform(matrix, MatrixOrder.Prepend);
         }
     }
     if (spr▍.ᜀ(A_0))
     {
         this.stack_1.Push(this.graphics_0.Clip.Clone());
         A_0.ᜁ().ᜀ(this.class780_0);
         this.graphics_0.SetClip(this.class780_0.method_0(), CombineMode.Intersect);
     }
 }
Example #27
0
    private spr➓ method_26(PointF A_0, PointF A_1, float A_2, bool A_3)
    {
        Class1025 class2 = Class779.smethod_0((PageBorderArt)this.method_41());
        float     num    = A_3 ? (A_1.X - A_0.X) : (A_1.Y - A_0.Y);
        float     num4   = A_3 ? class2.method_1() : class2.method_2();

        num4 = this.method_27(num4, num, A_2, A_3);
        int   num3 = this.method_31(num, A_2, num4, A_3);
        float num5 = this.method_32(num, A_2, num4, A_3);
        float num7 = 0f;
        spr➓  r➓   = new spr➓();

        for (int i = 0; i < num3; i++)
        {
            PageBorderArtElementPosition position = this.method_28(i, num3, A_3);
            float width = this.method_29(A_2, num4, num5, position);
            SizeF ef    = A_3 ? new SizeF(width, A_2) : new SizeF(A_2, width);
            sprἣ  sprἣ  = new sprἣ(this.method_30(A_0, num7, A_2, A_3), ef, class2.method_4(this.method_36(), position));
            r➓.ᜁ(sprἣ);
            num7 += width;
        }
        return(r➓);
    }
Example #28
0
    private static Hashtable smethod_1()
    {
        int       num       = 7;
        Hashtable hashtable = new Hashtable();

        using (Stream stream = sprἊ.ᜂ(BookmarkStart.b("縬弮堰䄲倴ᤶ紸吺帼ᄾፀ♂㙄⡆㱈㥊⹌⩎≐絒Ք㙖㹘㹚὜ぞ፠ݢdᕦ⡨ᥪᥬ䅮㕰ᙲ፴Ṷ᝸ቺॼᙾꦆ", 7)))
        {
            spr⋓ r⋓ = new spr⋓(stream);
            while (r⋓.ᜁ(BookmarkStart.b("漬䀮䌰圲倴䔶砸䤺䤼笾⑀╂ⱄ⥆⁈㽊⑌⁎㽐⁒", num)))
            {
                Class1025 class2 = new Class1025(Convert.ToInt32(r⋓.ᜀ(BookmarkStart.b("䐬䬮", num), BookmarkStart.b(",Ḯ", num))), Convert.ToInt32(r⋓.ᜀ(BookmarkStart.b("丬䀮弰䜲䜴嘶娸伺吼倾⽀", num), BookmarkStart.b("ᴬ", num))), Convert.ToInt32(r⋓.ᜀ(BookmarkStart.b("䔬䨮䤰䌲吴夶䨸刺刼儾", num), BookmarkStart.b("ᴬ", num))), Convert.ToInt32(r⋓.ᜀ(BookmarkStart.b("嬬䨮䤰䌲吴夶䨸刺刼儾", num), BookmarkStart.b("ᴬ", num))));
                class2.method_3(BorderType.Top, PageBorderArtElementPosition.First, smethod_3(r⋓.ᜀ(BookmarkStart.b("夬䌮", num), "")));
                class2.method_3(BorderType.Top, PageBorderArtElementPosition.Middle, smethod_3(r⋓.ᜀ(BookmarkStart.b("夬", num), "")));
                class2.method_3(BorderType.Top, PageBorderArtElementPosition.Last, smethod_3(r⋓.ᜀ(BookmarkStart.b("夬崮", num), "")));
                class2.method_3(BorderType.Left, PageBorderArtElementPosition.Middle, smethod_3(r⋓.ᜀ(BookmarkStart.b("䄬", num), "")));
                class2.method_3(BorderType.Right, PageBorderArtElementPosition.Middle, smethod_3(r⋓.ᜀ(BookmarkStart.b("弬", num), "")));
                class2.method_3(BorderType.Bottom, PageBorderArtElementPosition.First, smethod_3(r⋓.ᜀ(BookmarkStart.b("伬䌮", num), "")));
                class2.method_3(BorderType.Bottom, PageBorderArtElementPosition.Middle, smethod_3(r⋓.ᜀ(BookmarkStart.b("伬", num), "")));
                class2.method_3(BorderType.Bottom, PageBorderArtElementPosition.Last, smethod_3(r⋓.ᜀ(BookmarkStart.b("伬崮", num), "")));
                hashtable.Add(class2.method_0(), class2);
            }
        }
        return(hashtable);
    }
Example #29
0
    internal static Class622 smethod_0(byte[] A_0, RectangleF A_1)
    {
        if (spr≨.ᜂ(A_0))
        {
            return(new Class622(new Class722(A_1)));
        }
        Class501 class3 = new Class501();
        Class622 class2 = class3.method_0(A_0);

        if (class2.method_8() == 0)
        {
            return(new Class622());
        }
        float num  = class3.float_0;
        float num2 = class3.float_1;

        if ((A_1.Width != num) || (A_1.Height != num2))
        {
            if ((num == 0f) || (num2 == 0f))
            {
                return(class2);
            }
            if (!(A_1 != RectangleF.Empty))
            {
                return(class2);
            }
            spr➂ r➂ = new spr➂();
            r➂.ᜁ(A_1.Width / num, A_1.Height / num2);
            r➂.ᜀ(A_1.X, A_1.Y);
            for (int i = 0; i < class2.method_8(); i++)
            {
                class2.method_9(i).method_13(r➂);
            }
        }
        return(class2);
    }
Example #30
0
 private static sprⓚ smethod_0(sprⓚ A_0, double A_1)
 {
     return(new sprⓚ((A_0.ᜁ() != 0xff) ? A_0.ᜁ() : ((int)(255.0 * A_1)), A_0));
 }