Beispiel #1
0
    private static Color smethod_2(Class678 A_0)
    {
        TextureStyle style = A_0.method_13();

        switch (style)
        {
        case TextureStyle.TextureNone:
        case TextureStyle.TextureNil:
            if (!A_0.method_7().IsEmpty&& (smethod_4(A_0.method_7()) <= 0.238f))
            {
                return(Color.White);
            }
            return(Color.Black);
        }
        if (!Class955.smethod_13(style))
        {
            float num  = (float)Class955.smethod_11(style);
            float num2 = smethod_4(smethod_1(A_0.method_11())) * num;
            float num3 = 1f - num;
            float num4 = smethod_4(smethod_0(A_0.method_7())) * num3;
            float num5 = num2 + num4;
            if (num5 <= 0.238f)
            {
                return(Color.White);
            }
        }
        return(Color.Black);
    }
Beispiel #2
0
        public IEnumerable <DxfAttributeDefinition> GetAttributeDefinitions()
        {
            Class678 class678 = new Class678();

            BasicEntityVisitor.Visit((IEnumerable <DxfEntity>) this.Entities, (IEntityVisitor)class678);
            return((IEnumerable <DxfAttributeDefinition>)class678.AttributeDefinitions);
        }
Beispiel #3
0
 internal bool method_1(Class678 A_0)
 {
     if (object.ReferenceEquals(null, A_0))
     {
         return(false);
     }
     return(object.ReferenceEquals(this, A_0) || (((((this.method_13() == A_0.method_13()) && (this.method_11() == A_0.method_11())) && ((this.method_7() == A_0.method_7()) && (this.method_15() == A_0.method_15()))) && (((this.method_17() == A_0.method_17()) && (this.method_19() == A_0.method_19())) && ((this.method_21() == A_0.method_21()) && (this.method_23() == A_0.method_23())))) && (this.method_25() == A_0.method_25())));
 }
Beispiel #4
0
    internal Color method_2(Color A_0)
    {
        if (!A_0.IsEmpty)
        {
            return(A_0);
        }
        Class678 class2 = (Class678)this.stack_0.Peek();

        if (class2 != null)
        {
            return(smethod_2(class2));
        }
        return(Color.Black);
    }
Beispiel #5
0
    private void method_3(Class678 A_0)
    {
        int num = 0;

        if (A_0 == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("唥娧䤩", num));
        }
        this.interface69_0 = A_0.interface69_0;
        smethod_0(new object[] { this.int_0 != A_0.int_0, PrId.Key, this.int_0 });
        this.int_0 = A_0.int_0;
        smethod_0(new object[] { this.textureStyle_0 != A_0.method_13(), PrId.Texture, this.textureStyle_0 });
        this.textureStyle_0 = A_0.method_13();
        smethod_0(new object[] { this.color_0 != A_0.method_11(), PrId.ForegroundPatternColor, this.color_0 });
        this.color_0 = A_0.method_11();
        smethod_0(new object[] { this.color_1 != A_0.method_7(), PrId.BackgroundPatternColor, this.color_1 });
        this.color_1  = A_0.method_7();
        this.string_0 = A_0.method_15();
        this.string_1 = A_0.method_17();
        this.string_2 = A_0.method_19();
        this.string_3 = A_0.method_21();
        this.string_4 = A_0.method_23();
        this.string_5 = A_0.method_25();
    }
Beispiel #6
0
 internal void method_7(Class678 A_0)
 {
     this.class73_0.method_0(A_0);
 }
Beispiel #7
0
 private static bool smethod_3(Class678 A_0)
 {
     return((A_0 != null) && A_0.method_27());
 }
Beispiel #8
0
 internal void method_0(Class678 A_0)
 {
     this.stack_0.Push(smethod_3(A_0) ? A_0 : this.stack_0.Peek());
 }