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