コード例 #1
0
ファイル: DrawContext.cs プロジェクト: 15831944/WW
 protected Wireframe(
     DxfModel model,
     DxfLayout layout,
     GraphicsConfig config,
     IClippingTransformer initialTransformer)
     : base(model, layout, config)
 {
     this.clippingTransformerChain_0 = new ClippingTransformerChain();
     this.clippingTransformerChain_0.Push(initialTransformer);
 }
コード例 #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);
        }
コード例 #3
0
ファイル: DrawContext.cs プロジェクト: 15831944/WW
 protected override void CopyFrom(DrawContext from)
 {
     base.CopyFrom(from);
     this.clippingTransformerChain_0 = (ClippingTransformerChain)((DrawContext.Wireframe)from).clippingTransformerChain_0.Clone();
 }
コード例 #4
0
ファイル: DrawContext.cs プロジェクト: 15831944/WW
 protected Wireframe(DrawContext.Wireframe from)
     : base((DrawContext)from)
 {
     this.clippingTransformerChain_0 = (ClippingTransformerChain)from.clippingTransformerChain_0.Clone();
 }