public static Color ToDrawingColor(System.Windows.Media.Color mColor) { return Color.FromArgb(mColor.A, mColor.R, mColor.G, mColor.B); }