private void method_3(Class826 A_0) { switch (A_0.method_20()) { case ShapeLineStyle.Single: { float[] numArray = new float[2]; numArray[1] = 1f; this.spr⚪_0.ᜀ(numArray); return; } case ShapeLineStyle.Double: this.spr⚪_0.ᜀ(new float[] { 0f, 0.3333333f, 0.6666667f, 1f }); return; case ShapeLineStyle.ThickThin: this.spr⚪_0.ᜀ(new float[] { 0f, 0.6f, 0.8f, 1f }); return; case ShapeLineStyle.ThinThick: this.spr⚪_0.ᜀ(new float[] { 0f, 0.2f, 0.4f, 1f }); return; case ShapeLineStyle.Triple: this.spr⚪_0.ᜀ(new float[] { 0f, 0.1666667f, 0.3333333f, 0.6666667f, 0.8333333f, 1f }); return; } }
private void method_4(Class826 A_0) { switch (A_0.method_14()) { case LineDashing.Solid: this.spr⚪_0.ᜀ(DashStyle.Solid); return; case LineDashing.Dash: this.spr⚪_0.ᜀ(DashStyle.Dash); return; case LineDashing.Dot: this.spr⚪_0.ᜀ(DashStyle.Dot); return; case LineDashing.DashDot: this.spr⚪_0.ᜀ(DashStyle.DashDot); return; case LineDashing.DashDotDot: this.spr⚪_0.ᜀ(DashStyle.DashDotDot); return; case LineDashing.DotGEL: this.spr⚪_0.ᜁ(new float[] { 1f, 3f }); return; case LineDashing.DashGEL: this.spr⚪_0.ᜁ(new float[] { 4f, 3f }); return; case LineDashing.LongDashGEL: this.spr⚪_0.ᜁ(new float[] { 8f, 3f }); return; case LineDashing.DashDotGEL: this.spr⚪_0.ᜁ(new float[] { 4f, 3f, 1f, 3f }); return; case LineDashing.LongDashDotGEL: this.spr⚪_0.ᜁ(new float[] { 8f, 3f, 1f, 3f }); return; case LineDashing.LongDashDotDotGEL: this.spr⚪_0.ᜁ(new float[] { 8f, 3f, 1f, 3f, 1f, 3f }); return; } }
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); } }
private static PointF[] smethod_1(Class724 A_0, spr➓ A_1) { RectangleF ef; if (A_0.method_3().ShapeType == ShapeType.Group) { ef = smethod_2(A_1); PointF[] tfArray = spr.ᜀ(smethod_3(A_0)); smethod_4(A_0, tfArray); ef = (ef == RectangleF.Empty) ? smethod_3(A_0) : spr.ᜀ(ef, spr.ᜁ(tfArray)); return(spr.ᜀ(ef)); } ef = smethod_3(A_0); ShapeObject obj2 = (ShapeObject)A_0.method_3(); float left = ef.Left; float top = ef.Top; float right = ef.Right; float bottom = ef.Bottom; float num5 = 0f; float num6 = 0f; float num7 = 0f; float num8 = 0f; Class826 stroke = obj2.Stroke; bool flag = Class1022.smethod_1(obj2); if (stroke.method_0()) { num5 = (float)stroke.method_2(); num6 = num5; num7 = num5; num8 = num5; } float num9 = flag ? 1f : 0.5f; left -= num7 * num9; top -= num5 * num9; right += num8 * num9; bottom += num6 * num9; return(new PointF[] { new PointF(left, top), new PointF(right, top), new PointF(right, bottom), new PointF(left, bottom) }); }