Example #1
0
        internal override void Read(Class434 or, Class259 ob)
        {
            base.Read(or, ob);
            Interface30 objectBitStream = or.ObjectBitStream;

            this.textHorizontalAlignment_0 = (TextHorizontalAlignment)objectBitStream.imethod_14();
            this.double_0  = objectBitStream.imethod_8();
            this.point2D_1 = objectBitStream.imethod_38();
            this.point2D_0 = objectBitStream.imethod_38();
        }
Example #2
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfTextObjectContextData objectContextData = (DxfTextObjectContextData)from;

            this.textHorizontalAlignment_0 = objectContextData.textHorizontalAlignment_0;
            this.double_0  = objectContextData.double_0;
            this.point2D_0 = objectContextData.point2D_0;
            this.point2D_1 = objectContextData.point2D_1;
        }
Example #3
0
 public DxfTextObjectContextData(DxfText text, DxfScale scale)
     : base(scale)
 {
     this.textHorizontalAlignment_0 = text.HorizontalAlignment;
     this.double_0    = text.Rotation;
     this.point2D_1.X = text.AlignmentPoint1.X;
     this.point2D_1.Y = text.AlignmentPoint1.Y;
     if (text.AlignmentPoint2.HasValue)
     {
         this.point2D_0.X = text.AlignmentPoint2.Value.X;
         this.point2D_0.Y = text.AlignmentPoint2.Value.Y;
     }
     else
     {
         this.point2D_0 = this.point2D_1;
     }
 }
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfDimensionObjectContextData objectContextData = (DxfDimensionObjectContextData)from;

            this.Block     = objectContextData.Block == null ? (DxfBlock)null : (DxfBlock)objectContextData.Block.Clone(cloneContext);
            this.bool_1    = objectContextData.bool_1;
            this.bool_2    = objectContextData.bool_2;
            this.bool_3    = objectContextData.bool_3;
            this.bool_4    = objectContextData.bool_4;
            this.bool_5    = objectContextData.bool_5;
            this.bool_6    = objectContextData.bool_6;
            this.bool_7    = objectContextData.bool_7;
            this.bool_8    = objectContextData.bool_8;
            this.point2D_0 = objectContextData.point2D_0;
            this.double_0  = objectContextData.double_0;
            this.short_1   = objectContextData.short_1;
            this.short_2   = objectContextData.short_2;
            this.enum33_0  = objectContextData.enum33_0;
        }
        internal override void Read(Class434 or, Class259 ob)
        {
            base.Read(or, ob);
            Interface30 objectBitStream = or.ObjectBitStream;

            this.point2D_0 = objectBitStream.imethod_38();
            this.bool_2    = objectBitStream.imethod_6();
            this.double_0  = objectBitStream.imethod_8();
            ((DxfDimensionObjectContextData.Class313)ob).BlockHandle = or.method_100();
            this.bool_1   = objectBitStream.imethod_6();
            this.bool_4   = objectBitStream.imethod_6();
            this.bool_3   = objectBitStream.imethod_6();
            this.short_1  = objectBitStream.imethod_6() ? (short)1 : (short)0;
            this.bool_5   = objectBitStream.imethod_6();
            this.short_2  = objectBitStream.imethod_6() ? (short)1 : (short)0;
            this.enum33_0 = (DxfDimensionObjectContextData.Enum33)objectBitStream.imethod_18();
            this.bool_6   = objectBitStream.imethod_6();
            this.bool_7   = objectBitStream.imethod_6();
            if (this.bool_6)
            {
                this.bool_7 = !this.bool_7;
            }
            this.bool_8 = objectBitStream.imethod_6();
        }
Example #6
0
 public GeoMeshPoint(WW.Math.Point2D source, WW.Math.Point2D destination)
 {
     this.point2D_0 = source;
     this.point2D_1 = destination;
 }
Example #7
0
 public void SetValue(WW.Math.Point2D value)
 {
     this.object_0 = (object)value;
     this.string_0 = (string)null;
 }
Example #8
0
 public void Add(WW.Math.Point2D vertex)
 {
     this.Add(new DxfVertex2D(vertex));
 }
Example #9
0
 public void Add(DxfValueFormat format, WW.Math.Point2D value)
 {
     this.Add(new DxfTableCellContent(format, value));
 }