public void Render(GimpPreview preview) { var image = GetImageFromGoogleCharts(preview.Size); preview.Redraw(image.ActiveDrawable); image.Delete(); }
protected override void UpdatePreview(GimpPreview preview) { // Fix me: it's probably better to just create a new Drawable iso // a completely new image! var clone = new Image(_image); clone.Crop(preview.Bounds); var drawable = clone.ActiveDrawable; var renderer = new Renderer(Variables); renderer.Render(clone, drawable, null); preview.Redraw(drawable); clone.Delete(); }
override protected void UpdatePreview(GimpPreview preview) { // Fix me: it's probably better to just create a new Drawable iso // a completely new image! var clone = new Image(_image); clone.Crop(preview.Bounds); var drawable = clone.ActiveDrawable; var renderer = new Renderer(Variables); renderer.Render(clone, drawable, null); preview.Redraw(drawable); clone.Delete(); }
public void Render(GimpPreview preview) { var image = GetImageFromGoogleCharts(preview.Size); preview.Redraw(image.ActiveDrawable); image.Delete(); }