internal void method_6() { this.sprᲆ_0 = null; this.spr⚪_0 = null; this.object_0 = null; this.method_7(); }
internal void method_4(spr➂ A_0) { foreach (Class722 class2 in this.arrayList_0) { class2.method_13(A_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᧢)); }
public override void vmethod_0(spr➓ A_0) { Class505 class2 = new Class505(A_0, this.vmethod_4()); this.arrayList_0.Add(class2); this.class505_0 = class2; }
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ᲆ); }
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 }); }
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().(); } }
private Class673 method_1(DocumentObject A_0) { if (A_0.DocumentObjectType == DocumentObjectType.Shape) { return(this.method_1(A_0.ParentObject)); } ShapeGroup group = (A_0.DocumentObjectType == DocumentObjectType.ShapeGroup) ? ((ShapeGroup)A_0) : null; if (group == null) { return(Class673.smethod_0()); } DocumentObject parentObject = group.ParentObject; Class673 class2 = Class673.smethod_0(); if ((parentObject != null) && (parentObject.DocumentObjectType == DocumentObjectType.ShapeGroup)) { class2 = this.method_1(parentObject); } SizeF size = group.Size; spr➂ r➂ = Class316.smethod_9(group, size, false); r➂.ᜀ(class2.method_0(), MatrixOrder.Append); Class316.smethod_9(group, size, true).ᜀ(class2.method_0(), MatrixOrder.Append); SizeF ef2 = Class316.smethod_0(group, class2.method_1(), class2.method_2()); float width = ef2.Width; float height = ef2.Height; float num3 = (size.Width / ((float)group.CoordSizeWidth)) * width; float num4 = (size.Height / ((float)group.CoordSizeHeight)) * height; return(new Class673(r➂, num3, num4, ((float)group.Rotation) + class2.method_3())); }
internal Class673(spr➂ A_0, float A_1, float A_2, float A_3) { this.spr➂_0 = A_0; this.float_0 = A_1; this.float_1 = A_2; this.float_2 = A_3; }
public void method_14(PointF A_0, spr➓ A_1) { this.method_0().ᜁ(); this.method_0().().ᜏ().ᜀ(A_0.X, A_0.Y); this.method_0().ᜀ(A_1); this.method_0().ᜂ(); }
internal static spr➓ smethod_0(Class672 A_0) { WordArt wordArt = A_0.method_28().WordArt; spr➓ r➓ = new spr➓(); if (sprḆ.(wordArt.Text)) { string str = Class955.smethod_7(wordArt.Text); spr⚪ r⚪ = A_0.method_18(); spr⡅ r⡅2 = A_0.method_19() as spr⡅; spr⡅ r⡅ = (r⚪ == null) ? null : (r⚪.() as spr⡅); SizeF sizeInPoints = A_0.method_28().SizeInPoints; float width = sizeInPoints.Width; float height = sizeInPoints.Height; float rotation = (float)A_0.method_28().Rotation; int num7 = smethod_1(wordArt.Bold, wordArt.Italic, wordArt.Underline); sprᝪ rᝪ = spr᮵.ᜂ().ᜀ(wordArt.FontFamily, height, (FontStyle)num7, wordArt.FontFamily); PointF tf = new PointF(0f, rᝪ.ᜑ() - (rᝪ.ᜏ() - rᝪ.ᜃ())); sprⓚ rⓚ2 = ((r⡅2 == null) || sprⓚ.ᜁ(r⡅2.ᜀ(), null)) ? sprⓚ.ទ : r⡅2.ᜀ(); sprⓚ rⓚ = ((r⡅ == null) || sprⓚ.ᜁ(r⡅.ᜀ(), null)) ? sprⓚ.ទ : r⡅.ᜀ(); spr⚢ r⚢ = new spr⚢(rᝪ, rⓚ2, rⓚ, tf, str, SizeF.Empty, (float)wordArt.Spacing); SizeF ef = rᝪ.ᜃ(str); float num2 = width / ef.Width; r⚢.ᜀ(new spr➂(num2, 0f, 0f, 1f, 0f, 0f)); if (rotation != 0f) { float x = width * 0.5f; float y = height * 0.5f; r⚢.ᜃ().ᜀ(rotation, new PointF(x, y), MatrixOrder.Append); } r➓.ᜁ(r⚢); } return(r➓); }
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➓); }
private spr➓ method_13() { spr➓ r➓ = new spr➓(); r➓.ᜀ(this.method_15()); return(r➓); }
private RectangleF method_11() { spr➓ r➓ = this.method_12(); sprᨴ rᨴ = new sprᨴ(); return(rᨴ.ᜁ(r➓)); }
private void method_29(Class195 A_0, Stream A_1) { sprḷ sprḷ = new sprḷ { ᜀ = new sprḷ.ᜀ(this, (IntPtr)this.method_28) }; sprḷ.ᜂ(this.int_0); this.method_17(A_0.method_35().BuiltinDocumentProperties, sprḷ); spr r = new spr(A_1, sprḷ); r.ᜁ(new sprᡈ(this, (IntPtr)this.method_30)); r.ᜀ(); this.method_15(A_0); int count = A_0.method_0().Count; int num4 = (count > 90) ? 3 : ((count > 60) ? 5 : ((count > 30) ? 10 : count)); List <spr⠃> list = new List <spr⠃>(); for (int i = 0; i < count; i++) { list.Add(A_0.method_63(i, 1)[i]); } for (int j = 0; j < list.Count; j++) { spr⠃ r⠃ = list[j]; r.ᜀ(r⠃); if ((j % num4) == 0) { GC.Collect(); } } r.ᜄ(); A_1.Flush(); A_0.method_51(); }
private void method_12(Class724 A_0, Class673 A_1, Class69 A_2, bool A_3) { spr➓ r➓ = A_2.method_1(); ShapeObject obj2 = (ShapeObject)A_0.method_3(); if (this.class672_0.method_10() != null) { Class1024 class2 = new Class1024(); int num = this.class672_0.method_10().(); if (obj2.HorizontalRule.method_0()) { spr➓ r➓2 = new spr➓(); r➓.ᜁ(r➓2); r➓ = r➓2; smethod_2(obj2.HorizontalRule.method_6(), A_0.method_4().Width, A_0.method_1(), r➓2); } PointF[] tfArray = this.method_13(obj2); Class1021 class3 = (tfArray == null) ? ((A_3 || A_0.method_14()) ? new Class1021(base.sprℭ_0) : null) : null; this.method_14(r➓, num, class2, class3); this.method_15(r➓, obj2, A_1, class3); this.method_16(r➓, num, class2, class3); A_2.method_3((tfArray != null) ? new Class722(tfArray, true) : ((class3 != null) ? class3.method_4() : null)); } this.class315_0.method_1(this.class672_0, r➓); if (((obj2.ParentObject != null) && (obj2.ParentObject.DocumentObjectType == DocumentObjectType.ShapeGroup)) && sprḆ.(obj2.HRef)) { r➓.ᜀ(new spr⠱(obj2.BoundsInPoints, obj2.HRef)); } }
internal void method_5(RectangleF A_0, sprⓚ A_1) { sprᲆ rᲆ = sprᲆ.ᜂ(A_0); rᲆ.ᜀ(new spr⚪(A_1)); this.method_4(rᲆ); }
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ᲆ); }
private spr➎ method_6() { try { if (this.byte_0 == null) { return(null); } byte[] buffer = null; if (this.embeddedFontFormat_0 == EmbeddedFontFormat.OpenType) { buffer = this.byte_0; } else if (this.embeddedFontFormat_0 == EmbeddedFontFormat.EmbeddedOpenType) { buffer = spr᩼.ᜂ(this.byte_0); } if (buffer == null) { return(null); } spr╞ r╞ = new spr╞(); return(r╞.ᜀ(buffer, null)); } catch (Exception) { return(null); } }
public void method_1(sprᮃ A_0, Graphics A_1, PointF A_2) { int num = 0x10; if (A_0 == null) { throw new ArgumentNullException(BookmarkStart.b("堵圷帹夻", num)); } if (A_1 == null) { throw new ArgumentNullException(BookmarkStart.b("儵䨷嬹䰻嘽⤿⅁㝃", num)); } GraphicsUnit pageUnit = A_1.PageUnit; A_1.PageUnit = GraphicsUnit.Point; float pageScale = A_1.PageScale; A_1.PageScale = 1f; this.graphics_0 = A_1; this.pointF_0 = A_2; using (this.spr⇄_0 = new spr⇄()) { A_0.ᜀ(this); } A_1.PageScale = pageScale; A_1.PageUnit = pageUnit; }
internal static spr᧢ smethod_14(ShapeObject A_0, SizeF A_1) { VMLFill fill = A_0.Fill; if (Class1022.smethod_0(A_1)) { return(null); } if (smethod_4(fill)) { return(smethod_1(sprⓚ.ᜀ(fill.ColorInternal), fill.Opacity)); } RectangleF ef = new RectangleF(0f, 0f, A_1.Width, A_1.Height); float num = -((float)fill.Angle) - 90f; float totalRotation = (float)A_0.TotalRotation; RectangleF empty = RectangleF.Empty; spr➂ r➂ = new spr➂(); if (A_0.IsTextureRotated) { r➂.ᜀ(totalRotation + num, spr.ᜁ(ef)); empty = spr.ᜁ(ef, -num); } else { r➂.ᜀ(num, spr.ᜁ(ef)); empty = spr.ᜁ(spr.ᜁ(ef, totalRotation), -num); } spr⡀ r⡀ = new spr⡀(empty); r⡀.ᜀ(r➂); smethod_7(fill, r⡀); return(r⡀); }
public void method_0(sprᮃ A_0, Graphics A_1) { int num = 1; if (A_0 == null) { throw new ArgumentNullException(BookmarkStart.b("䤦䘨伪䠬", num)); } if (A_1 == null) { throw new ArgumentNullException(BookmarkStart.b("䀦嬨䨪崬䜮堰倲䘴", num)); } GraphicsUnit pageUnit = A_1.PageUnit; A_1.PageUnit = GraphicsUnit.Point; float pageScale = A_1.PageScale; A_1.PageScale = 1f; this.graphics_0 = A_1; using (this.spr⇄_0 = new spr⇄()) { A_0.ᜀ(this); } A_1.PageScale = pageScale; A_1.PageUnit = pageUnit; }
public override void vmethod_0(spr⚢ A_0) { if (A_0.ᜒ().ᜑ() >= 0.1f) { this.method_12(A_0); PointF point = new PointF(A_0.ᜏ(), A_0.()); if (sprⓚ.ᜀ(A_0.(), sprⓚ.ទ)) { spr⡅ r⡅ = new spr⡅(A_0.()); using (Brush brush = spr⏓.ᜀ(r⡅)) { using (Font font2 = sprḊ.ᜀ(A_0.ᜒ(), this.spr⇄_0)) { this.graphics_0.DrawString(A_0.᜕(), font2, brush, point, stringFormat_0); } } } if (sprⓚ.ᜀ(A_0.ᜎ(), sprⓚ.ទ)) { GraphicsPath path = new GraphicsPath(); using (Font font = sprḊ.ᜀ(A_0.ᜒ(), this.spr⇄_0)) { path.AddString(A_0.᜕(), font.FontFamily, (int)font.Style, A_0.ᜒ().ᜑ(), point, stringFormat_0); } spr⚪ r⚪ = new spr⚪(A_0.ᜎ()); using (Pen pen = spr➮.ᜀ(r⚪)) { this.graphics_0.DrawPath(pen, path); } } this.method_13(A_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⠃); } } }
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); }
private static void smethod_3(sprᮃ A_0, spr⤿ A_1, Size A_2, Class378 A_3) { int num = 13; if (A_0 == null) { throw new ArgumentNullException(BookmarkStart.b("刲䔴䐶", num)); } if (A_1 == null) { throw new ArgumentNullException(BookmarkStart.b("吲匴伶", num)); } A_1.ᜅ(); if (A_3.method_9()) { A_1.ᜀ(); } if (A_3.method_11()) { A_1.ᜃ(); } A_1.ᜀ(A_3.method_13(), 0f, 0f, (float)A_2.Width, (float)A_2.Height); A_1.ᜀ(A_3.method_0()); new Class450().method_0(A_0, A_1.ᜆ()); }
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); }
private void method_4(ref RectangleF A_0, Struct37 A_1, spr❯ A_2, RectangleF A_3) { A_0.Width = (((float)A_2.ᜅ()) * A_1.float_0) / 100f; A_0.Height = (((float)A_2.ᜃ()) * A_1.float_1) / 100f; this.method_5(ref A_0, A_3, A_1.rectAlignment_0); A_0.X += A_1.float_2; A_0.Y += A_1.float_3; }
internal spr➓ method_1(PointF A_0) { spr➓ r➓ = new spr➓(); r➓.ᜀ(smethod_0(A_0)); this.method_0(r➓); return(r➓); }
internal void method_33(Graphics A_0, PointF A_1) { Class450 class2 = new Class450(); Class724 class3 = new Class724(this); spr➓ r➓ = Class220.smethod_0(class3, null); class2.method_1(r➓, A_0, A_1); }