Exemplo n.º 1
0
 internal void Read(Class434 or, DxfVisualStyle.Class486 pr)
 {
     if (or.Version < DxfVersion.Dxf24)
     {
         this.displayFlags_0 = (DisplayFlags)pr.vmethod_3();
         this.double_0       = (double)pr.vmethod_3();
         this.shadowType_0   = (ShadowType)pr.vmethod_3();
     }
     else
     {
         this.displayFlags_0 = (DisplayFlags)pr.vmethod_3();
         this.double_0       = pr.vmethod_4();
         this.shadowType_0   = (ShadowType)pr.vmethod_3();
     }
 }
Exemplo n.º 2
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();
     }
 }
Exemplo n.º 3
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();
     }
 }