Пример #1
0
        public void Render(GimpPreview preview)
        {
            var image = GetImageFromGoogleCharts(preview.Size);

            preview.Redraw(image.ActiveDrawable);
            image.Delete();
        }
Пример #2
0
        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();
        }
Пример #3
0
        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();
        }
Пример #4
0
        override protected void UpdatePreview(GimpPreview preview)
        {
            var renderer = new Renderer(Variables);

            renderer.Render(preview);
        }
Пример #5
0
 protected override void UpdatePreview(GimpPreview preview)
 {
     var renderer = new Renderer(Variables);
       renderer.Render(preview as DrawablePreview);
 }
Пример #6
0
 public void Render(GimpPreview preview)
 {
     var image = GetImageFromGoogleCharts(preview.Size);
       preview.Redraw(image.ActiveDrawable);
       image.Delete();
 }