Пример #1
0
 public void UpdateDrawable()
 {
     if (IsReady)
     {
         InnerPicBox.Refresh();
     }
 }
Пример #2
0
 public void RefreshPixel()
 {
     if (IsReady)
     {
         Image = BitmapGenerate.Draw(SourceImage);
         InnerPicBox.Invalidate();
     }
 }
Пример #3
0
 public void FakeDrawPixel(Point p, Color c)
 {
     if (IsReady)
     {
         using (var g = InnerPicBox.CreateGraphics())
         {
             DrawPixel(p, c, g, false);
         }
     }
 }
Пример #4
0
 public void RefreshGrid()
 {
     if (IsReady && SourceImage.ShowGrid)
     {
         using (var g = Graphics.FromImage(Image))
         {
             BitmapGenerate.DrawGrid(SourceImage, g);
         }
         InnerPicBox.Invalidate();
     }
 }