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