Files @ ae8f7007cb0e
Branch filter:

Location: seniordesign-ui/GMap.NET.WindowsForms/GMap.NET.WindowsForms/ColorMatrixs.cs

ethanzonca@CL-ENS241-08.cedarville.edu
Added licensing information

namespace GMap.NET.WindowsForms
{
   using System.Drawing.Imaging;

   public static class ColorMatrixs
   {
#if !PocketPC
      public static readonly ColorMatrix GrayScale = new ColorMatrix(new float[][] 
      {
         new float[] {.3f, .3f, .3f, 0, 0},
         new float[] {.59f, .59f, .59f, 0, 0},
         new float[] {.11f, .11f, .11f, 0, 0},
         new float[] {0, 0, 0, 1, 0},
         new float[] {0, 0, 0, 0, 1}
      });

      public static readonly ColorMatrix Negative = new ColorMatrix(new float[][]
      {
        new float[] {-1, 0, 0, 0, 0},
        new float[] {0, -1, 0, 0, 0},
        new float[] {0, 0, -1, 0, 0},
        new float[] {0, 0, 0, 1, 0},
        new float[] {1, 1, 1, 0, 1}
      });
#endif
   }
}