Esempio n. 1
0
 public override void vmethod_9(sprἣ A_0)
 {
     try
     {
         this.method_5(A_0);
     }
     catch
     {
         this.method_5(sprἣ.ᜀ(A_0));
     }
 }
Esempio n. 2
0
 public void method_16(Image A_0, RectangleF A_1, spr➂ A_2)
 {
     using (MemoryStream stream = new MemoryStream())
     {
         spr⊗.ᜀ(A_0, stream);
         this.method_0().ᜁ();
         if (spr➂.ᜀ(A_2, null))
         {
             this.method_0().᜜().ᜏ().ᜀ(A_2.ᜐ(), A_2.ᜓ(), A_2.᜕(), A_2.(), A_2.(), A_2.());
         }
         this.method_0().᜜().ᜏ().ᜀ(A_1.Location.X, A_1.Location.Y);
         sprἣ sprἣ = new sprἣ(new PointF(0f, 0f), A_1.Size, stream.ToArray());
         this.method_0().ᜀ(sprἣ);
         this.method_0().ᜂ();
     }
 }
Esempio n. 3
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ἣ.ᜂ());
         }
     }
 }
Esempio n. 4
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);
    }
Esempio n. 5
0
    private void method_5(sprἣ A_0)
    {
        Image image = Image.FromStream(new MemoryStream(A_0.()));

        if (image is Metafile)
        {
            image = this.method_9(image);
        }
        sprᤘ            rᤘ        = A_0.ᜄ();
        ImageAttributes imageAttr = null;

        if (A_0.ᜈ() != null)
        {
            imageAttr = new ImageAttributes();
            imageAttr.SetColorKey(A_0.ᜈ().ᜂ().(), A_0.ᜈ().ᜁ().());
        }
        GraphicsUnit pixel  = GraphicsUnit.Pixel;
        RectangleF   bounds = image.GetBounds(ref pixel);
        RectangleF   ef2    = A_0.ᜂ();

        PointF[] destPoints = new PointF[] { ef2.Location, new PointF(ef2.X + ef2.Width, ef2.Y), new PointF(ef2.X, ef2.Y + ef2.Height) };
        if (!sprᤘ.ᜀ(rᤘ))
        {
            bounds = rᤘ.ᜀ(bounds);
        }
        if (this.bool_0)
        {
            spr➂  r➂   = (A_0.᜙() as spr➓).ᜀ();
            float num  = ef2.Width * r➂.ᜐ();
            float num2 = ef2.Height * r➂.();
            image  = this.method_11(image, num, num2);
            bounds = new RectangleF(0f, 0f, (float)image.Width, (float)image.Height);
        }
        this.graphics_0.DrawImage(image, destPoints, bounds, pixel, imageAttr);
        if (image == null)
        {
            image.Dispose();
        }
    }
Esempio n. 6
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➓);
    }
Esempio n. 7
0
    public override void vmethod_3(sprἣ A_0)
    {
        Class622 class2 = smethod_2(A_0);

        this.method_0(class2);
    }
Esempio n. 8
0
 private static Class622 smethod_2(sprἣ A_0)
 {
     return(Class501.smethod_0(A_0.(), A_0.ᜂ()));
 }