private Class1108(Class764 A_0, SubDocumentType A_1) { this.class985_0 = new Class985(); this.class132_0 = new Class132(); this.class136_0 = new Class136(); this.class135_0 = new Class135(); this.class133_0 = new Class133(); this.class131_0 = new Class131(); this.class134_0 = new Class134(); this.class130_0 = new Class130(); this.class130_1 = new Class130(); this.class129_0 = new Class129(); this.stack_0 = new Stack(); this.class764_0 = A_0; this.subDocumentType_0 = A_1; this.class263_0 = new Class263(this.class764_0.method_43()); }
internal double Draw( DxfTolerance tolerance, IPathDrawer pathDrawer, Matrix4D preTransform, Color color, short lineWeight, double scale) { double effectiveTextHeight = DxfDimensionStyle.GetEffectiveTextHeight((IDimensionStyle)tolerance.DimensionStyleOverrides, scale); double num1 = tolerance.dxfDimensionStyleOverrides_0.TextHeight * scale; float num2 = (float)(num1 * 0.5); Class985 resultLayoutInfo = new Class985(); IList <Class908> class908List = Class666.smethod_0(this.string_0, effectiveTextHeight, tolerance.DimensionStyleOverrides.TextStyle, tolerance.DimensionStyleOverrides.TextStyle.WidthFactor, color, lineWeight, preTransform * Transformation4D.Translation((double)num2, 0.0, 0.0), resultLayoutInfo, Enum24.flag_3); float x = (float)resultLayoutInfo.Bounds.Corner2.X; float num3 = (float)(num1 * 2.0 * 0.5); Rectangle2D rectangle2D = new Rectangle2D(0.0, -(double)num3, (double)x + (double)num2 * 2.0, 2.0 * (double)num3 - (double)num3); pathDrawer.DrawPath((IShape2D)rectangle2D, preTransform, color, lineWeight, false, false, 0.0); foreach (Class908 class908 in (IEnumerable <Class908>)class908List) { class908.Draw(pathDrawer, Matrix4D.Identity, 0.0); } return((double)x + (double)num2 * 2.0); }