public static void CreateDrawables( IWireframeGraphicsFactory2 graphicsFactory, GraphicsConfig graphicsConfig, DxfModel model, DxfLayout layout, ICollection <DxfViewport> viewports) { if (layout.PaperSpace) { if (viewports == null) { viewports = (ICollection <DxfViewport>)layout.Viewports; } bool flag; if (flag = (layout.PlotLayoutFlags & PlotLayoutFlags.DrawViewportsFirst) != PlotLayoutFlags.None) { WireframeGraphicsFactory2Util.smethod_0(graphicsFactory, graphicsConfig, model, layout, (IEnumerable <DxfViewport>)viewports); } using (DrawContext.Wireframe.PaperToPaperSpace paperToPaperSpace = new DrawContext.Wireframe.PaperToPaperSpace(model, layout, graphicsConfig, Matrix4D.Identity)) layout.Draw((DrawContext.Wireframe)paperToPaperSpace, graphicsFactory); if (flag) { return; } WireframeGraphicsFactory2Util.smethod_0(graphicsFactory, graphicsConfig, model, layout, (IEnumerable <DxfViewport>)viewports); } else { WireframeGraphicsFactory2Util.CreateDrawables(graphicsFactory, graphicsConfig, model, Matrix4D.Identity); } }
public void CreateDrawables( DxfModel model, DxfLayout layout, ICollection <DxfViewport> viewports) { this.ClearDrawables(); WireframeGraphicsFactory2Util.CreateDrawables((IWireframeGraphicsFactory2) new WireframeGraphics2Cache.Class922(this), this.graphicsConfig_0, model, layout, viewports); }
public void AddDrawables( DxfModel model, IList <DxfEntity> modelSpaceEntities, IList <DxfEntity> paperSpaceEntities, DxfLayout layout, ICollection <DxfViewport> viewports) { WireframeGraphicsFactory2Util.CreateDrawables((IWireframeGraphicsFactory2) new WireframeGraphics2Cache.Class922(this), this.graphicsConfig_0, model, modelSpaceEntities, paperSpaceEntities, layout, viewports); this.method_0(); }
public void AddDrawables(DxfModel model, IList <DxfEntity> entities, Matrix4D modelTransform) { WireframeGraphicsFactory2Util.CreateDrawables((IWireframeGraphicsFactory2) new WireframeGraphics2Cache.Class922(this), this.graphicsConfig_0, model, entities, modelTransform); }
public void CreateDrawables(DxfModel model, Matrix4D modelTransform) { this.ClearDrawables(); WireframeGraphicsFactory2Util.CreateDrawables((IWireframeGraphicsFactory2) new WireframeGraphics2Cache.Class922(this), this.graphicsConfig_0, model, modelTransform); }