Beispiel #1
0
 internal static int smethod_5(Word97Color A_0)
 {
     if (A_0 < int_0.Length)
     {
         return(int_0[(int)A_0]);
     }
     return(-16777216);
 }
Beispiel #2
0
    internal static Word97Color smethod_2(int A_0)
    {
        if (A_0 == -16777216)
        {
            return(Word97Color.Auto);
        }
        double      maxValue = double.MaxValue;
        Word97Color black    = Word97Color.Black;

        for (int i = 0; i < int_0.Length; i++)
        {
            double num2 = smethod_3(int_0[i], A_0);
            if (num2 <= maxValue)
            {
                black    = (Word97Color)i;
                maxValue = num2;
            }
        }
        return(black);
    }
Beispiel #3
0
 internal static Color smethod_1(Word97Color A_0)
 {
     return(smethod_7(smethod_5(A_0)));
 }