protected void DrawInternal( DrawContext.Surface context, ISurfaceGraphicsFactory graphicsFactory, double startAngle, double endAngle) { graphicsFactory.SetColor(context.GetPlotColor((DxfEntity)this)); IList <WW.Math.Geometry.Polyline3D> polylines; IList <FlatShape4D> shapes; this.GetPolylines((DrawContext)context, context.GetTransformer().LineTypeScaler, startAngle, endAngle, out polylines, out shapes); if (this.Thickness != 0.0) { Class940.Extrude((DxfEntity)this, context, graphicsFactory, polylines, false, this.Thickness * this.ZAxis); } else { Class940.smethod_16((DxfEntity)this, context, graphicsFactory, polylines, false); } if (shapes == null) { return; } Class940.smethod_24((IPathDrawer) new Class473((DxfEntity)this, context, graphicsFactory), (IEnumerable <FlatShape4D>)shapes, this.Color.ToColor(), context.GetLineWeight((DxfEntity)this), this.Thickness); }
public override void DrawInternal( DrawContext.Surface context, ISurfaceGraphicsFactory graphicsFactory) { graphicsFactory.SetColor(context.GetPlotColor((DxfEntity)this)); IList <WW.Math.Geometry.Polyline3D> polylines; IList <FlatShape4D> shapes; this.GetPolylines((DrawContext)context, context.GetTransformer().LineTypeScaler, out polylines, out shapes); if (this.double_1 != 0.0) { Class940.Extrude((DxfEntity)this, context, graphicsFactory, polylines, false, this.double_1 * this.vector3D_0); } else { Class940.smethod_16((DxfEntity)this, context, graphicsFactory, polylines, false); } if (shapes == null) { return; } IPathDrawer pathDrawer = (IPathDrawer) new Class473((DxfEntity)this, context, graphicsFactory); foreach (FlatShape4D flatShape4D in (IEnumerable <FlatShape4D>)shapes) { pathDrawer.DrawPath(flatShape4D.FlatShape, flatShape4D.Transformation, this.Color.ToColor(), context.GetLineWeight((DxfEntity)this), flatShape4D.IsFilled, false, this.double_1); } }
public void Draw(WW.Math.Geometry.Polyline3D polygon) { this.isurfaceGraphicsFactory_0.SetColor(this.surface_0.GetPlotColor(this.dxfEntity_0)); IList <WW.Math.Geometry.Polyline3D> polylines = (IList <WW.Math.Geometry.Polyline3D>) new List <WW.Math.Geometry.Polyline3D>(1); polylines.Add(polygon); Class940.smethod_16(this.dxfEntity_0, this.surface_0, this.isurfaceGraphicsFactory_0, polylines, false); }
public override void DrawInternal( DrawContext.Surface context, ISurfaceGraphicsFactory graphicsFactory) { graphicsFactory.SetColor(context.GetPlotColor((DxfEntity)this)); IList <Polyline3D> polylines = this.GetPolylines(); Class940.smethod_16((DxfEntity)this, context, graphicsFactory, polylines, false); }
public override void DrawInternal( DrawContext.Surface context, ISurfaceGraphicsFactory graphicsFactory) { graphicsFactory.SetColor(context.GetPlotColor((DxfEntity)this)); IList <WW.Math.Geometry.Polyline3D> polylines; IList <FlatShape4D> shapes; this.GetPolylines((DrawContext)context, context.GetTransformer().LineTypeScaler, out polylines, out shapes); Class940.smethod_16((DxfEntity)this, context, graphicsFactory, polylines, false); if (shapes == null) { return; } Class940.smethod_24((IPathDrawer) new Class473((DxfEntity)this, context, graphicsFactory), (IEnumerable <FlatShape4D>)shapes, this.Color.ToColor(), context.GetLineWeight((DxfEntity)this), 0.0); }
public override void DrawInternal( DrawContext.Surface context, ISurfaceGraphicsFactory graphicsFactory) { WW.Math.Geometry.Polyline3D polyline3D = this.method_17(context); if (polyline3D.Count <= 0) { return; } graphicsFactory.SetColor(context.Config.BackColor); Class940.smethod_16((DxfEntity)this, context, graphicsFactory, (IList <WW.Math.Geometry.Polyline3D>) new WW.Math.Geometry.Polyline3D[1] { polyline3D }, true); if (!context.WipeoutVariables.DisplayFrame) { return; } graphicsFactory.SetColor(this.GetColor((DrawContext)context)); Class940.smethod_16((DxfEntity)this, context, graphicsFactory, (IList <WW.Math.Geometry.Polyline3D>) new WW.Math.Geometry.Polyline3D[1] { polyline3D }, false); }