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().ᜂ(); } }
public void method_11(string A_0, sprᝪ A_1, Color A_2, PointF A_3, SizeF A_4, spr➂ A_5, StringFormat A_6) { this.method_0().ᜁ(); spr⚢ r⚢ = new spr⚢(A_1, sprⓚ.ᜀ(A_2), sprⓚ.ទ, new PointF(0f, 0f), A_0, A_4, 0f); if ((A_1.ᜂ() & FontStyle.Underline) != FontStyle.Regular) { r⚢. = 1; } if (spr➂.ᜀ(null, A_5)) { this.method_0().().ᜏ().ᜀ(A_5.ᜐ(), A_5.ᜓ(), A_5.᜕(), A_5.(), A_5.(), A_5.()); } this.method_0().().ᜏ().ᜀ(A_3.X, A_3.Y - r⚢.ᜄ().Y); this.method_0().ᜀ(r⚢); this.method_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(); } }