コード例 #1
0
 public void CopyComplete(ISimpleWriteableBitmap bitmap)
 {
     CopyFlag = false;
     if (CancelFlag)
         return;
     _callback(bitmap);
 }
コード例 #2
0
 public void CopyComplete(ISimpleWriteableBitmap bitmap)
 {
     CopyFlag = false;
     if (CancelFlag)
     {
         return;
     }
     _callback(bitmap);
 }
コード例 #3
0
 public Mandelbrot(Limits limits, List<MvxColor> colorArray, ISimpleWriteableBitmap bitmap)
 {
     BASE_HEIGHT = bitmap.Height;
     BASE_WIDTH = bitmap.Width;
     _bitmap = bitmap;
     _xmax = limits.XMax;
     _xmin = limits.XMin;
     _ymax = limits.YMax;
     _ymin = limits.YMin;
     _colorArray = colorArray;
     SCALE_DOWN = 8;
     SCALE_UP = 8;
     FINISH_SCALE = 1;
     NextLevel();
 }
コード例 #4
0
 public Mandelbrot(Limits limits, List <MvxColor> colorArray, ISimpleWriteableBitmap bitmap)
 {
     BASE_HEIGHT  = bitmap.Height;
     BASE_WIDTH   = bitmap.Width;
     _bitmap      = bitmap;
     _xmax        = limits.XMax;
     _xmin        = limits.XMin;
     _ymax        = limits.YMax;
     _ymin        = limits.YMin;
     _colorArray  = colorArray;
     SCALE_DOWN   = 8;
     SCALE_UP     = 8;
     FINISH_SCALE = 1;
     NextLevel();
 }