Exemplo n.º 1
0
 internal uint GetColor(RoundBorderElement e) {
     switch (e) {
         case RoundBorderElement.Inner:
             return inner_color;
         case RoundBorderElement.Outer:
             return outer_color;
         case RoundBorderElement.Light:
             return light_color;
         case RoundBorderElement.LightLight:
             return lightlight_color;
     }
     Debug.Assert(false, "should not reach here");
     return 0;
 }
Exemplo n.º 2
0
            internal uint GetColor(RoundBorderElement e)
            {
                switch (e)
                {
                case RoundBorderElement.Inner:
                    return(inner_color);

                case RoundBorderElement.Outer:
                    return(outer_color);

                case RoundBorderElement.Light:
                    return(light_color);

                case RoundBorderElement.LightLight:
                    return(lightlight_color);
                }
                Debug.Assert(false, "should not reach here");
                return(0);
            }