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᧢)); }
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➓); }
private void method_5() { VMLFill fill = this.method_20(); if (!fill.On) { this.spr᧢_0 = null; } else { if (this.shapeObject_0.IsTextureRotated) { double rotation = this.shapeObject_0.Rotation; } switch (fill.FillType) { case FillType.Pattern: this.spr᧢_0 = Class1075.smethod_2(fill.ImageBytes, this.class724_0.method_11(), sprⓚ.ᜀ(fill.ColorInternal), sprⓚ.ᜀ(fill.Color2Internal)); return; case FillType.Texture: this.spr᧢_0 = Class1075.smethod_15(fill, this.class724_0.method_11(), this.class316_0); return; case FillType.Picture: this.spr᧢_0 = Class1075.smethod_3(fill, this.class724_0.method_11(), this.class316_0); return; case FillType.Shade: case FillType.ShadeScale: case FillType.ShadeTitle: case FillType.ShadeUnscale: this.spr᧢_0 = Class1075.smethod_14(this.shapeObject_0, this.sizeF_1); return; case FillType.ShadeCenter: this.spr᧢_0 = Class1075.smethod_13(this.shapeObject_0, this.sizeF_1); return; case FillType.ShadeShape: this.spr᧢_0 = this.method_28().IsWordArt ? Class1075.smethod_13(this.shapeObject_0, this.sizeF_1) : Class1075.smethod_6(this.sprᲆ_0, fill, new PointF(this.sizeF_1.Width * 0.5f, this.sizeF_1.Height * 0.5f)); return; } this.spr᧢_0 = Class1075.smethod_1(sprⓚ.ᜀ(fill.ColorInternal), fill.Opacity); } }
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); } }