Exemplo n.º 1
0
        public Kernel(FrameForm form)
        {
            mForm   = form;
            mScreen = mForm.GetPicBox();

            mDataBufferM  = new byte[DATALEN];
            mDataBufferA  = new byte[DATALEN];
            mDataBufferA2 = new byte[DATALEN];

            mBMPScreen = new Bitmap(640, 480, System.Drawing.Imaging.PixelFormat.Format24bppRgb);

            mColorPriamry   = Color.FromArgb(238, 30, 255);
            mColorSecondary = Color.FromArgb(56, 47, 238);
            mColorDiff      = Color.FromArgb(255, 216, 0);

            mScreen.Image = mBMPScreen;

            mNP = new NoiseProcessor(this);
            mMapCheckedPixels = new Dictionary <int, NPPoint>();
        }
Exemplo n.º 2
0
 public ClipView(FrameForm form)
 {
     InitializeComponent();
     mForm = form;
 }