Ejemplo n.º 1
0
 protected Wireframe(
     DxfModel model,
     DxfLayout layout,
     GraphicsConfig config,
     IClippingTransformer initialTransformer)
     : base(model, layout, config)
 {
     this.clippingTransformerChain_0 = new ClippingTransformerChain();
     this.clippingTransformerChain_0.Push(initialTransformer);
 }
Ejemplo n.º 2
0
        public object Clone()
        {
            ClippingTransformerChain transformerChain = new ClippingTransformerChain();

            foreach (IClippingTransformer clippingTransformer in this.linkedList_0)
            {
                transformerChain.linkedList_0.AddLast((IClippingTransformer)clippingTransformer.Clone());
            }
            transformerChain.iclippingTransformer_0 = transformerChain.linkedList_0.Count == 1 ? transformerChain.linkedList_0.First.Value : (IClippingTransformer)null;
            transformerChain.matrix4D_0             = this.matrix4D_0;
            transformerChain.matrix3D_0             = this.matrix3D_0;
            transformerChain.ilineTypeScaler_0      = this.ilineTypeScaler_0;
            return((object)transformerChain);
        }
Ejemplo n.º 3
0
 protected override void CopyFrom(DrawContext from)
 {
     base.CopyFrom(from);
     this.clippingTransformerChain_0 = (ClippingTransformerChain)((DrawContext.Wireframe)from).clippingTransformerChain_0.Clone();
 }
Ejemplo n.º 4
0
 protected Wireframe(DrawContext.Wireframe from)
     : base((DrawContext)from)
 {
     this.clippingTransformerChain_0 = (ClippingTransformerChain)from.clippingTransformerChain_0.Clone();
 }