Esempio n. 1
0
 internal void Read(Class434 or, DxfVisualStyle.Class486 pr)
 {
     if (or.Version < DxfVersion.Dxf24)
     {
         this.edgeModel_0         = (EdgeModel)pr.vmethod_3();
         this.edgeStyleFlags_0    = (EdgeStyleFlags)pr.vmethod_3();
         this.color_0             = pr.vmethod_5();
         this.color_1             = pr.vmethod_5();
         this.lineType_0          = (LineType)pr.vmethod_3();
         this.double_0            = pr.vmethod_4();
         this.edgeModifierFlags_0 = (EdgeModifierFlags)pr.vmethod_3();
         this.color_2             = pr.vmethod_5();
         this.double_1            = pr.vmethod_4();
         this.int_0                  = (int)pr.vmethod_2();
         this.int_1                  = (int)pr.vmethod_2();
         this.jitterAmount_0         = (JitterAmount)pr.vmethod_3();
         this.color_3                = pr.vmethod_5();
         this.int_2                  = (int)pr.vmethod_2();
         this.int_3                  = (int)pr.vmethod_1();
         this.int_4                  = (int)pr.vmethod_2();
         this.bool_0                 = pr.vmethod_0();
         this.edgeStyleApplication_0 = (EdgeStyleApplication)pr.vmethod_2();
         this.lineType_1             = (LineType)pr.vmethod_2();
     }
     else
     {
         this.edgeModel_0         = (EdgeModel)pr.vmethod_3();
         this.edgeStyleFlags_0    = (EdgeStyleFlags)pr.vmethod_3();
         this.color_0             = pr.vmethod_5();
         this.color_1             = pr.vmethod_5();
         this.lineType_0          = (LineType)pr.vmethod_3();
         this.lineType_1          = (LineType)pr.vmethod_3();
         this.double_0            = pr.vmethod_4();
         this.edgeModifierFlags_0 = (EdgeModifierFlags)pr.vmethod_3();
         this.color_2             = pr.vmethod_5();
         this.double_1            = pr.vmethod_4();
         this.int_0          = (int)(short)pr.vmethod_3();
         this.int_1          = (int)(short)pr.vmethod_3();
         this.jitterAmount_0 = (JitterAmount)pr.vmethod_3();
         this.color_3        = pr.vmethod_5();
         this.int_2          = (int)(short)pr.vmethod_3();
         this.int_3          = (int)(short)pr.vmethod_3();
         this.int_4          = (int)(short)pr.vmethod_3();
         this.bool_0         = pr.vmethod_0();
     }
 }
Esempio n. 2
0
 public void CopyFrom(EdgeStyle from, CloneContext cloneContext)
 {
     this.edgeModel_0         = from.edgeModel_0;
     this.edgeStyleFlags_0    = from.edgeStyleFlags_0;
     this.color_0             = from.color_0;
     this.color_1             = from.color_1;
     this.lineType_0          = from.lineType_0;
     this.lineType_1          = from.lineType_1;
     this.double_0            = from.double_0;
     this.edgeModifierFlags_0 = from.edgeModifierFlags_0;
     this.color_2             = from.color_2;
     this.double_1            = from.double_1;
     this.int_0                  = from.int_0;
     this.int_1                  = from.int_1;
     this.jitterAmount_0         = from.jitterAmount_0;
     this.color_3                = from.color_3;
     this.int_2                  = from.int_2;
     this.int_3                  = from.int_3;
     this.int_4                  = from.int_4;
     this.bool_0                 = from.bool_0;
     this.edgeStyleApplication_0 = from.edgeStyleApplication_0;
     this.wiggleAmount_0         = from.wiggleAmount_0;
 }