internal void method_0(DxfModel model) { if ((this.elementType_0 & DxfLineType.ElementType.IsShape) != DxfLineType.ElementType.None) { if (this.TextStyle == null) { return; } ShxFile shxFile = this.TextStyle.GetShxFile(); if (shxFile == null) { return; } ShxShape shapeByIndex = shxFile.GetShapeByIndex((ushort)this.short_0); if (shapeByIndex == null) { return; } WW.Math.Point2D endPoint; this.fillableShape2D_0 = new FillableShape2D(shapeByIndex.GetGlyphShape(this.TextStyle.IsVertical, out endPoint), false); } else { if ((this.elementType_0 & DxfLineType.ElementType.IsText) == DxfLineType.ElementType.None || this.TextStyle == null) { return; } Class425 class425 = Class594.smethod_10(this.string_0, 1.0, this.TextStyle.ObliqueAngle, this.TextStyle.WidthFactor, this.TextStyle, Colors.White); List <Class908> class908List = new List <Class908>(); class425.imethod_3((ICollection <Class908>)class908List, Matrix4D.Identity, (short)0); GeneralShape2D generalShape2D = new GeneralShape2D(); bool filled = false; foreach (Class908 class908 in class908List) { generalShape2D.Append(class908.FontPath, false); if (class908.Font.Filled) { filled = true; } } if (!generalShape2D.HasSegments) { return; } generalShape2D.ShrinkWrap(); this.fillableShape2D_0 = new FillableShape2D((IShape2D) new CachedBoundsShape2D((IShape2D)generalShape2D), filled); } }
internal Class426(BinaryReader A_0) { int num = 8; MemoryStream stream = new MemoryStream(); Class567.smethod_8(A_0.BaseStream, stream); Class394 class2 = new Class394(stream); string str = class2.method_1(); while (class2.method_9(str)) { string str2 = class2.method_1(); if (str2 == null) { goto Label_00DB; } if (str2 != BookmarkStart.b("䔭唯䬱瀳圵䰷嬹", num)) { if (!(str2 == BookmarkStart.b("䨭儯䘱唳缵嘷丹夻夽㈿⭁ぃ㽅", num))) { if (!(str2 == BookmarkStart.b("䔭唯䬱焳堵嬷䠹䔻丽㐿ⵁ㙃㕅", num)) && !(str2 == BookmarkStart.b("䔭唯䬱焳堵嬷䠹䔻丽㐿ⵁ㙃", num))) { if (!(str2 == BookmarkStart.b("䬭帯儱䘳伵䠷丹夻娽ି❁㵃", num))) { goto Label_00DB; } this.class425_0 = new Class425(class2); } } else { this.method_11(class2); } } else { this.method_10(class2); } } return; Label_00DB: throw new InvalidOperationException(BookmarkStart.b("笭帯失娳夵伷吹᰻䨽ℿ╁摃⡅⥇❉⥋恍", num)); }
public abstract void Visit(Class425 c);
public override void Visit(Class425 c) { }