Ejemplo n.º 1
0
 public void CopyFrom(FaceStyle from, CloneContext cloneContext)
 {
     this.faceLightingModel_0   = from.faceLightingModel_0;
     this.faceLightingQuality_0 = from.faceLightingQuality_0;
     this.faceColorMode_0       = from.faceColorMode_0;
     this.faceModifierFlags_0   = from.faceModifierFlags_0;
     this.double_0 = from.double_0;
     this.double_1 = from.double_1;
     this.color_0  = from.color_0;
     this.color_1  = from.color_1;
 }
Ejemplo n.º 2
0
 internal void Read(Class434 or, DxfVisualStyle.Class486 pr)
 {
     if (or.Version < DxfVersion.Dxf24)
     {
         this.faceLightingModel_0   = (FaceLightingModel)pr.vmethod_3();
         this.faceLightingQuality_0 = (FaceLightingQuality)pr.vmethod_3();
         this.faceColorMode_0       = (FaceColorMode)pr.vmethod_3();
         this.double_0            = pr.vmethod_4();
         this.double_1            = pr.vmethod_4();
         this.color_1             = pr.vmethod_5();
         this.faceModifierFlags_0 = (FaceModifierFlags)pr.vmethod_3();
     }
     else
     {
         this.faceLightingModel_0   = (FaceLightingModel)pr.vmethod_3();
         this.faceLightingQuality_0 = (FaceLightingQuality)pr.vmethod_3();
         this.faceColorMode_0       = (FaceColorMode)pr.vmethod_3();
         this.faceModifierFlags_0   = (FaceModifierFlags)pr.vmethod_3();
         this.double_0 = pr.vmethod_4();
         this.double_1 = pr.vmethod_4();
         this.color_1  = pr.vmethod_5();
     }
 }